Using Multiple Munchkin Tracking Codes on a Single Page

August 8, 2014 | by

Let’s say you have multiple Marketo instances and you would like to send web tracking events like page visits or clicked links to these multiple instances, it is possible to do this with Munchkin.

Marketo tracks visitors to your website by domain (e.g. “”). If you’re hosting this Munchkin script on a domain that’s different than your primary domain (e.g. “”), those visitors will appear as anonymous leads until they fill out a form on that other domain.

To accomplish this, add the altIds parameter to your Munchkin.init call. The altIds parameter contains an array of the additional Munchkin IDs where web events should be sent.

Using the example below, replace the highlighted Munchkin IDs (XXX-XXX-XXX, YYY-YYY-YYY, and ZZZ-ZZZ-ZZZ) with the Munchkin IDs from each Marketo instance where the tracking information should be sent.

For additional information on Munchkin initialization parameters, see this document.