We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I was trying to add a default value on the dataLayer object through the plugin options like:
new GoogleTagManagerPlugin({ id: "..", auth: "..", preview: "..", dataLayerName: 'dataLayer', dataLayer: { propName: 'some value' } }),
And it gets printed on the DOM as html inside the body tag like:
<body> window.dataLayer=window.dataLayer||[];window.dataLayer.push({"propName":"Some value"}); <!-- Google Tag Manager --> .... </body>
Is there anything I'm doing wrong?
Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I was trying to add a default value on the dataLayer object through the plugin options like:
And it gets printed on the DOM as html inside the body tag like:
Is there anything I'm doing wrong?
Thanks!
The text was updated successfully, but these errors were encountered: