mkto_opt_out associated with subdomain, not top-level domain | Community
Skip to main content
Opine_Consulti4
Level 2
May 19, 2018
Question

mkto_opt_out associated with subdomain, not top-level domain

  • May 19, 2018
  • 2 replies
  • 3544 views

With GDPR in effect shortly, this is becoming critical. Illumina has enabled the use of Beta munchkin. When we test using marketo_opt_out=true, the cookie mkto_opt_out being set but associated with the subdomain the page is on rather than with the top/root domain. However, _mko_trk is properly being set to the top domain so this isn't something fundamentally wrong with the domain level. The problem with this is if the cookie is dropped on a www.illumina.com page - only www.illumina.com pages stop being tracked. The Marketo landing pages at mkt.illumina.com are still tracked. The same issue happens the other way as well - if the query parameter is added to an mkt.illumina.com page, then we'll stop tracking those pages but not the www.illumina.com pages. There are numerous other subdomains associated with Illumina as well so really need the cookie to be associated with illumina.com so that pages across all the subdomains stop being tracked.

Here are a few example pages to try:

illumina.com/index-d.html?marketo_opt_out=true

mkt.illumina.com/nipt-ppc-hcp.html?marketo_opt_out=true

When examining the cookies, you'll see that _mkto_trk is associated with .illlumina.com but mkto_opt_out ends up associated with the subdomain of either www.illumina.com or mkt.illumina.com depending on which page you used. Conversly, you have to set marketo_opt_out=false on each of the subdomain pages in order to have it removed from each subdomain it is on.

Is anyone else experiencing this problem with the Marketo Opt Out functionality? I have submitted this to Support but I thought I would ask on the community for any insights as well.

Thanks,

Sheila

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

SanfordWhiteman
Level 10
May 19, 2018

Ha, I was just working on a blog post on this:

Your observations are accurate. The mkto_opt_out cookie does not obey the Munchkin domainLevel setting (whether manually or automatically set).

The "good" news is that the use of the querystring for this was flawed anyway. (The use of a no-track cookie itself is sound, but I'm talking about how it's set.)

Most people are not going to understand how to add to the querystring before Munchkin initialiizes for the very first time. Even if they know (which is rare on the web side, let alone the marketing side) how to use replaceState, they're not going to change the querystring on the first hit, instead waiting for cookie opt-in to complete and then refreshing the page with the &marketo_opt_out=true appended. As a result, they're still going to track the first hit (with or without the lead's consent) and they're also going to create duplicate pageviews for any other analytics package, and duplicate traffic to their server.  Kind of a lose-lose-lose.

So the way to use this functionality is to set the mkto_opt_opt cookie at the topmost private domain yourself, and do it before any calls to Munchkin.init(). Of course you can use findPrivateSuffix to automatically figure out the appropriate domain.

Opine_Consulti4
Level 2
May 21, 2018

Thank you @Sanford Whiteman for confirming that I'm not nuts. I was checking out your blog but I don't see that your article has been posted - at least it's not visible to me. As usual, I gain so much from reading your blog posts. I'm looking forward to reading this one!

Dan_Stevens_
Level 10
May 20, 2018

Yeah, we bumped into this issue just last week while trying to get our OneTrust cookie preference center deployed - which is another story in itself in that it's not all that it's cracked up to be.  In summary, it's more or less just a cookie scanning and categorization solution.  There is still some custom dev work required to get it to properly enable/disable cookies like Munchkin. 

Opine_Consulti4
Level 2
May 21, 2018

Dan, thanks for your comments on OneTrust. I had the same impression when working with them for another client.