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

Undefined window.dataLayer #42

Closed
msollmann opened this issue May 9, 2024 · 2 comments
Closed

Undefined window.dataLayer #42

msollmann opened this issue May 9, 2024 · 2 comments

Comments

@msollmann
Copy link

Until the user has given his consent for GTM the window.dataLayer in ConsentController.js line 111 ("window.dataLayer.push(tempObj);") is undefined. When I uncomment "window.dataLayer.push(tempObj);" in line 71, it works.

@romanliedtke
Copy link

@msollmann we found the error and will fix it.

@romanliedtke
Copy link

@msollmann we found the error and will fix it.

This is fixed in the new version.

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