How to provide option to opt out of Marketo Tracking cookie for website? | Community
Skip to main content
Nov 15, 2016 12:39 AM UTC
Solved

How to provide option to opt out of Marketo Tracking cookie for website?

Hi,

We are trying to find a good way to provide site visitors the ability to opt out of the Marketo tracking cookie. What is the recommended way to stop/disable the Marketo tracking cookie from our website? We are exploring different options to provide a button to a user to allow for opting out of the Marketo tracking cookie.

The goal is to allow a site visitor an option to click a button/link and even if there is already a Marketo tracking cookie, to basically stop tracking any more page visits, clicks, etc for Marketo.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Justin_Cooperm2
Justin_Cooperm2Accepted solution
Level 10
Jul 14, 2017 2:35 AM UTC

In case anyone is wondering, this functionality IS available in munchkin. However, it is only present in versions 152 and up. Currently our production munchkin loader file (munchkin.marketo.net/munchkin.js) points to v151.

To take advantage of the functionality, just switch your munchkin tag to use munchkin.marketo.net/munchkin-beta.js instead.

We slowly migrate production forward, so after a bit more time passes, you may see the production file  get incremented up. I'll make sure we update the docs to reference the version requirement.

With this in place, just add a query string parameter of "marketo_opt_out=true" to any page that uses Munchkin. This will add a "opt out" cookie (different than the regular munchkin cookie) for the user and will prevent all calls from happening. To opt a user back in, just add "marketo_opt_out=false" to any page that uses Munchkin.

Cheers,

Justin

24 replies

Justin_Cooperm2
Justin_Cooperm2Accepted solution
Level 10
Jul 14, 2017 2:35 AM UTC

In case anyone is wondering, this functionality IS available in munchkin. However, it is only present in versions 152 and up. Currently our production munchkin loader file (munchkin.marketo.net/munchkin.js) points to v151.

To take advantage of the functionality, just switch your munchkin tag to use munchkin.marketo.net/munchkin-beta.js instead.

We slowly migrate production forward, so after a bit more time passes, you may see the production file  get incremented up. I'll make sure we update the docs to reference the version requirement.

With this in place, just add a query string parameter of "marketo_opt_out=true" to any page that uses Munchkin. This will add a "opt out" cookie (different than the regular munchkin cookie) for the user and will prevent all calls from happening. To opt a user back in, just add "marketo_opt_out=false" to any page that uses Munchkin.

Cheers,

Justin

Translate
Jul 17, 2017 10:36 PM UTC

That is excellent news, we will just wait for the version to be upgraded and revisit this again.

Translate
Jul 10, 2017 7:01 PM UTC

Looks like the only answer we received was to have the user opt out completely. We used the Unsubscribe field from Marketo to opt them out for now.

Translate
SanfordWhiteman
Level 10
Jul 11, 2017 12:39 AM UTC

The Unsubscribe field has no bearing on whether cookies are set. If the effort is to comply with cookie regulations, you can't do this using lead fields.

Translate
Nov 16, 2016 8:28 PM UTC

I found this in some documentation.  Does anyone know how to configure this?

Opt Out from a Specific Website

Even if a visitor doesn't choose Do Not Track for all websites, the marketer can offer them the ability to opt out from a specific website.

1. The marketer adds a link on the website to enable users to opt out from Marketo tracking. It's normally placed under Privacy Settings.
2. The user is directed to Marketo's opt-out page.
3. The user fills out a form (like the one below), adding the URL of the website they don't want tracking them, and clicks the link.

This activates JavaScript that tells Marketo not to track the user for that website.

Translate
SanfordWhiteman
Level 10
Nov 18, 2016 3:22 AM UTC

This activates JavaScript that tells Marketo not to track the user for that website.

It doesn't, though.

The way to turn off setting the Munchkin cookie is to wrap Munchkin.init() in a condition that checks for another cookie that is only used for opting out (you always must persist something in the browser or else there's no way to remember across pages and sessions). 

Before running init() the very first time, you prompt the user to opt in or out and save that choice to a cookie with a far-distant expiration date. Check the value of that cookie on subsequent page views.

Translate
SanfordWhiteman
Level 10
Feb 10, 2017 1:33 AM UTC

Raj Ruprai curious why you marked as Helpful something that expressly doesn't work...

Translate