-
Notifications
You must be signed in to change notification settings - Fork 158
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
scriptURL is not taken in consideration #200
Comments
I am the same. let currentOptions = {
id: options.id || null,
layer: options.layer || 'dataLayer',
env: {
gtm_auth: options.env && options.env.gtm_auth || null,
gtm_preview: options.env && options.env.gtm_preview || null,
gtm_cookies_win: options.env && options.env.gtm_cookies_win || 'x'
},
scriptURL: options.scriptURL || null
} ☝️ In this way we need to pass scriptURL to currentOptions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I'm not missing something the scriptURL from the options needs to be added also
See https://github.com/nuxt-community/modules/blob/8b451c1ae956ce04be6eb8a95bc98b29bc4a961b/packages/google-tag-manager/index.js#L7
The text was updated successfully, but these errors were encountered: