-
Notifications
You must be signed in to change notification settings - Fork 508
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
[feat] Support Google Analytics 4 properties #1583
Conversation
Signed-off-by: Anik Dhabal Babu <adhabal2002@gmail.com>
Signed-off-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com>
Signed-off-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove package-lock.json
from PR
Signed-off-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com>
Signed-off-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com>
Signed-off-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com>
Signed-off-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com>
Signed-off-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. Did you test it with a real GA ID?
Yes, it is fine. |
can you include some screenshots? |
Okk I will share some result. |
Signed-off-by: Yuri Shkuro <github@ysh.us>
@anikdhabal this PR does not include any configuration changes, so the same GA ID config will be used. Will it work if someone has the old GA ID in their config, which is not GA4? |
No, it doesn't work for the old GA ID; it only works for GA4. I haven't found a straightforward way to support the old GA configuration. Let me do a bit more research about it or talk to the maintainer to include the configuration. |
Should we keep using both libraries and switch depending on the version of GA ID? Do you know what the timeline for Google to completely phase out old IDs? |
According to Google,
|
Yeah, then I think it's fine to drop support for UA, and only support GA4 |
Yeah it's fine. |
Signed-off-by: Anik Dhabal Babu <adhabal2002@gmail.com>
CI is still failing on this pr |
I am fixing it now. |
Fixed in #2071 |
Which problem is this PR solving?
Resolves #1332
Short description of the changes
Support Google Analytics 4 properties