In the deployment of the Tag Manager script, the configuration may seem a bit confusing. We tried to make things a bit easier.
This guide provides an example of a basic configuration that you can use as a quick start code. It includes the initialization, covers Google Analytics and Facebook cookies, and starts the service.
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");
Here is how to use it:
- Make sure you created a Cookie Saver tag/rule and inserted the Tag Manager script.
- Insert the quick start code, right after the comment “// Add custom cookie configuration here!“.
- Update the "endpoint" by substituting INSERT ENDPOINT with the subdomain that you created DNS records for. E.g.
After you deployed Cookie Saver, you should 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.
What´s next?
Congratulations! You have now completed the installation and should have our recommended setup covering the most used analytics and marketing cookies.
Validation
As a last step, you may want to check that everything is working correctly and implemented lawfully. To do so, please, visit the Validation section.
Comments
0 comments
Please sign in to leave a comment.