Solved! Go to Solution.
07-13-2019 11:58 AM - edited 07-13-2019 12:08 PM
Hi @jared_hislop ,
I need to count the number of button clicks and store that in a cookie and so need to follow a similar approach but I'm intrigued by the possible use of Persist Data Values extension here. That'll save me from a lot of code-writing but how can we combine this with a jQuery onhandler extension?
Can we set a JS variable as a flag and set it to true in the onhandler extension and use that as a condition for hte Persist Data Values extension? The value can be stored in another variable in the onhandler extesnion that can simply be read into the cookie in the PDV extension. Really appreciate your help.