Skip to content

Updating Google Tag Setup to Align with the Current Standard#102

Open
dominikcebula wants to merge 1 commit intopages-themes:masterfrom
dominikcebula:master
Open

Updating Google Tag Setup to Align with the Current Standard#102
dominikcebula wants to merge 1 commit intopages-themes:masterfrom
dominikcebula:master

Conversation

@dominikcebula
Copy link
Copy Markdown

Updating Google Tag Setup to Align with the Current Standard.

The Google Tag setup in jekyll-theme-slate wasn’t working for me. When I visited the page, Google Analytics wasn’t recording any data.

To fix this, I updated the content of _includes/head-custom-google-analytics.html to match the latest implementation described under: https://developers.google.com/tag-platform/gtagjs#add_the_google_tag_to_your_website

After making this change, Google Analytics started working correctly.

Updating Google Tag Setup to Align with the Current Standard.

The Google Tag setup in jekyll-theme-slate wasn’t working for me. When I visited the page, Google Analytics wasn’t recording any data.

To fix this, I updated the content of _includes/head-custom-google-analytics.html to match the latest implementation described under:
https://developers.google.com/tag-platform/gtagjs#add_the_google_tag_to_your_website

After making this change, Google Analytics started working correctly.
@welcome
Copy link
Copy Markdown

welcome Bot commented Feb 27, 2025

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

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.

1 participant