How to remove tracking from landing pages | Community
Skip to main content
Dan_Stevens_
New Participant
April 6, 2015
Solved

How to remove tracking from landing pages

  • April 6, 2015
  • 25 replies
  • 7243 views
We need to create an internal landing page that we can provide to our telemarketing team to directly submit the status of leads that are generated.  Since a single user will be entering multiple leads, we don't want this user to be tracked/cookied.  But I don't see anywhere within our landing page templates where the Munchkin code exists (so that we can create a version without the code).  Therefore, how do we create non-trackable landing pages?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman
@Dan Stevens The Munchkin code on a Landing Page Termplate is inserted via this line:

<?php echo $mContext['endElements']; ?>

Remove that line from the LPT to remove Munchkin tracking from resulting LP(s).

@David M If the Munchkin code is removed and prefill is disabled, the form can be reused.

25 replies

Dan_Stevens_
New Participant
April 27, 2015
By removing <?php echo $mContext['endElements']; ?>, all it's doing is removing the ability to cookie someone.  A form fillout will still be captured in Marketo (which is actually the only thing we want to happen - we want the lead to be entered into Marketo, but not cookie the user).  This allows our telemarketing coordinator to enter all leads herself and not worry about her browser being cookied with the Munchkin code - which, if cookied, would think she is the last person that she entered into the form.
Megan_Reed1
New Participant
April 27, 2015
I'm trying to accomplish something similar to Dan and have followed this directions (as well as https://community.marketo.com/MarketoDiscussionDetail?id=90650000000PbvcAAC) but am still having issues.

I removed <?php echo $mContext['endElements']; ?> from my landing page, tested it and was still tracked via the form fill out. 

In the other discussion it talks about removing the cookie from the form as well. I've:
  • put the form HTML on a blank dummy page so I can grab the code (approve the page and view source).
  • took out the hidden line that that looks like '<input type="hidden" name="munchkinId" value="xxx-xxx-xxx" /> '
  • pasted the form HTML back into my normal landing page
But the form does not display... Any advice for making this successful? 
Dan_Stevens_
New Participant
April 6, 2015
Thanks Sanford - this is exactly the information that I needed. 

@David, forms themselves cannot cookie leads.
SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
April 6, 2015
@Dan Stevens The Munchkin code on a Landing Page Termplate is inserted via this line:

<?php echo $mContext['endElements']; ?>

Remove that line from the LPT to remove Munchkin tracking from resulting LP(s).

@David M If the Munchkin code is removed and prefill is disabled, the form can be reused.
David_Mason1
New Participant
April 6, 2015
Dan: I assume you are using the form functionality in Marketo?? If so you can create a basic HTML page and embed the form on the page. Go to the form >> FORM ACTIONS >> EMBED CODE. Past this between the HTML <body> tags...

This is how to create a non-trackable page... though Marketo will likely cookie them via the form.

I hope this helps.