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

Add Google Analytics 4 Support (Issue #1152) #1183

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

sonnyarora
Copy link

Google announced that on July 1st, 2023 they will no longer process Universal Analytics data and users should transition to Google Analytics 4 by this point. Currently, the only way I'm aware of to add support for google analytics 4 in this repo is to modify the template in _includes/analytics-providers/custom.html.

As users may wish to have this feature supported in the _config.yml, (see Issue #1152, I added an extra analytics template and allowed the user to specify their analytics provider in _config.yml. I have not changed the default provider in _config.yml to google analytics 4. If you think that is appropriate at this time please feel free to add that.

Please let me know if you encounter any bugs. Additional comments are also welcome.

@ChunqiJIANG
Copy link

It finally worked!
Thanks.

ziyi-zhou pushed a commit to ziyi-zhou/ziyi-zhou.github.io that referenced this pull request May 8, 2023
Added new academic site

Signed-off-by: George Araújo <george.gcac@gmail.com>

Signed-off-by: George Araújo <george.gcac@gmail.com>
@rjzupkoii rjzupkoii self-assigned this Feb 14, 2024
@rjzupkoii rjzupkoii added the enhancement An enhancement. label Feb 14, 2024
@rjzupkoii rjzupkoii added this to the 2024 Refresh milestone Feb 14, 2024
@rjzupkoii rjzupkoii merged commit dfc3ce3 into academicpages:master Feb 14, 2024
Guancheng1 pushed a commit to Guancheng1/Guancheng1.github.io that referenced this pull request Nov 8, 2024
schanghydro pushed a commit to schanghydro/schanghydro.github.io that referenced this pull request Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants