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

Replace Google Universal Analytics with Google Analytics 4 #383

Open
fjchen7 opened this issue May 24, 2022 · 3 comments
Open

Replace Google Universal Analytics with Google Analytics 4 #383

fjchen7 opened this issue May 24, 2022 · 3 comments

Comments

@fjchen7
Copy link

fjchen7 commented May 24, 2022

Meme needs trackingID to track traffic in Google Analytics. Only Universal Analytics has tracingID (see here), and this product is going to stop collecting data starting July 1, 2023.

image

It is better to use Google Analytics 4 (which uses measure ID) for traffic tracking instead.

@fjchen7
Copy link
Author

fjchen7 commented May 24, 2022

PS: umami is another decent product for website analytics especially for individual site like personal blog.

@he-sb
Copy link

he-sb commented Oct 9, 2023

@jimzk Hi did you figured out how to enable Google Analytics 4 which use Google tag ID (G-xxxxxx) ?

@he-sb
Copy link

he-sb commented Oct 9, 2023

@jimzk Hi did you figured out how to enable Google Analytics 4 which use Google tag ID (G-xxxxxx) ?

I figured it out, simply config these two parameters would work:

trackingCodeType = "gtag"
trackingID = "G-xxxxxx"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants