Persist data value issue: UDO's are set, cookies are not.

dajo_rodrigo
Regular Visitor
dajo_rodrigo Regular Visitor
I am trying to store some data in a cookie for later use. Setting of cookies: Variable: xyz(js) Duration: Session Update: Keep First Value (No condition) Store in Cookie: utag_main_xyz While XYZ (js) is available the cookie content remains: "undefined" Any help is greatly appreciated!
2 REPLIES 2

Persist data value issue: UDO's are set, cookies are not.

Tealium Employee
Hi, Where are you looking for the cookie content? The extension will create the cookie, and populate the "b" object for that cookie but will not be populated utag_data until the next page load, at which time the cookie should be picked up as normal in the utag_data object. The other thing is that the cookie will not automatically re-populate the UDO variable that it was created from. To do that you will need a set data values extension to reset the UDO variable from the cookie, and make sure you add the condition to check that the cookie is defined and populated. I hope that helps Many thanks Steve Lake
Highlighted

Persist data value issue: UDO's are set, cookies are not.

sujani_koya
Regular Visitor
sujani_koya

Hi, I'm facing a similar issue.

In the Persist Data Values extension I'm populating a cookie called cp.utag_main_cj from a querystring variable called qp.cjevent.  How should the Set Data values extension look?

utag_data.utag_main_cj should be populated by cp.utag_main_cj?