Reputation: 1
I have added data to datalyer through console.but the same is not getting relfected under datalayer tab under google tag assistant extension in chrome
I tried dataLayer.push({ 'event': 'new_subscriber', 'formLocation': 'footer' });
but datalayer not updating in tag assistant. how to verify if this is working as i dont have access to the gtm portal
Upvotes: 0
Views: 973
Reputation: 2372
The Datalayer is only an array.
Easiest way to check is just console the datalayer.
If you want to check is the GTM also listened.
You can install the following extensions:
https://chrome.google.com/webstore/detail/dataslayer/ikbablmmjldhamhcldjjigniffkkjgpo
https://chrome.google.com/webstore/detail/gtmga-debug/ilnpmccnfdjdjjikgkefkcegefikecdc
Upvotes: 0