Adobe Experience Cloud Tag: disableThirdPartyCookies

Gold Contributor
Gold Contributor

Hello!

I need to set the following Function variable into "Adobe Experience Cloud ID Service" tag in order to stop the demdex cookie from being served on my websites.

disableThirdPartyCookies: true

See: https://experienceleague.adobe.com/docs/id-service/using/id-service-api/configurations/disable-cooki...

I'd rather avoid any tag template customization so I think that mapping a custom value ("true") directly into the tag Data Mappings and map it to config.disableThirdPartyCookies won't be enough because I should add a line in u.data object, right?

Can I create a tag scoped javascript extension and write the following into it?

b.config.disableThirdPartyCookies = "true";

I've tried but it does not seem to be working :(

1 REPLY 1

Adobe Experience Cloud Tag: disableThirdPartyCookies

Moderator
Moderator

Hi @gianca ,

Great question!

For the Adobe Experience Cloud ID tag, you can map directly to the config mapping and it will respect those values.

For example, you can use set up the mapping by:

- Use Custom Value

- Choose JS Code (as you want a boolean and not a string)

- Enter True

- Change the destination to config.disableThirdPartyCookies

 

Let me know if this helps!

Ask me anything Tealium!
Public