Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

Is this compatible with G-XXXXXXX IDs? #2

Open
dreamflasher opened this issue Apr 12, 2021 · 2 comments
Open

Is this compatible with G-XXXXXXX IDs? #2

dreamflasher opened this issue Apr 12, 2021 · 2 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@dreamflasher
Copy link

I am new to GA, apparently there are now G/Global IDs and not the Universal IDs anymore, can I just insert the G ID in the pe-ua field?

@fsenart
Copy link
Contributor

fsenart commented Apr 13, 2021

Google Analytics 4 is very different from Universal Analytics. At the time of writing and as per the official documentation, the GA4 measurement protocol is an alpha API and subject to change. Furthermore, the current GA4 measurement API needs an api_secret and comes with different parameters than the UA measurement API. As such, the current version of the project shouldn't work with GA4.
We can reevaluate the situation once the GA4 API goes public. In the meantime, you have to create a UA ID along with your GA ID.

@fsenart fsenart added enhancement New feature or request question Further information is requested labels Apr 13, 2021
@dreamflasher
Copy link
Author

Thank you very much for the explanation, it works great for me with UA ID.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants