Skip to main content
Level 2
Mar 10, 2023 7:40 PM UTC
Solved

How can I remove a Munchkin tracking from a form?

Hello 

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

 Thank you

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SanfordWhiteman
SanfordWhitemanAccepted solution
User Group Leader
Mar 10, 2023 7:50 PM UTC

3 replies

Darshil_Shah1
Adobe Champion, Community Advisor, UG Leader
Adobe Champion, Community Advisor, UG Leader
Mar 10, 2023 7:50 PM UTC

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.

 

Translate
Maha89Author
Level 2
Mar 14, 2023 6:47 PM UTC

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.

Translate
Here to learn
SanfordWhiteman
User Group Leader
SanfordWhitemanUser Group LeaderAccepted solution
User Group Leader
Mar 10, 2023 7:50 PM UTC