Check explainer
dataLayer
Without a dataLayer, tracking tools scrape values from the DOM, fragile and inconsistent.
- to review
- note
- ok
What we check
Checks whether window.dataLayer is initialised and populated via push().
Why it matters
Without a dataLayer, tracking tools scrape values from the DOM, fragile and inconsistent.
Common causes
The most common triggers for this finding. Expand this section with real-world examples.
How to fix it
Initialise window.dataLayer before the GTM container and push() on every business event.
-
What does a failing dataLayer finding mean?
Without a dataLayer, tracking tools scrape values from the DOM, fragile and inconsistent. Initialise window.dataLayer before the GTM container and push() on every business event.
-
How do you fix dataLayer?
Initialise window.dataLayer before the GTM container and push() on every business event.