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

initialise gtm without &gtm_auth=&gtm_preview=&gtm_cookies_win=x #124

Open
jjrdevspace01 opened this issue Aug 31, 2023 · 2 comments
Open

Comments

@jjrdevspace01
Copy link

We believe the params are causing issues. We need the ability to initialise GTM using just the base url

https://www.googletagmanager.com/gtm.js?id=GTM-XXXXX

rather than

https://www.googletagmanager.com/gtm.js?id=GTM-XXXXX&gtm_auth=&gtm_preview=&gtm_cookies_win=x

is this possible?

@daniel-bartylla
Copy link

It's possible but no changes have been merged to this repo for the last 3.5 years. So it's unlike that this adjustment will be provided.

If you want, you can switch to this NPM package (repo) here, which supports the function. It's almost the same as this one, so switching is quite easy.

@asieraduriz
Copy link

@jjrdevspace01 Were you able to solve your issue? I reached the same conclusion as you did that perhaps having empty parameters might be screwing up some analysis

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

3 participants