Persist Data Values extension not working as expected

sujani_koya
Regular Visitor
sujani_koya

Hi, I'm trying to set a cookie using the Persist Data Values extension using the value of a Querystring Parameter.  The Cookie duration is set to 365 days.  Allow update on page view.  

Updation of cookie value is not happening. An old value of cookie is still showing no matter how many times the QP is changed and tried.  What could be happening?

2 REPLIES 2

Persist Data Values extension not working as expected

GavinAttard
Frequent Visitor
GavinAttard Frequent Visitor
without seeing the specifics would check the following:

is there any conditions on the extension that would inhibit its running
are the query headers the same in each instance that are being pulled to the cookie?

on an aside, i prefer dropping cookies using js extentions - gives more control

Research your Experience | Improve and Evolve | Leave no one behind

Persist Data Values extension not working as expected

sujani_koya
Regular Visitor
sujani_koya

Hi, It turns out that I was using a qp.parametername as the Querystring Parameter instead of the parametername in the URL.   Also I wonder if it will help to use a random cookie name instead of a utag_main_cookiename when we are setting the expiration date.