Disable cookie tracking for multiple form submissions.
I'm trying to get a form to be submitted multiple times without modifying the cookie with each submission. We often have a manager wanting to register multiple people for an event. The form is within a custom guided landing page which does not include
PHP:
echo $mContext['endElements'];
I've disabled Munchkin tracking under the Template Actions menu, but the cookie is still being modified.
Also found this script but only gets an error:
//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":""});
})
})
The information of the last person that is registered is being set to the person submitting the form. We would like to disable modifying the cookies on certain landing pages/forms. Can we essentially set the cookie to be read-only?
Message was edited by: Tony Teixeira, Raw HTML not displaying