-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to create Analytics identifyUser with EMAIL or SMS or Push notification channel #12721
Comments
@pascalito007, confirmed this is a feature we don't have in v6 out of the box. I'll label this as a feature request and will review it with our team internally! Thank you for creating this issue and just want to confirm the context here. It sounds like you're basically wanting to send an email when an event is recorded, right? |
Yes correct @cwomack I have a pinpoint journey which send EMAIL to EMAIL channel type segment and SMS to sms channel type segment. This is triggered previously in v5 when using updateEndpoint+Analytics event record. I want the same behavior with identifyUser from Analytics + Analytics Event record. |
Yeah this is stupid that it's not in v6.. I started a new project but am now considering switching back to v5 because this is a very important missing piece of the puzzle. Can we have an estimate? To give you some context. I use it for Journeys but also for marketing campaigns. I use it to send emails to inactive users or users who are on a specific subscription plan and user subscribed to product update newletters... So pretty much everything in Pinpoint I use to send email to the users in a specific segment (filtered on whether they want to receive newsletters) |
+1 We use email as our channel. It's crucial for us. Can't upgrade to v6 without it :/ |
This is also an issue when it comes to push notifications. We use Pinpoint for push notifications, but don't use Not exposing options such as If all This includes registering an android service with an intent-filter for the @cwomack since this was labelled as a feature-request, would you accept a PR that aligns the different |
Facing similar issue with v6
await identifyUser({
userId: email,
userProfile: {
name: (user?.given_name ?? userProfile?.givenName) as string,
email,
customProperties: {
organizationName: [staffSession.oName],
product: [PRODUCT],
},
},
options: {
userAttributes: {
role: [userProfile?.role as string],
},
},
});
record({
name: `${PRODUCT}_USER_SIGNIN`,
});
I was only able to trigger the event by using the following command:
Downgrading to v5, is also a pain. |
I migrated from this
to this
Now old version has method to update user token in pinpoint using
This will update token to pinpoint for notification. Now i am struggling to update token on pinpoint with latest version of aws-amplify. Can anyone has idea for this? i am struggling since 4 days. I am migrating to latest version and in old notification work properly but after updating aws-amplify to latest push notification is not working. rtn-push-notification with this i am able to get token. Also if from Aws console i add that token in Test Messaging then i am getting notification in device. Please help for this. |
Hi @HemangiVekaria looking at the code: PushNotification.updateEndpoint(token); By the token you meant the device token for registering Push Notification correct? With Amplify V6 you should not need a manual step for this. The library handles token registration automatically. You can review the Push Notification documentation for necessary steps. |
By default, it sends the token as 'undefined.' I tried the code below, and it successfully sends the token to Pinpoint. Now, I am receiving notifications. I don't know why the token is sent as 'undefined' by default.
|
Before opening, please confirm:
JavaScript Framework
React Native
Amplify APIs
Analytics
Amplify Categories
analytics
Environment information
Describe the bug
When using identifyUser from Analytics, I have no options for channel and optout. This is available in the In-App aws-amplify/in-app-messaging but not in @aws-amplify/analytics.
Before migrating to V6 it was working in V5.
Expected behavior
I should be able to specify channelType and optout in order to identify an analytics pinpoint user.
Reproduction steps
Code Snippet
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: