Integration of banner Scripts with Tealium to manage the cookies on your website.
There are 3 steps that need to be followed:
- Implement the installation script
- Configure integration between TealiumiQ and Secure Privacy consent management platform
- Configure Purpose groups
1. Implement the installation script
• On the iQ Tag Management menu, select Extensions.
- Click Add Extension
- From the Advanced tab, select Advanced Javascript Code.
- Enter a title for the extension - Secure Privacy
- Select "Pre Loader" as a "Scope".
- Under "Configuration", enter the following JavaScript:
(function () { let domainId = '[INSERT DATA-DOMAIN-SCRIPT UUID]'; let head = document.getElementsByTagName('head')[0]; let script = document.createElement('script'); script.type = 'text/javascript'; script.src = 'https://app.secureprivacy.ai/secureprivacy-plugin/web-plugin/secure-privacy-v1.js' script.setAttribute("data-domain-script", domainId); script.async = true; head.appendChild(script); })();
the code should be located here -
2. Configure integration between TealiumiQ and Secure Privacy consent management platform
- From the iQ Tag Management menu, select "Consent Integrations".
- Under Integrations, click "Add Integration".
- Enter a name for the integration.
- Select "Custom" as a vendor.
- Under Vendor ID, enter the data-domain-script that you will retrieve from the scripts menu for the domain that you are configuring.
- Click Next.
- For the Enforcement Rule, you can leave the default option of All Pages and Events intact unless there is a more specific condition under which the integration should function (ex. specific subdomains, page directory, variable present, etc).
- Click Next.
- Select your Publish Locations (ex. Dev, QA, Prod).
- Click Next.
- Under the Purpose Group selection menu, select New Purpose Group. A confirmation modal appears that directs you to Purpose Group configuration. Your work progress is saved automatically.
3. Configure Purpose groups
- Enter a name for the Purpose Group.
- Click Next. The Purposes tab appears.
- For each Purpose, populate Key with a cookie category ID and Name with the corresponding cookie category name.
- A Purpose should be defined for each distinct cookie category as listed within Secure Privacy Cookie Consent; for example
- Create Purpose like key: name>>Analytics (123: Analytics), Essential (456: Essential) and Undefined (789: undefined)
- Once all Purposes are created, click Next. The Tealium IQ Purpose tab appears.
- From the Tealium Tag Purpose selection menu, select the cookie category that is associated with Strictly Necessary/Essential.
- Click Next. The Map Tags tab appears.
- For Map Tags and any non-essential tag, click the Map button on each row to select the appropriate category that will be responsible for controlling each tag.
Once this configuration is completed, save any changes and publish this build to the appropriate environment (Dev, QA or Prod).