Munchkin codes | Community
Skip to main content
New Participant
March 26, 2021
Solved

Munchkin codes

  • March 26, 2021
  • 1 reply
  • 2618 views

Can I add Munchkin code in Google Tag Manager

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

Sure.

 

The only edge case to consider is that GTM, by its very nature, adds another level of async loading. That is, the GTM JS library itself loads async, then it injects your matching tags async. So if the person navigates very quickly away, Munchkin may not have had a chance to bootstrap and send its initial hit. Exceedingly unlikely... but technically more likely than if you had the Munchkin embed right in the original document. (This is the case with all tag managers.)

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
March 26, 2021

Sure.

 

The only edge case to consider is that GTM, by its very nature, adds another level of async loading. That is, the GTM JS library itself loads async, then it injects your matching tags async. So if the person navigates very quickly away, Munchkin may not have had a chance to bootstrap and send its initial hit. Exceedingly unlikely... but technically more likely than if you had the Munchkin embed right in the original document. (This is the case with all tag managers.)

janerusnak
New Participant
February 24, 2022

Hi @sanfordwhiteman, I reviewed a lot of entries on Munchkin code implementation through GTM and have an idea of the risks. 

What I wasn't able to find is the risks of having Munchkin tracking code directly on the non Marketo LP and through the GTM. You've mentioned that Munchkin script is smart enough to not load twice on Marketo LPs,  do you think the same applies to non marketo LPs? 

Looking to spend wisely at your company? Check out procurify.com
SanfordWhiteman
New Participant
February 25, 2022

It has the same intelligence on non-Marketo LPs.