I want to fire tags for a vendor distinguishing the client in new and returning. So this is what I have done:
- create two tags: one is fired when the value of a cookie is "firstpurchase", another when the value of a cookie is not "firstpurchase";
- create a JS extension that creates the cookie, and fire it in a pre-loader mode
If I understand correctly, the JS is executed, so the cookie is created/modified, and then the load rule of the tags is evaluated. In this case, only one tag of the two must be fired. Instead I find that both tags are fired.
... View more