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

SanfordWhiteman
Level 10
April 27, 2015
@Megan R Actually the scenario you're describing is different from the exit link.  What's happening in your case is the automatic cookie association with the latest lead, which occurs because there is an existing cookie.

Try adding the following in the HEAD of your LP:

<script>document.cookie = "_mkto_trk=;path=/;domain="+window.location.host+";expires=0"</script>

The idea here is that we create an empty Munchkin cookie for the offers.netgainit.com subdomain only.  This won't overwrite the the Munchkin cookie that someone has elsewhere, but should prevent that "knowable" cookie from being sent with the form post.

 
Ryan_Allen
Level 2
March 27, 2020

Hey @sanfordwhiteman , similar vein to this thread, having some issues with event sign in landing pages (program setup to mark as "attended" upon form fill) Munchkin tracking is turned off, I realize this thread is 5 years old so not sure if that script is still valid, but the issue I'm trying to address is the same GAClientID being assigned to each lead upon form fill. Since these are all done from the same device it presents an issue with reporting/ accurate tracking.  Any chance you can point me in the right direction? 

 

Thanks!

Ryan

SanfordWhiteman
Level 10
March 27, 2020

Kind of confused about what this has to do with Munchkin?  GA doesn't get its info from the Munchkin cookie, totally different. (Unless you make them the same programmatically.)

Megan_Reed1
Level 4
April 27, 2015
Strange results - I tested 3 form fill outs, one after the other and inbetween visited a couple of pages on www.netgainit.com.

Test 1 obviously worked.

Test 2 worked (I visited 2 pages on the site with Munchkin tracking and they did not appear in the activity log.)

Test 3 didn't work. Test 3 shows the 4 pages visits I made (2 inbetween test 1 & 2 and another 2 pages inbetween test 2 &3). Then shows the form fill out and subsquent page visits. 

Weird, huh?
SanfordWhiteman
Level 10
April 27, 2015
http://offers.netgainit.com/phonecalls.htm now redirects to your home page so I can't really comment on that.
Megan_Reed1
Level 4
April 28, 2015
Hi Sanford - I apologize for that and greatly appreciate your help. The URL is working again if you have a chance to take a look. 
April 30, 2015
Landing page templates no longer have the <php tracking line> but now have a drop down menu that allows you to enable and disable tracking
Dan_Stevens_
Level 10
April 30, 2015
Bryan, where is this option located?  I don't see that anywhere within the landing page editor.
Megan_Reed1
Level 4
April 30, 2015
Yes, Marketo support shared that new feature with me. 

Dan - You have to make the LP mobile compatible first. On the top, right hand corner of the LP you should see a button for "Make Mobile Compatible." After that's completed a drop down appears on the top left that says "Template Actions" where you can select to disable munchkin tracking. 
SanfordWhiteman
Level 10
April 30, 2015
@Megan R are you still experiencing the earlier behavior, even with the cookie being overridden with that script snippet and the Munchkin tracking code not loading?
Megan_Reed1
Level 4
May 1, 2015
@Sanford Yes, I believe Marketo support gave a valid reason for what I was seeing though:

Removing munchkin from the form page will cause only that page to not track leads. If the lead goes anywhere else it will set a cookie if the page contains munchkin. It will be anonymous until the lead identifies. In this case, the lead was already cookied, so the anonymous lead with page visits was merged with lead form fill activity when the lead became known. 
SanfordWhiteman
Level 10
May 1, 2015
Yes, that is all in line with what we've been saying. But if you have the cookie-clearing line in there this cannot happen, because there is nothing to associate with at the time the form is processed. I'll take a look at your page later to see if the code is in the right place and is firing.