Home > Docs > GDPR Cookie Consent > Make your WordPress website CCPA (US Sate Laws) Complaint

Make your WordPress website CCPA (US Sate Laws) Complaint

Last updated on February 11, 2026

This article explains how to make your site comply with the California Consumer Privacy Act (CCPA), protect users’ privacy rights, and ensure transparency in how privacy information is collected, used, and shared. As part of this commitment, users can opt out of the sale of their personal data through the “Do Not Sell My Personal Information” banner. This article also explains how to add this consent banner to your site using the GDPR Cookie Consent plugin.

Steps to comply with California Consumer Privacy Act (CCPA)

Step 1. From the dashboard, navigate to Cookie Consent. This displays the content of the Cookie Banner tab.

Step 2. Now, select the Consent Law as a US State Law and set the Customize option to US State Laws.

Step 3. In the Cookie Banner tab, move to the General section.

Step 4. Set the Geo-target Banner option.

Step 5. Click on the Show advanced settings section. Now, enable Respect Do Not Track & Global Privacy Control and click Update Settings. Enabling this option will ensure that the plugin respects the “Do not track” & “Global privacy control” option set in the browser. The consent banner will not be displayed, and by default, all the consent states will be set as “denied”. A revisit consent button will be added at the bottom of the page to allow users to change their consent status later.

Set law as US State Laws and enable Global Privacy - US State Laws (CCPA)
Set law as US State Laws and enable Global Privacy – US State Laws (CCPA)

Step 6. To block the website visitor when opting out of the sale of personal data, navigate to Manage cookies > Cookie List > Edit Category and enable the option “Sell or Share personal data” for the particular cookie category and click “Save Changes” to apply the changes.

Do not sell or share personal data - US State Laws (CCPA)
Do not sell or share personal data – US State Laws (CCPA)

Step 7. The “Do not sell link” can be added to the footer of your webpage by just copy-pasting the HTML link provided in the option Do not sell link. This step is optional.

Do not sell link - US State Laws (CCPA)
Do not sell link – US State Laws (CCPA)

Step 8. You can further customize the US State Laws banner as per your liking. After you have done the required customizations, click on Update Settings. The image below shows the opt-out preference banner on the front end.

Opt-out preferences - US State Laws (CCPA)
Opt-out preferences – US State Laws

By properly configuring the GDPR Cookie Consent plugin for US State Laws, you can align your website with CCPA requirements and give users clear control over their personal data. Enabling features like “Do Not Sell My Personal Information” and Global Privacy Control helps ensure transparency, build trust, and demonstrate your commitment to protecting user privacy.