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

Setup Google Tag Manager #94

Merged
merged 2 commits into from
Apr 1, 2024
Merged

Setup Google Tag Manager #94

merged 2 commits into from
Apr 1, 2024

Conversation

JKarlavige
Copy link

@JKarlavige JKarlavige commented Mar 28, 2024

Adds the @docusaurus/plugin-google-tag-manager package and sets the GTM Container ID within the Docusaurus config.

A new GTM container for Handbook is created and GTM tag for Google Analytics setup as part of this Asana task. Verified data from this preview is now flowing into GA.

Preview

I have a tag created within GTM which has a console log. Verify the console log with the text: GTM Running is appearing in dev tools.

https://handbook-getdbt-com-git-setup-gtm-dbt-labs.vercel.app/

Notes

  • Docusaurus had to be updated to v3 to work with the Docusaurus GTM package. Verify nothing appears broken while clicking through the site.

TODO

  • Remove demo tag from GTM on go-live

Copy link

vercel bot commented Mar 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
handbook-getdbt-com 🔄 Building (Inspect) Visit Preview Mar 28, 2024 7:24pm

Copy link
Member

@breezyfasano breezyfasano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Confirmed the GTM Running message appears in Firefox and Chrome
  2. Verified the script is being pulled in via inspector tools
  3. Did a quick flip through of key pages to make sure nothing is broken

LGTM :shipit:

@JKarlavige JKarlavige merged commit 7416679 into main Apr 1, 2024
8 checks passed
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.

2 participants