Intermittently setting demdex cookies despite disableThirdPartyCookies | Adobe Higher Education
Skip to main content
guyr8182598
Level 2
May 2, 2022
Frage

Intermittently setting demdex cookies despite disableThirdPartyCookies

  • May 2, 2022
  • 2 Antworten
  • 988 Ansichten

We're having an issue with regards to the disableThirdPartyCookies method. 

For the VisitorAPI service, when the method disableThirdPartyCookies is set to true the documentation* states that "the ID service does not return the third-party demdex-cookie". And "if a visitor already has this cookie in thier browser, the ID service won't use it to create a new ECID or return an exisiting ID". Still, the demdex-server is responding with a demdex-cookie. How come?

 

*https://experienceleague.adobe.com/docs/id-service/using/id-service-api/configurations/disable-cookies.html?lang=en

 

 

Dieses Thema wurde für Antworten geschlossen.

2 Antworten

Adobe Employee
March 29, 2023

Hello!

This on the surface looks to be a potential timing issue, if it only occurs intermittently. Will you share the method you are using to implement the ECID service? Is it through launch or javascript?

If you are doing it manually through javascript will you confirm whether you are setting the 'disableThirdPartyCookies' flag on the first instantiation of ECID service via the getInstance Method on the page?

for example I would expect it to include the disableThirdPartyCookies flag there:

var visitor = Visitor.getInstance("INSERT-MARKETING-CLOUD-ORGANIZATION-ID-HERE", { trackingServer: "INSERT-TRACKING-SERVER-HERE", // same as s.trackingServer trackingServerSecure: "INSERT-SECURE-TRACKING-SERVER-HERE", marketingCloudServer: "INSERT-TRACKING-SERVER-HERE", marketingCloudServerSecure: "INSERT-SECURE-TRACKING-SERVER-HERE", disableThirdPartyCookies: true });

 
If you can share steps to reproduce here, that would also be helpful. Otherwise, please create a ticket with customer care. 

 

Best regards, 

Garrett

Amruthesh_AG
Community Advisor
Community Advisor
January 9, 2024

Follow below steps to block all the third party cookie call when consent is not accepted.

 

1. Create a rule with event as window load.

2. In action select action type a custom code and place below custom code.

 

var visitor = Visitor.getInstance ("Organisation id@AdobeOrg",{
trackingServer: "INSERT-TRACKING-SERVER-HERE", // same as s.trackingServer

//For CNAME support only. Exclude these variables if you're not using CNAME
marketingCloudServer: "INSERT-TRACKING-SERVER-HERE",

//Function variable
disableThirdPartyCookies: true
});