Cookies can be set, used and updated in many/various/different ways. In order to accommodate this, we are utilizing a Preload script to ensure all your cookies are up-to-date on every page load.
It is IMPORTANT that this Preload script is run before any Tag Manager code or any 3rd party vendor code is executed.
Installation
The Preload script is very light-weight and can be found in your Cookie Saver account (see Cookie Saver scripts). It should be placed directly in your source code as high as possible in the <head> section. Most importantly, it should be placed before any reference to 3rd party vendor libraries that uses cookies you want to save.
Why is this important?
Many 3rd party scripts continuously update their cookies to extend the expiration. However, if this happens after the cookies have been extended by Cookie Saver, there is a risk that the original cookie will still be deleted after 1-7 days (due to ITP). This is why Cookie Saver creates backup cookies, and it is from these backup cookies that our Preload script restores the original cookies, before they are used by the 3rd party vendor libraries.
Comments
0 comments
Please sign in to leave a comment.