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

How to remove tracking from landing pages

  • April 6, 2015
  • 25 replies
  • 7258 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

David_Mason1
Level 3
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.
SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
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.
Dan_Stevens_
Level 10
April 6, 2015
Thanks Sanford - this is exactly the information that I needed. 

@David, forms themselves cannot cookie leads.
Megan_Reed1
Level 4
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_
Level 10
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
Level 4
April 27, 2015
That's similar to what I would like to accomplish too... A inside sales person with the ability to fill out a form with call results. I removed that piece of code and I'm still being cookied and tracked. It's ok to have the Web Filled Out Form activity under the activity log, but it also is showing web page visits. I can't figure out why... 
SanfordWhiteman
Level 10
April 27, 2015
@Megan R Please post a link to your page (or a page with equivalent setup if you want to hide the URL).
Megan_Reed1
Level 4
April 27, 2015
Hi Sanford - The URL is http://offers.netgainit.com/phonecalls.html. 
SanfordWhiteman
Level 10
April 27, 2015
@Megan R That page is not setting any cookies (whether or not you submit the form).  Are you sure the visits you're seeing aren't the Click events from a user who is is already cookied? 

That is, if you have a link to this test page from another page www.netgainit.com/forms.html and you do load Munchkin on www.netgainit.com (as you definitely should) then the link to the form will be considered an "exit link" and will be logged in the user's activity log.  That isn't the same as the phonecalls.html page logging its own activity.
Megan_Reed1
Level 4
April 27, 2015
That makes sense. I was testing it by clearing all of my cache and cookies, visiting the landing page, filling out the form then visiting a few pages on www.netgainit.com to make sure those were not displaying in the activity log. Then I went back to the landing page (without clearing my cache/cookies and only by knowing the URL, the URL is not linked from any other page or to any other page), filled out the form with another email and looked at that activity log which showed the webpages I visited on www.netgainit.com. 

With your clarity, it must be because I visited the pages then filled out the form which would be an "exit link". I just tested by continuously filling out the form (as the caller would) and it work. Although it seems I'll have to have our internal person clear their cache/cookie before they start (in case they had been on our website for any reason that day). 

Is this the best/only way to accomplish this task?