Re: Adding Marketo Munchkin code to external web pages

Jamie_Barclay
Level 5

Adding Marketo Munchkin code to external web pages

We need to add munchkin code to one of the pages on our website (I have the code). We want to track leads that visited that page and/or downloaded a PDF on that page.  If we add the muchkin code to our webpage will it also track each PDF on that page that is downloaded - or do we need to add a code at the end of the URL for each PDF that is on that page and we want to track (ie., http:www/website/downloads/A123456.pdf) when we code it?

3 REPLIES 3
SanfordWhiteman
Level 10 - Community Moderator

Re: Adding Marketo Munchkin code to external web pages

You don't add anything to your URLs.

When you run Munchkin on your website, it attaches (mostly accurately) to all of the <A> tags in your pages to automatically detect clicks.

I'm a little concerned about "one of the pages," however.  Why are you not running Munchkin on all of your pages, so you can track people's movement around your site?

Jamie_Barclay
Level 5

Re: Adding Marketo Munchkin code to external web pages

Thanks Sanford - I agree about adding Munchkin codes to all of our pages. This would need to be done at the template level - am working with internal resources.  Appreciate your quick response.

Elliott_Lowe1
Level 9 - Champion Alumni

Re: Adding Marketo Munchkin code to external web pages

In Marketo Doc's Add Munchkin Tracking Code to Your Website, it states "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".  This is likely referring to online retailers, so if you're not one of those - you should add munchkin to all the pages you'd typically have Google Analytics code.