12 Replies Latest reply on Feb 4, 2016 7:43 PM by Sanford Whiteman

    Munchkin Code Not Tracking

      Hello Marketo Community,

       

      I am hoping someone can help with an issue related to our Munchkin Tracking Code. Over the last year we have sporadically been receiving web activity & click link activity for user who visit our website  This issue has caused us to inaccurately utilize some of the features Marketo currently offers because we are unable to consistently receive web & click link activity.

       

      Below you will find what our current implementation looks like along with our attempts at fixing the problem.

       

      Current Munchkin Tracking Code:

       

      <script type="text/javascript">

      $.ajax({

        url: '//munchkin.marketo.net/munchkin.js',

        dataType: 'script',

        cache: true,

        success: function() {

      Munchkin.init('###-###-###', {asyncOnly: true});

        }

      });

      </script>

       

      Previous Issue:

       

      XMLHttpRequest.timeout cannot be set for synchronous HTTP(S) requests made from the window context. From: munchkin.js:11

       

      Solution:

       

      set 'asyncOnly: true' flag

       

      References:

       

       

      We still get what looks like an XHR error when looking at the network tab for "visitWebPage" and also "clickLink".

       

      Activity like stated before is sporadically not tracked. We connect all our forms via the API. The API originally was on a different top level domain which we changed after reading the following Marketo Document; specifically in relation to the sub-section "Domain"

       

       

      Due to this documentation we moved our forms API on a subdomain of (see below) to resolve this as a potential cause of this issue; but still receive sporadic web & click link activity.

       

      Below you will also see an instance of a known leads activity log:

      As you can see the first activity recorded for the lead is filling out the form but no web or clicklink activity before or after that.

       

      Any help you may be able to give related to this issue would be greatly appreciated.  If you need more information please feel free to let me know.

       

      - Mihkey