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

Convert Universal Analytics tracking code to Google Analytics 4 #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chabala
Copy link

@chabala chabala commented Mar 4, 2024

Google Analytics' Universal Analytics has been switched off, in favor of their new Google Analytics 4, which requires different tracking code.

While Primer allows customizing the tracker code by adding _includes/head-custom-google-analytics.html into each site's files, fixing this in the theme code will eliminate that need for most GitHub Pages users.

Remember that Primer is the default theme for GitHub Pages.

Copy link

welcome bot commented Mar 4, 2024

Welcome! Congrats on your first pull request to the Primer theme. If you haven't already, please be sure to check out the contributing guidelines.

chabala added a commit to chabala/chabala.github.io that referenced this pull request Mar 4, 2024
chabala added a commit to chabala/beanshell-examples that referenced this pull request Mar 4, 2024
@chabala
Copy link
Author

chabala commented Mar 8, 2024

@tsusdere

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

Successfully merging this pull request may close these issues.

None yet

1 participant