-
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
Location Not Capture for Amplify Analytics in Pinpoint in React Native #6190
Comments
The same happens for amplify within react (web). While all standard attributes are reported, location remains empty. |
@ohlr and @mynameisguy, how are you adding the location information, in the default config while configure Analytics https://docs.amplify.aws/lib/analytics/getting-started/q/platform/js#set-up-existing-analytics-backend or while updating the end point https://docs.amplify.aws/lib/analytics/getting-started/q/platform/js#update-endpoint Do you see the location information being present in the http request when seen in the developer console? If yes, are you seeing location data being absent in the pinpoint console? |
My setup:
Location is not in the request |
I'm not adding the location information manually. Should I? |
yes, the location is supposed to be provided by the user, either in the Code for reference: amplify-js/packages/analytics/src/Providers/AWSPinpointProvider.ts Lines 752 to 755 in a75e9c3
and what demographic information is provided by default by Amplify https://github.com/aws-amplify/amplify-js/tree/main/packages/core/src/ClientDevice |
@Amplifiyer Google Analytics as far as I know provides approximate user location based on ip address... I wonder why a paid service like pinpoint/amplify does not provide that |
Besides seeing this as a feature request I would also appreciate if the docs could be updated with respect to what is captured automatically and what not. |
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Describe the bug
When reporting events using Amplify Analytics Location is empty
To Reproduce
check any event reported from react-native using amplify analytics and check the location field.
Expected behavior
the location should be reported at least at a country level.
The text was updated successfully, but these errors were encountered: