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

Fix Google Tag Manager (GTM) #8

Open
danieldanielecki opened this issue Feb 27, 2024 · 0 comments
Open

Fix Google Tag Manager (GTM) #8

danieldanielecki opened this issue Feb 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@danieldanielecki
Copy link
Contributor

danieldanielecki commented Feb 27, 2024

Along with Google Analytics & Hotjar.

Edit: currently undefined is being returned (https://www.googletagmanager.com/gtm.js?id=undefined in Page Source) whenever trying to pass any value to gtmId prop of GoogleTagManager component.
When trying from .env.local we can see the correct value of process.env.GTM_ID on the screen. Additionally, when trying to hardcode the value it still returns undefined after deployment.

@danieldanielecki danieldanielecki added the enhancement New feature or request label Feb 27, 2024
@danieldanielecki danieldanielecki changed the title Add Google Tag Manager (GTM) Fix Google Tag Manager (GTM) Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant