SOLVED

How can I remove a Munchkin tracking from a form?

Go to solution
Maha89
Level 3

Hello 

How can I remove munchkin tracking from a form, please? The landing pages are built in WordPress, not in Marketo.  

 Thank you

 

Here to learn
Tags (2)
1 ACCEPTED SOLUTION
3 REPLIES 3
SanfordWhiteman
Level 10 - Community Moderator
Darshil_Shah1
Level 10 - Community Advisor + Adobe Champion

You could clear the mkt_trk on the form submit, so you don’t associate the current Munchkin web session with the email address on the form (or more precisely, with the person posted using the form). What's your end goal/requirement here? Just making sure that clearing out the Munchkin from the form post would be the right way (and also enough) to achieve that.

 

<script>
//add a callback to the first ready form on the page
MktoForms2.whenReady( function(form){ 
	//add the tracking field to be submitted
        form.addHiddenFields({"_mkt_trk":""});
        //clear the value during the onSubmit event to prevent tracking association
	form.onSubmit( function(form){
		form.vals({"_mkt_trk":""}); 
	})
})
</script>

 

Check out the developer documentation here.

 

Maha89
Level 3

Thank you so much for this! The goal of it is related to our attribution model and referral program. We don't want the channel from where the lead came and filled out the form to get attribution credit.

Here to learn