You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
** Which Category is your question related to? **
Analytics
** What AWS Services are you utilizing? **
Amazon Pinpoint
** Provide additional details e.g. code snippets **
In this question I asked about tracking with Amplify and got referred to Analytics. I'm currently teaching myself how to use these because I'm having trouble understanding the docs.
I'm using React. I have two questions. 1. Where am I supposed to add the code for the tracking? 2. Is there a way to identify which user created the event?
But this doesn't fully work. The route is being recorded, but not the user. Are you supposed to call autoTrack in componentDidMount() / useEffect? Because I tried adding it below my config outside of a Hook and that didn't even record any events. And do I have to track the user like I did under the attributes key? If yes, why could my tracking not be working? If no, how are you supposed to identify users? I'm using Amplify's Auth with Cognito User Pools.
The text was updated successfully, but these errors were encountered:
** Which Category is your question related to? **
Analytics
** What AWS Services are you utilizing? **
Amazon Pinpoint
** Provide additional details e.g. code snippets **
In this question
I asked about tracking with Amplify and got referred to Analytics. I'm currently teaching myself how to use these because I'm having trouble understanding the docs.
I'm using React. I have two questions. 1. Where am I supposed to add the code for the tracking? 2. Is there a way to identify which user created the event?
Here is what I'm currently trying:
But this doesn't fully work. The route is being recorded, but not the user. Are you supposed to call
autoTrack
incomponentDidMount()
/useEffect
? Because I tried adding it below myconfig
outside of a Hook and that didn't even record any events. And do I have to track the user like I did under theattributes
key? If yes, why could my tracking not be working? If no, how are you supposed to identify users? I'm using Amplify's Auth with Cognito User Pools.The text was updated successfully, but these errors were encountered: