GDPRChecker

Home / Knowledge Base / CCPA How to Add a Notice of Collection and a Do Not Sell Link: A Practical Guide for Website Owners

Website Compliance

CCPA How to Add a Notice of Collection and a Do Not Sell Link: A Practical Guide for Website Owners

A practical guide for website owners on implementing CCPA notice of collection and Do Not Sell link, covering step-by-step instructions, common mistakes, validation with GDPRChecker, and a detailed checklist.

Author

GDPRChecker Editorial Team

Reviewed by

Privacy & Compliance Research Team

Last updated

August 2026

Reading time

13 min read

Educational guidance for compliance readiness — not legal advice. Requirements vary by jurisdiction and your specific processing activities.

Introduction

Ensuring your website meets California Consumer Privacy Act (CCPA) requirements can feel overwhelming, but adding a notice of collection and a “Do Not Sell My Personal Information” link is a concrete, achievable step. This guide explains **ccpa how to add a notice of collection and a do not sell link** for website owners who want to validate consent, disclosures, and tracking practices. We’ll walk through the technical implementation, highlight common pitfalls, and show how to verify everything with a scanner like GDPRChecker.

**Important:** This guide provides technical implementation guidance, not legal advice. Always consult a qualified privacy professional for your specific situation.

Why These Disclosures Matter for Website Compliance

Beyond legal obligation, these disclosures build trust and transparency. When a user lands on your site, they should immediately understand what data you collect and have a clear path to opt out of data sales. From a technical standpoint, this involves:

  • **Visible UI elements:** The notice and link must be easy to find, not buried in a long privacy policy.
  • **Functional opt-out:** Clicking the link must trigger a mechanism that stops the sale/sharing of personal information, often by setting a cookie or flag that signals downstream tools (like Google Analytics or advertising pixels) to adjust their behavior.
  • **Verifiable changes:** After a user opts out, your site must stop sending personal information to third parties for monetary or other valuable consideration. This is where scanning becomes essential.

GDPRChecker scans help verify pre-consent network requests, banner behavior, and disclosure gaps after changes. For example, you can run a scan before and after implementing your Do Not Sell link to confirm that third-party cookies and trackers are blocked or restricted when a user opts out.

How to Implement Step by Step

Implementing these disclosures involves both front-end changes and back-end logic. Here’s a practical, step-by-step approach.

1. Draft Your Notice of Collection

Your notice of collection should be a concise statement that appears at or before the point of data collection. This could be:

  • A banner on your homepage.
  • A pop-up when a user first visits.
  • A link near a form where you collect email addresses.

The notice must list:

  • Categories of personal information collected (e.g., identifiers, internet activity, geolocation).
  • Business or commercial purpose for collection.
  • A link to your full privacy policy.

**Example wording:** “We collect identifiers (like email and IP address) and internet activity to improve our services and for marketing. See our Privacy Policy for details.”

2. Add the “Do Not Sell My Personal Information” Link

Place a clearly labeled link on your homepage and any landing page where you collect data. The link text should be exactly “Do Not Sell My Personal Information” or “Do Not Sell or Share My Personal Information.”

**Implementation options:**

  • **Footer link:** Add a link in your site’s footer that appears on every page.
  • **Banner link:** Include the link in a consent banner or pop-up.
  • **Dedicated page:** The link can lead to a page with an opt-out mechanism and additional information.

When a user clicks the link, you must present them with a clear opt-out mechanism. This is often a toggle or button that, when activated, sets a first-party cookie (e.g., `ccpa_opt_out=true`) and triggers your tag manager to suppress data-selling tags.

3. Configure Your Tag Manager and Consent Settings

If you use Google Tag Manager, you need to ensure that tags that sell or share personal information are only fired when the user has not opted out. This typically involves:

  • Creating a custom JavaScript variable that reads the opt-out cookie.
  • Setting up a trigger exception that blocks tags when the opt-out cookie is present.
  • Integrating with Google Consent Mode v2 to signal user choices to Google tags.

**Example:** In Google Tag Manager, create a variable called “CCPA Opt-Out” that returns `true` if the `ccpa_opt_out` cookie is set. Then, for any advertising or analytics tags that may involve data selling, add a trigger exception that prevents firing when “CCPA Opt-Out” equals `true`.

For more on consent mode, see Google’s Consent Mode documentation.

4. Update Your Privacy Policy

Your privacy policy must describe:

  • The categories of personal information you’ve collected in the past 12 months.
  • The categories of sources.
  • The business purpose for collection.
  • Whether you sell or share personal information, and if so, how to opt out.
  • Consumer rights under CCPA.

Link to your privacy policy from the notice of collection and the Do Not Sell page. For a deeper dive, see our guide on privacy policy requirements.

5. Test the Opt-Out Flow

After implementation, test thoroughly:

  • Click the Do Not Sell link and verify the opt-out mechanism works.
  • Check that the opt-out cookie is set correctly.
  • Use browser developer tools to confirm that third-party requests (e.g., to ad networks) are blocked after opt-out.
  • Test on different browsers and devices.

**Common mistake:** The opt-out cookie is set but tags still fire because the trigger exception is misconfigured. Always verify with a scanner.

Common Mistakes and How to Avoid Them

Even well-intentioned implementations can fail. Here are the most frequent issues we see:

| Mistake | Consequence | How to Avoid | | :--- | :--- | :--- | | **Burying the Do Not Sell link** in a long privacy policy or making it hard to find. | Non-compliance; users can’t exercise their rights. | Place the link prominently in the footer or a sticky banner. | | **Using a link that doesn’t actually stop data sales.** | Illusion of compliance; data still flows to third parties. | Implement a functional opt-out mechanism that blocks tags and cookies. | | **Failing to update the notice of collection** when data practices change. | Misleading consumers; potential enforcement action. | Review and update notices whenever you add new tools or change data use. | | **Ignoring mobile responsiveness.** | Link or notice may be hidden on small screens. | Test on mobile devices; use responsive design. | | **Not testing after site updates.** | A plugin update or new tag can break the opt-out. | Run a compliance scan after any significant change. | | **Assuming a consent banner alone is enough.** | CCPA requires a specific Do Not Sell link, not just a cookie consent banner. | Add the dedicated link in addition to any consent management platform. |

How to Validate with GDPRChecker

Once you’ve added your notice and Do Not Sell link, you need to verify that everything works as intended. GDPRChecker scans can help you:

  • **Detect pre-consent network requests:** Ensure that no third-party trackers fire before the user has a chance to opt out.
  • **Check banner behavior:** Confirm that your notice of collection appears correctly and that the Do Not Sell link is present and functional.
  • **Identify disclosure gaps:** Scan for missing policy links or incomplete disclosures.
  • **Monitor ongoing compliance:** Schedule regular scans to catch regressions.

**How to use GDPRChecker for this:**

  1. Run a baseline scan of your site before making changes.
  2. Implement your notice and Do Not Sell link.
  3. Run a new scan and compare the results.
  4. Look for any trackers that are still firing after opt-out, missing links, or banner issues.
  5. Fix any problems and rescan until clean.

GDPRChecker’s scanning is designed for public website compliance checks, including cookie, tracker, consent-banner, and policy-link verification. It does not replace a full legal audit but gives you technical evidence that your disclosures are working.

Real-World Examples

Example 1: E-commerce Site with Analytics and Ads

An online store collects email, IP, and browsing behavior for marketing and analytics. They add a footer link “Do Not Sell My Personal Information” that leads to a page with a toggle. When toggled, a first-party cookie is set, and Google Tag Manager blocks Facebook Pixel and Google Ads remarketing tags. A GDPRChecker scan confirms that after opt-out, no data is sent to these platforms.

Example 2: B2B SaaS with LinkedIn Insight Tag

A B2B company uses LinkedIn Insight Tag for lead generation. They implement a notice of collection on their demo request form and a Do Not Sell link in the footer. The opt-out sets a cookie that prevents the LinkedIn tag from firing. For more on this, see our guide on LinkedIn Insight Tag GDPR compliance.

Example 3: Content Publisher with Multiple Ad Networks

A news site has dozens of ad tags. They use a consent management platform that includes a Do Not Sell link. However, a scan reveals that one ad network still fires because it’s hardcoded outside the tag manager. They move it into the tag manager and apply the opt-out trigger, resolving the issue.

Implementation Checklist

Use this checklist to ensure you’ve covered the essentials:

  1. Draft a notice of collection that lists categories of personal information and purposes.
  2. Place the notice at or before the point of collection (homepage banner, form page, etc.).
  3. Add a “Do Not Sell My Personal Information” link in the footer or a prominent location.
  4. Create a dedicated opt-out page or mechanism that sets a first-party opt-out cookie.
  5. Configure your tag manager to block data-selling tags when the opt-out cookie is present.
  6. Integrate with Google Consent Mode v2 if using Google tags.
  7. Update your privacy policy to include CCPA disclosures and link to it from the notice and opt-out page.
  8. Test the opt-out flow on desktop and mobile.
  9. Run a GDPRChecker scan to verify that no third-party trackers fire after opt-out.
  10. Document your implementation and keep records of consent and opt-out preferences.
  11. Schedule regular scans (e.g., monthly) to catch any regressions.
  12. Review and update notices whenever you change data practices or add new tools.

FAQ

What is ccpa how to add a notice of collection and a do not sell link? It’s the process of implementing two key CCPA requirements on your website: a notice that tells consumers what personal information you collect and why, and a clear “Do Not Sell My Personal Information” link that lets them opt out of data sales. This involves both front-end disclosures and back-end mechanisms to stop data sharing.

Do I need ccpa how to add a notice of collection and a do not sell link for GDPR? No, these are specific to the California Consumer Privacy Act. However, if you have visitors from California and meet certain thresholds (e.g., annual revenue over $25 million, buy/sell personal information of 100,000+ consumers, or derive 50%+ revenue from selling personal information), you likely need to comply. GDPR has its own transparency and consent requirements.

How do I implement ccpa how to add a notice of collection and a do not sell link? Start by drafting a notice of collection and placing it where you collect data. Add a “Do Not Sell” link in your footer. Create an opt-out mechanism that sets a cookie and blocks data-selling tags via your tag manager. Update your privacy policy, test thoroughly, and verify with a scanner like GDPRChecker.

How can I verify ccpa how to add a notice of collection and a do not sell link with a scanner? Use GDPRChecker to scan your site before and after implementation. The scanner checks for pre-consent network requests, banner presence, policy links, and whether trackers fire after opt-out. It provides a report highlighting gaps so you can fix them.

What are common ccpa how to add a notice of collection and a do not sell link mistakes? Common mistakes include burying the Do Not Sell link, having a non-functional opt-out, not updating notices when data practices change, ignoring mobile responsiveness, and failing to test after site updates. These can lead to non-compliance and erode user trust.

Which cookies and trackers should I check for ccpa how to add a notice of collection and a do not sell link? Check any third-party cookies or trackers that may involve selling or sharing personal information, such as advertising pixels (Facebook, LinkedIn), analytics tags that share data with ad platforms, and data broker scripts. A scanner can help identify all such trackers on your site.

How often should I review ccpa how to add a notice of collection and a do not sell link? Review at least annually, or whenever you change your data practices, add new third-party tools, update your site, or after a significant regulatory update. Regular scanning (e.g., monthly) helps catch unintended changes.

What evidence should I keep for ccpa how to add a notice of collection and a do not sell link? Keep records of your implementation: screenshots of notices and links, documentation of your opt-out mechanism, tag manager configurations, scan reports showing compliance, and any consumer opt-out requests and responses. This evidence can demonstrate good-faith efforts if questioned.

Conclusion

Adding a notice of collection and a Do Not Sell link is a foundational step for CCPA compliance. By following the steps above, you can implement these disclosures correctly and verify them with GDPRChecker scans. Remember, **ccpa how to add a notice of collection and a do not sell link** is not a one-time task—it requires ongoing monitoring and updates as your site and data practices evolve.

Ready to check your site? Run a GDPRChecker scan today to see if your disclosures are working as intended.

Comparison: common implementation approaches

| Approach | Best for | Evidence to retain | Trade-off | | --- | --- | --- | --- | | A shared consent record | Smaller sites with one banner and a limited set of tags | Consent choice, timestamp, policy version, and affected pages | Requires a reliable process when the banner changes | | A tag-manager based record | Teams that control analytics and advertising tags centrally | Consent defaults, trigger conditions, publish history, and test results | Can miss scripts added outside the tag manager | | A CMP or external consent platform export | Sites with multiple domains, vendors, or regional workflows | Vendor configuration, consent events, retention settings, and audit exports | Adds provider configuration and recurring review work |

Choose the approach that matches the site's tracking complexity, then verify that the stored evidence can explain what a visitor saw and what tags were allowed at that time.

Article schema

```json { "@context": "https://schema.org", "@type": "Article", "headline": "CCPA How to Add a Notice of Collection and a Do Not Sell Link: A Practical Guide for Website Owners", "description": "Learn how to add a CCPA notice of collection and a Do Not Sell link on your website. Step-by-step implementation, common mistakes, and how to verify compliance with GDPRChecker scans.", "mainEntityOfPage": { "@type": "WebPage", "@id": "https://www.gdprchecker.online/guides/ccpa-how-to-add-a-notice-of-collection-and-a-do-not-sell-link" }, "publisher": { "@type": "Organization", "name": "GDPRChecker", "url": "https://www.gdprchecker.online" } } ```

GDPRChecker guides are educational resources and do not constitute legal advice. Use them to understand technical and operational privacy requirements, and consult qualified counsel for legal interpretation.

Check Your Website in Under 60 Seconds

  • No signup required
  • GDPR-focused checks
  • Cookie banner detection
  • Privacy policy verification