Skip to content
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

How to replace unique identifier with user IP address? #2

Open
leminhyen2 opened this issue Jul 16, 2023 · 1 comment
Open

How to replace unique identifier with user IP address? #2

leminhyen2 opened this issue Jul 16, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@leminhyen2
Copy link

leminhyen2 commented Jul 16, 2023

Hey, I have been using this package on a desktop app and it accurately track user's location.
I tested it on a server but doing so will log only the location of the server not user's location.
Is there a way I can add user's ip address as a parameter so ga4 can track location accurately?
Like with universal analytics, there was "uip" parameter that did exactly that
Thanks

@danni-cool
Copy link
Owner

danni-cool commented Jul 16, 2023

thanks for your feedback. node-gta4 tracks location in the node environment by default, and it does easy to add 'uip' in reporting requests, I'll test that recently.

@danni-cool danni-cool added the enhancement New feature or request label Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants