Highlighted

Reading third-party cookie data delivered on the same page

Bronze Contributor
Bronze Contributor

Hey everyone,

I've tried to read the docs regarding cookies, but I'm having troubles wrapping my head around.

Basically, my use case is this - I have the Adobe Audience Manager platform that is writing data to an aam_something cookie and it's delivered to the same page where the utag is present as well. I want Tealium to read the data from that cookie - is that possible? Is it done with an extension? I know that Tealium can _write_ cookies, but can it read cookies from the other platform? 

1 REPLY 1
Highlighted

Reading third-party cookie data delivered on the same page

Tealium Expert
Tealium Expert

Hi @pedrochristobal,

If the data is stored in a first party context relative to the page the user is on, you should be able to pick up that cookie value within the UDO, it'll be called:

cp.aam_something

So it'll be accessible in extensions as b["cp.aam_something"], and if you add the item to the UDO in TIQ, you'll be able to map it to other tags.

If the data is truly a third-party cookie, you won't be able to access it client-side because web security depends upon not being able to access cookies cross-site.

Hope that helps.

Cheers,
James