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

dataSlayer panel not displaying dataLayer - only GA hits (acts as if there's no GTM on page) #42

Closed
CyBrian opened this issue Apr 30, 2018 · 1 comment
Assignees
Labels

Comments

@CyBrian
Copy link

CyBrian commented Apr 30, 2018

On the site I'm working on, the problem only occurs on the page with an iframe.
See attached screenshot

When opening the iframe directly, as the main page (only a top window - no iframe), dataSlayer displays normally, including GTM icon.

Both top and iframe load container "GTM-5*"
The iframe also loads a 2nd container "GTM-W*"
(The 2nd is a subset of the first and will be removed following some data QA)

dataLayer in top window

0:{gtm.start: 1525112388999, event: "gtm.js", gtm.uniqueEventId: 0}
1:{event: "CDsAssigned", GTMidVersion: "GTM-5* | 39", userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWeb…L, like Gecko) Chrome/66.0.3359.139 Safari/537.36", gtm.uniqueEventId: 4}
2:{event: "gtm.dom", gtm.uniqueEventId: 8}
3:{event: "ScrollDistance", eventCategory: "Scroll Depth", eventAction: "Percentage", eventLabel: "Baseline", eventValue: 1, …}
4:{event: "gtm.load", gtm.uniqueEventId: 10}
etc....

dataLayer in iframe

0:{gtm.start: 1525112389934, event: "gtm.js", gtm.uniqueEventId: 0}
1:{gtm.start: 1525112389935, event: "gtm.js", gtm.uniqueEventId: 1}
2:{event: "gtm.dom", gtm.uniqueEventId: 2}
3:{event: "ScrollDistance", eventCategory: "Scroll Depth", eventAction: "Percentage", eventLabel: "Baseline", eventValue: 1, …}
4:{event: "CDsAssigned", GTMidVersion: "GTM-5* | 39", userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWeb…L, like Gecko) Chrome/66.0.3359.139 Safari/537.36", gtm.uniqueEventId: 7}
5:{event: "ScrollDistance", eventCategory: "Scroll Depth", eventAction: "Percentage", eventLabel: "Baseline", eventValue: 1, …}
6:{event: "gtm.load", gtm.uniqueEventId: 11}
etc....
dataslayerdlreportingproblem

@CyBrian
Copy link
Author

CyBrian commented Apr 30, 2018

Hi Sean
I read through other open issues to anticipate questions and confirm seeing no errors in dataSlayer's console
Thanks
Brian

@sean-adams sean-adams self-assigned this Jun 1, 2018
@sean-adams sean-adams added the bug label Feb 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants