insights

Adding Munchkin Tracking Code to Your Website

Posted by Shubham Mishra on Jan 16, 2019 6:23:33 PM

Munchkin Tracking Code

The custom javascript tracking code of Marketo, called the Munchkin, tracks all the people coming to your website so that you can respond to their visits with automated marketing campaigns. Even anonymous visitors are tracked with their IP address and other information.

There are 3 tracking code types available:

  • Simple – Loads synchronously
  • Asynchronous – Loads asynchronously
  • Asynchronous jQuery – Loads asynchronously and requires that jQuery be loaded beforehand

It is highly recommended that the Asynchronous tracking code be used for embedding Munchkin on external pages. To ensure the highest possible success rate for execution, embed the Asynchronous tracking code in <head> of each page.

Add Tracking Code to Your Website

1. Click Admin at the top right of the app.

shubham blog 1

2. Click Munchkin in the tree on the left.

Shubham Blog 2

3. Select Asynchronous for Tracking Code Type

 

Shubham Blog 3


* Note: Asynchronous code is faster than Simple

4. Click and copy the Javascript tracking code to put on your website.

shubham blog 4


Tips: Put tracking code on the web pages you want to track. This may be every page for smaller sites, or only key pages on sites that have many dynamically generated Web pages, user forums, and so on.

5. Place the tracking code on your web pages right before the <body> tag

shubham blog 5

Note:
Landing pages created in Marketo automatically have tracking code, therefore you do not have to put this code on them

Tags: tracking code, munchkin, marketo, Marketing Automation, Marketing Strategy, Marketing Automation Software