Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Console.log changes to Google Tag Manager's dataLayer (works in Chrome)
* Pop this puppy into your Chrome console on a page where you need to observe changes to the dataLayer
function chaChaChaChaChanges(changes) {
n = dataLayer.length-1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.