Retrieve data value set using persist data value extension

Silver Contributor
Silver Contributor

Hi,

I am creating a persist data value extension to retrieve some information from HTTP to HTTPS. The data is set in the utag_cookie. How can I retrieve the data back once I am on the HTTPS site?

I am setting the data from a variable.

 

1 REPLY 1

Retrieve data value set using persist data value extension

Tealium Employee

Hi @suchindrakala

 

To retrieve data back from the utag_main cookie, you will need to access it like this (using JS):

 

utag.data['cp.utag_main_someCookie']
b['cp.utag_main_someCookie']

 

Or you can also create a cookie type variable to read from this in the TiQ UI.

 

Adrian

Ask me anything Tealium related or TypeScript/JavaScript, or NodeJS.
Please remember to mark solutions as accepted for future searchers.
Public