Add Tracking Code When Using Multiple Workspaces

If you’re using Workspaces in your Marketo account, you probably also have separate web presences that correspond to your workspaces. In that case, you can use the Munchkin tracking Javascript to assign your anonymous people to the correct workspace and partition.

  1. Go to the Admin area.

  2. Click Munchkin.

  3. Select the appropriate workspace for the web pages you wish to track.

    NOTE
    If you don’t use the special workspace Munchkin code, the people will be assigned to the default partition that was created when your account was set up. It’s named “Default” initially, but you might have changed that in your own Marketo account.
  4. Select Asynchronous for Tracking Code Type.

  5. Click and copy the JavaScript tracking code to put on your website.

    CAUTION
    Don’t use the code shown in this screenshot - you must use the unique code that appears in your account!
  6. Place the tracking code on your web pages in the <head> element. New people that visit this page will be assigned to this partition.

    CAUTION
    You can only use one Munchkin tracking script for a single partition and workspace on a page. Do not include tracking scripts for multiple partitions/workspaces on your website.
    NOTE
    Landing pages created in Marketo automatically contain tracking code, so you don’t need to put this code on them.

Types of Munchkin Tracking Codes

There are three types of Munchkin tracking codes you can choose from. Each impact the webpage load times differently.

  1. Simple: has the fewest lines of code, but does not optimize for webpage loading time. This code loads the jQuery library each time a webpage is loaded.
  2. Asynchronous: reduces webpage loading time.
  3. Asynchronous jQuery: reduces webpage loading time and also improves system performance. This code assumes that you already have jQuery, and does not check to load it.

Test if Your Munchkin Code is Working

To check that your Munchkin code is working after you’ve added it:

  1. Visit your web page.

  2. In your My Marketo, click the Analytics tile.

  3. Click Web Page Activity.

  4. Click the Setup tab, double-click Activity Source.

  5. Change the Activity Source to Anonymous Visitors (including ISPs) and click Apply.

  6. Click the Report tab.

    NOTE
    If you don’t see any data, wait a few minutes, then click the refresh icon at the bottom.
Previous pageAdd Level 3 Web Meeting as a LaunchPoint Service
Next pageNext Generation Munchkin Tracking FAQ

Marketo Engage