Offer US visitors an opt-out of the sale and sharing of their data
Give US visitors the Do Not Sell or Share control of TermsFeed Privacy Consent through the floating "Your Privacy Choices" button or your own link. US state privacy laws such as the California Consumer Privacy Act (CCPA) require a clear way to opt out of the sale or sharing of personal data. Visitors who do not get a consent banner load every vendor from their first page, so this control is how they refuse. Check which laws apply to your business with US State Laws.
What the Do Not Sell or Share control does
The control is one toggle in the Preferences Center that switches every non-essential vendor category off or on at once. It sits under the heading "Do Not Sell Or Share My Personal Information", below a "Your Privacy Choices" heading, and reads "Accepted" or "Declined". The visitor switches it and clicks Save Preferences, and Privacy Consent stores and applies the choice like any other answer.
The toggle follows the vendor categories in both directions. A visitor with every non-essential vendor category on sees "Accepted", and switching off a single vendor category or vendor turns the toggle to "Declined". A visitor whose saved acceptance is overridden by Global Privacy Control (GPC), a browser signal that refuses the sale and sharing of data, sees "Declined" too.
Privacy Consent shows the control to a visitor in the United States, and to every visitor when your company country is the United States or is empty. A visitor elsewhere with a company elsewhere sees neither the toggle nor the "Your Privacy Choices" link, so the setup needs no condition of your own.
Where a vendor processes sensitive data, a "Limit the Use of My Sensitive Personal Information" toggle sits beside it for the same visitors and switches those vendors off or on. Flag such a vendor with "This vendor processes sensitive data" on the vendor form, as described in Add a Custom Vendor.
How visitors reach the control
US visitors reach the control through a "Your Privacy Choices" link in the consent banner, the floating button, or a link of your own. All 3 open the Preferences Center scrolled to the heading. The CCPA regulations accept this one link in place of separate Do Not Sell and Limit the Use links. Read the California rules in the TermsFeed post on the CPRA.
The link in the consent banner reaches only visitors who get a consent banner, and the "Simple" consent banner type hides it. A US visitor under the "Standard" consent logic does not get a consent banner, so the floating button or your own link is the only way in.
Keep the floating Your Privacy Choices button on
The switch 'Use a sticky "Your Privacy Choices" button?' on the Appearance page is on for a new consent banner. The button carries the California opt-out icon and shows on every page to the visitors the control applies to, whatever they answered. Turning it off brings up a warning on the Appearance page that asks you to add your own link.
Use your own link instead
Add an element with the ID open_privacy_choices_element to your footer, and a click on it opens the Preferences Center at the heading. The ID open_dnsmpi_element does the same. Use the wording the law you follow asks for, such as "Your Privacy Choices" or "Do Not Sell or Share My Personal Information".
<a href="#" id="open_privacy_choices_element">Your Privacy Choices</a>
Your link shows to every visitor, because it is part of your page. A visitor the control does not apply to opens the Preferences Center without the toggle, and sees the vendor categories only. Follow the rules for writing this link in Reopen Preferences.
What the Do Not Sell or Share control does not do
The control switches vendors off in one browser and does nothing beyond that browser. Plan the rest of your opt-out process around these limits.
- It switches off Functionality vendors too. The toggle covers every non-essential vendor category, so embeds, maps, and chat widgets stop along with advertising vendors.
- It waits for the next page load. A vendor that already ran on the page keeps running until the visitor loads another page, while consent signals follow the answer at once.
- It does not send a consent string. Privacy Consent produces no Global Privacy Platform (GPP) or US Privacy string, so advertising partners that read one get nothing from the control.
- It does not reach server-side tracking. Conversion APIs and server containers that send data from your server never see the choice.
- It does not delete cookies. Cookies a vendor set before the opt-out stay in the browser until they expire or the visitor clears them.
- It has no field of its own in the consent log. The log records the resulting event and vendor categories, such as
reject_all, and not the toggle.
Handle opt-out requests that arrive by email or form outside Privacy Consent, because the control covers only the browser where the visitor used it. Compare the control with the automatic signal in Global Privacy Control.
How to set up and test the Do Not Sell or Share control
Setting up and testing the control takes 5 steps and about 10 minutes. You need access to the consent banner in the TermsFeed app, and a way to browse as a US visitor, such as a VPN exit in the United States. The steps on a live page need no VPN when your company country is the United States.
- Open your consent banner in the TermsFeed app and click "Appearance" in the sidebar.
- Keep 'Use a sticky "Your Privacy Choices" button?' on and click "Save Appearance", or add your own link to your footer.
- Connect to the VPN, open your website in a new private window, and confirm that the button or your link appears.
- Click it and confirm that the Preferences Center opens at "Your Privacy Choices". Switch the toggle to "Declined" and click Save Preferences.
- Verify the opt-out. Open Chrome DevTools, select the Network tab, filter for
events.push, and confirm a new request with status 201. Select the Application tab, open Local storage, select your origin, and confirm"dnsmpiEnabled":falseunder the keytermsfeed_privacy_consent_state. Then return to the Network tab, filter for the host of an advertising vendor, such asfacebook.net, reload the page, and confirm that no request appears.
The visitor is now opted out on that browser for that hostname. A change to the switch reaches a visitor who loaded the settings in the last hour within 1 hour.