We use GTM and Munchkin together. Create a new tag in GTM with the type "Custom HTML Tag". Copy and paste your Munchkin code into the HTML field. Then, set a rule to fire it. You probably want to fire it everywhere on your website, in which case you would use URL matches regex .* (copy and paste the ".*" into the blank) For us, we blocked out our documentation section, as it gets a ton of unrelated traffic.
I did have a lot of problems when I first implemented GTM. My biggest issue was munchkin being called twice & making the page render blank. It drove me nuts & took 2 months to figure out a true fix. Sorry but I tried so many things I can't remember which it was that finally did it.
Just implemetend the above with the Asynchronous code. I see it firing on our website, but not seeing any analytics pull into Marketo. Anyone else have trouble with this?
We just implemented Google Tag Manager and included the Munchkin tracking code as one of the tags. Followed the instructions as above with just one caveat - instead of the "Simple" tracking code, you need to use the "Asynchronous" tracking code.
I also selected the checkbox for "Support document.write" in Google Tag Manager just to be safe.
Thanks for your respond, one more question, does it inclusing JavaScript tags or just add the function, I noticed for Bing Tags doens't including JavaScript Tags?
We use GTM and Munchkin together. Create a new tag in GTM with the type "Custom HTML Tag". Copy and paste your Munchkin code into the HTML field. Then, set a rule to fire it. You probably want to fire it everywhere on your website, in which case you would use URL matches regex .* (copy and paste the ".*" into the blank) For us, we blocked out our documentation section, as it gets a ton of unrelated traffic.