Free CCPA Opt-out
TermsFeed Free CCPA Opt-out adds a "Do Not Sell" opt-out banner to your website for the California Consumer Privacy Act (CCPA) and stops tagged ad scripts for visitors who opt out.
- CCPA
- Personalized Ads
Build your CCPA Opt-out.
Customize your CCPA Opt-out in 3 steps.
We recommend the title "Do Not Sell My Personal Information", since the CCPA names specific text for the opt-out link.
Choose No to show the banner only when the visitor clicks the "Change My Preferences" button, not at every page load.
Copy your CCPA Opt-out code below, then tag your JavaScript scripts as the next steps show.
Place the code right after <body>.
How to implement CCPA Opt-out.
-
Customize the CCPA Opt-out script.
-
Place the code right after
<body>. -
Tag each JavaScript script you want CCPA Opt-out to control.
CCPA Opt-out levels and categories.
Personalized Ads
Third-party JavaScript scripts that serve personalized ads to website visitors.
<script type="text/plain" ccpa-opt-out="personalized-ads"></script>
How to tag your JavaScript scripts for CCPA Opt-out.
Adjust your JavaScript scripts
The CCPA treats serving personalized ads as a possible "sale" of personal information. CCPA Opt-out lets visitors opt out of the personalized ads you serve through third-party JavaScript scripts, such as Google Ads.
You stay responsible for respecting the choices visitors make, and for an opt-out for anything the CCPA counts as a "sale" of personal information.
Example
CCPA Opt-out loads the Google Analytics tracking code for a visitor who has not opted out, and skips it for a visitor who has opted out.
-
Organize your different JavaScript scripts into separate
<script>elements. -
For any
<script>element you want to toggle through the CCPA Opt-out tool, change thetype="text/javascript"parameter totype="text/plain". -
Add a
ccpa-opt-out="personalized-ads"attribute to each script.
<!-- Google Tracking Code -->
<script type="text/plain" ccpa-opt-out="personalized-ads">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', /* Google Property ID */, 'auto');
ga('send', 'pageview');
</script>
Free CCPA Opt-out and Privacy Consent CMP, side by side.
Free CCPA Opt-out lets California visitors opt out of personalized ads. TermsFeed Privacy Consent CMP adds consent for the General Data Protection Regulation (GDPR), a "Your Privacy Choices" link, and banners by visitor location.
| Feature | Free CCPA Opt-outCode you copy to your website | Privacy Consent CMPManaged in the TermsFeed app |
|---|---|---|
| Price | Free | Free plan. Paid plans from $12 per month |
| Opt-out of personalized ads for CCPA | Yes, for each script you tag | Yes |
| Consent banner for GDPR | No | Yes |
| Different banner by visitor location | No, 1 banner for every visitor | Yes |
| Manage vendor scripts | In your website code, 1 tag per script | In 1 place in the TermsFeed app |
| Banner colors | Light or dark | Light, dark, or your brand colors |
| See Privacy Consent CMP |