Developer Instructions
Once you're onboarded with TrueVault, follow the personalized Developer Instructions within Polaris here. The personalized instructions contain content specific to your organization to optimize the consumer experience on your website.
Integrating with TrueVault Polaris
To integrate TrueVault with your web property:
- Update all Privacy Policy links on your website to point to your new TrueVault-hosted Privacy Center
- Add our JavaScript code for our Consent Management Platform (CMP) to your website
- Add our HTML for California Privacy, Opt-Out ("Your Privacy Choices"), and Financial Incentive notices to your website
Privacy Policy Links
Your website's privacy policy links should be updated to point to the TrueVault-hosted Privacy Center:
https://privacy.<your website>.com/privacy-policy
Polaris Consent Management Platform (CMP) JavaScript
The Polaris CMP enables consent-based tag management, dynamic visibility of state-specific links (e.g., California) , and browser privacy API support (e.g., GPP, GPC). The following code should be added to the beginning of the <head>
element on your organization's website:
<!-- Start of TrueVault Polaris Code Block --> <script src="https://polaris.truevaultcdn.com/static/pc/<your unique ID>/polaris.js"> </script> <!-- End of TrueVault Polaris Code Block -->
JavaScript Guidance
To ensure that the CMP is able to function as expected:
- Polaris should be the first functional script in the
<head>
element - If you use Google Tag Manager, place the Polaris script above the GTM script
- Do not use
defer
orasync
attributes on the Polaris script
For more information on consent-based tag management, review the following articles:
- Setting up Cookie Consent in Google Tag Manager
- How Can I Block Content for Opted-Out Consumers in the US?
HTML for State-Specific Notices
California Privacy Notice
Place the code below where you'd like the link to the California Privacy Notice to appear. The link is typically placed in the website footer near the Privacy Policy link. It should also be included on any "points of collection" pages where people can sign up for emails, create an account, make a purchase (checkout), or fill out a form.
<a class="truevault-polaris-privacy-notice" href="https://privacy.<your website>.com/privacy-policy#california-privacy-notice" noreferrer noopener hidden>California Privacy Notice</a>
If you use a website designer like Webflow and cannot add shorthand attributes like hidden
, try the full version of the attribute (hidden="hidden"
).
Notice of Financial Incentive
Post the Notice of Financial Incentive link at all points on your website where a consumer can opt-in to the financial incentive or price or service difference described in the Notice.
<a class="truevault-polaris-privacy-notice" href="https://privacy.<your website>.com/privacy-policy#financial-incentive" noreferrer noopener hidden>Notice of Financial Incentive</a>
Opt-Out Notice
Place the link below where you’d like the Your Privacy Choices link to appear. The link is typically placed in the footer near the Privacy Policy link.
<a class="truevault-polaris-optout" href="https://privacy.<your website>.com/opt-out" noreferrer noopener hidden> <img src="https://polaris.truevaultcdn.com/static/assets/icons/optout-icon-blue.svg" alt="California Consumer Privacy Act (CCPA) Opt-Out Icon" style="vertical-align:middle" height="14px" /> Your Privacy Choices </a>
Next Steps
Once you have integrated TrueVault with your web property, you'll need to update any links to your legacy privacy policy and notices in other locations, like your mobile app's App Store download page, and post links to the above notices within your in-app menu (if applicable).
To enable consent-based tag management, you'll need to set up your Google Tag Manager integration by following the instructions here:
Once you're onboarded with TrueVault, follow the personalized Developer Instructions within Polaris here. The personalized instructions contain content specific to your organization to optimize the consumer experience on your website.