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

How to add Google Analytics? #153

Closed
kobykotiv opened this issue Apr 20, 2024 · 1 comment
Closed

How to add Google Analytics? #153

kobykotiv opened this issue Apr 20, 2024 · 1 comment

Comments

@kobykotiv
Copy link

I'm trying to add Google Analytics like this. But i'm having issues.
image

When I inspect element I try to find the G-Tag object in the Network Tab like i'm supposed to. But it's not there.

@thomasKn
Copy link
Collaborator

Here is my recommendation:

  1. Implement Google Tag Manager via the Hydrogen Script component
  2. Set up Google Analytics from your GTM container
  3. Send events to GTM via the CustomAnalytics component

@thomasKn thomasKn closed this as completed Aug 3, 2024
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