After the completion of this guide, you will have our recommended setup covering the most used analytics and marketing cookies. To ensure that all cookies can be restored correctly, please make sure that you have implemented the Preload script on your website as well. Description can be found here Preload script implementation
To add Cookie Saver to your Tag Manager or directly in your source code, please follow our articles:
Complete example
The following quick start code saves your cookies for Google Analytics and Facebook. It should be included in the Cookie Saver tag right after the the comment “// Add custom cookie configuration here!“.
You only need to update:
- "endpoint" should be the subdomain that you have created DNS records for.
acq("init", {
"endpoint": "INSERT ENDPOINT"
});
acq("addCookie", {
"name": "_ga",
"expirationDays": 730
});
acq("addCookie", {
"name": "_fbp",
"expirationDays": 90
});
acq("addCookie", {
"name": "_fbc",
"expirationDays": 90
});
acq("start");
After you have implemented Cookie Saver, you will have a similar view of you cookies in Safari. Notice the "_accutics" and cookies prefixed with "_acs_". These are used by the service to persist and recreate cookies. The "_acs_accutics.net" cookie, will have your website domain after the "_acs_" prefix rather than "accutics.net" like this: "_acs_[your.domain.com]". There may be more than one such cookie depending on your setup.
Comments
0 comments
Please sign in to leave a comment.