Marketo Munchkin Issue

kenmckown
Level 4

Marketo Munchkin Issue

I am having issues on a couple of our sites with the Marketo Munchkin code. We are using Google Tag Manager for both sites, which we also use for many of our other sites and they work fine. On these two though I am getting an error in Chrome's console which reads:

Uncaught ReferenceError: Munchkin is not defined at <anonymous>:1:1

These are the two sites having the issue

  • rapidrecon.com
  • velocityautomotive.com

Has anyone else had this issue and know what might be causing it.

Tags (2)
3 REPLIES 3
reetusharmaGrz1
Level 2

Re: Marketo Munchkin Issue

Hi @kenmckown 

 

The Munchkin is not defined error typically means that the Munchkin tracking script isn't loading correctly on your sites.

 

To resolve this, ensure that the Munchkin tracking code is properly implemented in Google Tag Manager for both sites. Verify that the Marketo tracking script something like this:

 

<script src="//munchkin.marketo.net/munchkin.js" type="text/javascript"></script> <script>Munchkin.init('YOUR_MUNCHKIN_ID');</script>

 

Also, check if there are any other scripts that might be blocking or conflicting with the Munchkin tag. Occasionally, other JavaScript code can trigger an error that prevents Munchkin from initializing properly.

 

Thanks

 

 

SanfordWhiteman
Level 10 - Community Moderator

Re: Marketo Munchkin Issue

There’s no sign that you’re actually trying to inject and reference Munchkin using GTM on those sites. It doesn’t appear anywhere in your public GTM properties.

 

Are you really seeing that error on the root domains (which should of course have Munchkin too!) or specific pages under those domains? Make sure you supply a page where it’s actually happening, right now.

SanfordWhiteman
Level 10 - Community Moderator

Re: Marketo Munchkin Issue

@kenmckown hello?