Expand my Community achievements bar.

Announcement: Calling all learners and mentors! Applications are now open for the Adobe Analytics 2024 Mentorship Program! Come learn from the best to prepare for an official certification in Adobe Analytics.
SOLVED

Third Party Cookie disable in Experience Cloud Identity Service via Launch

Avatar

Level 2

Hello Community,

I am looking to turn off/disable the demdex.net cookie on our sites for security reasons and wondering how I could do that. I've found below document online which says I need to set the "disableThirdPartyCookies" flag to "true" but can someone please show me the steps on how I can add this flag to Experience Cloud ID Service extension via Launch?  https://experienceleague.adobe.com/docs/id-service/using/id-service-api/configurations/disable-cooki...

 

Much appreciated!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

I believe you would set this in your Experience Cloud ID Service extension:

 

Jennifer_Dungan_0-1680127218478.png

 

Jennifer_Dungan_1-1680127227862.png

 

 

I haven't done this myself, but this looks like the setting, and I have set other parameters this way.

 

 

If you are using the Web SDK, (I have not yet), I see a checkbox for third party cookies, so try starting there?

Jennifer_Dungan_2-1680127359281.png

 

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

I believe you would set this in your Experience Cloud ID Service extension:

 

Jennifer_Dungan_0-1680127218478.png

 

Jennifer_Dungan_1-1680127227862.png

 

 

I haven't done this myself, but this looks like the setting, and I have set other parameters this way.

 

 

If you are using the Web SDK, (I have not yet), I see a checkbox for third party cookies, so try starting there?

Jennifer_Dungan_2-1680127359281.png

 

Avatar

Level 2

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

1. Update Experience Cloud ID Service Enable Opt In? as YES

Amruthesh_AG_0-1704787503178.png

 

2.. 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
});