We are in the process of implementing EU cookie privacy directive on the main website and also Marketo landing pages. I've seen some references to Marketo automatically creating the _mkto_trk cookie on form submit if it isn't already there. Can anyone verify if this is true? Just trying to figure out the best way to deal with this situation:
- User indicates no tracking
- munchkin.init is not run and _mkto_trk is not set.
- On page load, if _mkto_trk is set, it is deleted
- Marketo Form 2.0 is submitted and goes to a follow-up page so even if the _mkto_trk is set, it is deleted on page load (per above)
Here's the part I'm really asking about:
If the Marketo Form 2.0 is shown in a modal or in a lightbox, after submission there is no page load generated. If the cookie is really automatically created, then it needs to be deleted. Would you delete _mkto_trk in an on success handler or is there a better way to manage this?
Any tidbits for implementation would be much appreciated!