Normal view

Received before yesterday

Beginner’s Guide to VCDPA Compliance in WordPress

28 July 2025 at 10:00

When I first learned about the Virginia Consumer Data Protection Act (VCDPA), I’ll admit I felt a bit overwhelmed.

As someone who’s managed WordPress sites for many years, the idea of learning yet another privacy law felt like a lot. But when I dug into it, I realized it’s more straightforward than it looks.

Still, I’ve seen plenty of site owners make compliance harder than it needs to be—either by overcomplicating the process or missing simple steps.

That’s why I created this guide. I’ll walk you through the VCDPA’s core requirements step by step and share the tools I use to improve WordPress compliance without getting overwhelmed by legal jargon.

Beginner's Guide to VCDPA Compliance in WordPress

What is the Virginia Consumer Data Protection Act (VCDPA)?

The Virginia Consumer Data Protection Act (VCDPA) is a state privacy law that gives Virginia residents more control over their personal data. This includes information that can identify someone directly or indirectly—like names, email addresses, IP addresses, or data collected through website forms or tracking tools.

Even if your business isn’t based in Virginia, the VCDPA might still apply to your WordPress site. What matters is whether you collect personal data from Virginia residents.

That said, the law doesn’t apply to every site. It’s mainly aimed at larger businesses and organizations.

Generally, you need to comply with the VCDPA if you:

  • Control or process the personal data of 100,000 or more Virginia consumers in a calendar year, or
  • Control or process the personal data of at least 25,000 Virginia consumers and get over 50% of your total revenue from selling personal data.

Keep in mind that the law also only applies to businesses or organizations operating for commercial purposes.

If your site fits one of those categories, then it’s essential to understand how the VCDPA works and what steps you need to take to stay compliant.

Why Should WordPress Users Care About VCDPA Compliance?

If your WordPress site falls under the VCDPA, then staying compliant helps you avoid potential penalties. The Virginia Attorney General enforces the VCDPA, and violations can lead to fines of up to $7,500 per incident.

Fortunately, you’ll usually receive a 30-day warning and a chance to fix the issue before any penalties are applied.

It’s also worth noting that consumers can’t directly sue you under this law. Only the Attorney General can take action, which adds a layer of protection, but doesn’t mean you should ignore compliance.

More importantly, showing that you care about user privacy helps build trust with your audience.

When visitors know you’re being transparent and responsible with their data, they’re more likely to stick around, sign up for your email newsletter, or make a purchase from your online store.

Simply put, staying compliant is not just a legal duty. It’s also a key part of building trust and achieving long-term success.

How VCDPA Affects Your WordPress Site

If your site is covered by the VCDPA, then you’re required to support several privacy rights for your visitors. That means making it easy for Virginia residents to control how their personal data is collected, used, and deleted.

As a WordPress site owner, here are the main rights you need to understand and support:

  • The Right to Know: Visitors can ask what personal data you’ve collected about them.
  • The Right to Correction: They can request that you fix any incorrect or outdated information.
  • The Right to Opt-Out: Users can ask you not to sell or share their personal data with other companies.
  • The Right to Data Portability: They can request a copy of their personal data in a format they can use elsewhere, like a ZIP file.
  • The Right to Delete: Users can ask you to permanently delete the data you’ve collected about them.

Throughout this guide, I’ll show you how to support each of these rights using WordPress tools and beginner-friendly strategies.

How to Improve Your VCDPA Compliance in WordPress

VCDPA compliance may sound technical. But at its core, it’s about being transparent with your visitors and giving them control over their personal data.

As a WordPress site owner, there are practical steps you can take to meet these requirements. These include limiting how much data you collect, creating clear policies, and making it easy for users to opt out or request changes.

In this article, I will walk you through each part of the process. You can follow them step-by-step or jump to the parts that apply to your site using the links below:

Perform a Data Audit

The first step to VCDPA compliance is understanding how your website collects and stores personal data. That means reviewing the tools, plugins, and services you use—and documenting the information they gather.

To start, I recommend making a list of every WordPress plugin on your site, along with any third-party tools that interact with user data. This could include analytics platforms, form builders, or SEO tools.

Once you have that list, check what kind of personal information each tool collects. For example, if you’ve added a quote request form, you’ll want to record whether it asks for names, company details, or job titles.

To guide your audit, ask yourself:

  • What personal data do I collect? This includes names, email addresses, IP addresses, payment details, and any other data submitted through forms or comments.
  • Where is this data stored? Is it saved on your own server or sent to an outside service?
  • Why am I collecting this information? The VCDPA says data must be “adequate, relevant, and reasonably necessary” for your stated purpose.
  • How long do I keep it? You should only store personal data as long as it’s needed for its original purpose.
  • Do I share this data with anyone? This includes service providers, third-party tools, or advertising networks. Be sure to note whether any of this data is used for targeted ads.

Once you’ve completed your audit, you’ll have a clear picture of what data you collect, where it’s stored, and what you need to adjust to meet VCDPA requirements.

Create a Data Compliance Record

After completing your data audit, the next step is to keep a written record of what you found. This document should explain the actions you’ve already taken to follow the VCDPA, along with any updates or fixes you made during your audit.

By creating this record, you’ll have clear proof that you take privacy seriously. That can be helpful if you’re ever audited or if someone asks about your compliance practices.

As you’ll see throughout this guide, it’s not enough to follow the VCDPA behind the scenes. You also need to be able to show that you’re doing things the right way.

Every business website is different, but I recommend running a new data audit and updating your records at least once per year.

You should also update your records any time you change how your site collects or uses personal data. For example, after installing a new plugin that collects user info, or when the law itself changes, it’s a good time to revisit your audit and notes.

Keeping this record up to date doesn’t take much time, and it’ll make compliance much easier in the long run.

Collect Less Data

The VCDPA says you should only collect personal data that’s “adequate, relevant, and reasonably necessary” to meet a specific goal.

In other words: don’t collect anything you don’t truly need.

This idea is known as data minimization. It means reviewing what you currently collect and looking for ways to reduce it. If a piece of information isn’t essential for your site to function—or for the task at hand—it’s better to leave it out.

After completing your data audit, carefully review all the information you collect. Ask yourself: “Do I truly need every single piece of information I’m asking for?”

If something isn’t necessary, remove it. The less data you collect, the easier it is to stay compliant, and the less you’ll have to manage when users make requests.

This approach also builds trust. By avoiding unnecessary questions, you show that you respect your visitors’ privacy and value their time.

Create a Privacy Policy

A privacy policy is a page on your website that clearly explains what personal data you collect, how you use it, and who you share it with.

Having a clear, up-to-date privacy policy is essential for VCDPA compliance. It helps visitors understand how their information is handled and directly supports the VCDPA’s Right to Know requirement.

To make things easier, WordPress includes a built-in tool for creating a privacy policy. You can find it by going to Settings » Privacy in your WordPress dashboard. 

How to generate a privacy policy, using the built-in WordPress tools

Alternatively, you can use our own WPBeginner privacy policy page as a starting point. 

Just remember to change all mentions of ‘WPBeginner’ to your specific business or website name. 

WPBeginner's privacy policy template

Want more detailed instructions? We also have a complete, step-by-step guide on how to add a privacy policy in WordPress.

If your site already has a privacy policy, that’s great, but you’ll still need to review and update it to reflect the VCDPA.

In particular, make sure it covers the key rights your visitors have:

  • Right to Know
  • Right to Delete
  • Right to Correction
  • Right to Opt Out

You’ll also need to explain how users can act on those rights. For example, you might link to a contact form where visitors can request access to their data, or provide steps for updating their profile information.

Finally, don’t forget to keep your privacy policy up to date. This ensures it always reflects your current data practices and any changes to the VCDPA.

Add a Cookie Popup

Many websites use cookies to track user behavior, display ads, or measure analytics. If your site does this, the VCDPA expects you to inform users and give them a way to opt out.

Unlike the GDPR, which requires visitors to actively agree before data is collected, the VCDPA follows an opt-out model. That means you can often collect data by default—as long as users are told what’s being collected and can say no if they want to.

One of the simplest ways to meet this requirement is by adding a cookie popup. A good popup should explain what types of cookies your site uses, what data is being collected, and how that information is used. It should also give users a clear way to opt out.

An example of a cookie consent banner, created using WPConsent

I recommend using WPConsent for this. It’s the same plugin we use on WPBeginner to manage cookie banners and user consent.

It works well for WordPress beginners and is actively updated to follow privacy laws like the VCDPA, GDPR, and CCPA.

💡Want to know more about how WPConsent works on our site? Our in-depth WPConsent review has all the details. 

WPBeginner's cookie consent popup, created using WPConsent

You can also find a free version of WPConsent in the WordPress plugin directory.

To get started, simply install and activate the plugin.

After you activate it, WPConsent will automatically scan your site for active cookies. It will then record all the cookies it finds. 

Scanning your WordPress blog or website for all active cookies

Next, WPConsent’s setup wizard will help you change how your cookie popup looks. You can adjust the layout, the text size, button styles, colors, and even add your own custom logo

As you make changes, WPConsent will show a live preview. This lets you see exactly how the banner will look on your WordPress website. 

Designing a cookie consent banner using the WPConsent WordPress plugin

When you’re happy with how everything is set up, just save your changes. The cookie banner will then appear on your WordPress website, helping you comply with the VCDPA.

For more detailed instructions, see our full guide on how to add a cookie popup in WordPress.

Write a Separate Cookie Policy 

A cookie popup is a good starting point, but it’s also smart to create a dedicated cookie policy.

This separate page gives visitors more detail about how your site uses cookies. That way, they can better understand what personal information you collect and how it’s used.

In your cookie policy, you should list all the different types of cookies you use on your site. For example, you might use essential cookies (required for your site to work), analytics cookies (to measure website traffic), or marketing cookies (for advertising).

You should also explain what each type of cookie does. For example, some cookies might track user behavior or deliver targeted ads.

It’s also a good idea to describe what kinds of personal data each cookie collects. This might include a visitor’s IP address, device type, or browsing activity.

To build trust, keep your cookie policy easy to understand. This means you should avoid technical terms or legal words that are hard to follow. Instead, use clear and direct language that anyone can read.

Once your cookie policy is written, make sure it’s easy to find. I recommend linking to it from your footer and your cookie popup, as well as your main privacy policy.

Luckily, a tool like WPConsent can do much of this for you. 

As you saw earlier, when you first install WPConsent, it automatically scans your site and identifies any active cookies.

To do this, go to WPConsent » Settings

The WPConsent cookie consent plugin for WordPress

In the plugin’s settings, choose the page where you want to display the cookie policy.

WPConsent will then add this policy to your chosen page. It’s that simple. 

An example of a cookie policy, created using WPConsent

If you’re using WPConsent to display a cookie popup, then visitors can now access this policy directly from the popup itself.

They just need to select the ‘Preferences’ button. 

Accessing the cookie policy, directly from a WordPress banner

From there, they can click the ‘Cookie Policy’ link. 

WPConsent will then take them straight to the correct page.

Linking directly to your cookie policy, from a WordPress popup created with WPConsent

Block Third-Party Scripts

One of the most challenging things about VCDPA compliance is that it also covers external tracking tools. These include popular services like Google Analytics and Facebook Pixel.

The reason for this is simple: these tracking tools often collect visitor data. Under the VCDPA, you’re responsible for managing how these third-party tools collect, store, and use that personal information.

You also need to give visitors a way to stop these tools from tracking them if they choose.

So, how do you control tracking scripts from other companies? There’s an easy answer: automatic script blocking.

The VCDPA generally allows the use of tracking tools unless a visitor opts out, especially when used for targeted advertising. But a best practice for building user trust is to block tracking scripts until the visitor opts in.

This approach goes beyond VCDPA requirements and also helps you comply with stricter laws like GDPR. With this feature, scripts won’t load until the visitor explicitly agrees.

It also provides visitors with the information they need to understand what they’re agreeing to before you collect any data. This helps you meet the VCDPA’s Right to Know rule.

Plus, you’re getting a head start on complying with other privacy laws like Europe’s GDPR, which does require opt-in consent. It’s a great way to make your website’s privacy practices strong all around. 

Fortunately, WPConsent has an automatic script blocking feature that works out of the box.

Simply activate the plugin, and it will find and block common tracking scripts automatically. This includes tools like Google Analytics, Google Ads, and Facebook Pixel. Even better, WPConsent does this without breaking your site.

As soon as a visitor gives their consent, WPConsent will run the blocked script. This provides a very smooth user experience because the page does not need to reload.

Track and Log Visitor Consent

Even if you follow all the VCDPA rules, regulators might still question how you handle data or even audit your site.

If this happens, you’ll need to prove that you’re respecting your audience’s choices. That’s why it’s important to keep a detailed record of user consent.

WPConsent makes this easy by automatically logging each user’s consent. It saves all the important details, including the user’s IP address, their consent choices, and the exact date and time they made those choices.

You can see this information at any time by going to WPConsent » Consent Logs in your WordPress dashboard.

How to comply with the VCDPA by creating a privacy consent log

Need to share this information with an auditor or team member? You can export it from your WordPress dashboard in just a few clicks.

To do this, just click the ‘Export’ tab. Then, enter the ‘From Date’ and ‘To Date’ for the export. This creates a CSV file, ready for you to share with auditors, customers, and anyone else who needs access.

Provide an Easy Opt-Out for Data Sales

Under the VCDPA, if your site sells or shares personal data, then you must give visitors a way to opt out.

The easiest way to do this in WordPress is with WPConsent’s Do Not Track add-on. Despite its name, it gives you exactly what you need to meet the VCDPA’s opt-out of sale requirement.

To get started, go to WPConsent » Do Not Track » Configuration inside your WordPress dashboard. 

WPConsent will then guide you through the steps to install this add-on and create a ‘Do Not Track’ form. 

How to achieve VCDPA compliance with WPConsent

🌟 Want more detailed instructions? Then see our guide on how to create a Do Not Sell My Info page in WordPress.

Once it’s active, visitors can fill out a simple form to opt out of the sale or sharing of their data.

Even better, WPConsent stores all opt-out requests directly on your website in a secure table. That way, you keep full control over sensitive data instead of depending on external services.

It also logs each request automatically, giving you built-in proof of compliance in case of an audit.

Support the ‘Right to Delete’

As I mentioned earlier, the VCDPA gives users the right to ask you to delete their personal data.

There are different ways to handle these requests, but the easiest is to add a ‘data erasure’ form to your site.

This is where WPForms can help. It’s a user-friendly form builder that lets you create all kinds of forms using a drag-and-drop editor.

🌟 Here at WPBeginner, we’re not just recommending WPForms – we built all our own forms with it!

From our contact pages to our surveys, it’s all powered by WPForms. We use it daily, which is why we’re confident recommending it.

Ready to see why it’s our go-to? Dive into our detailed WPForms review.

When it comes to fulfilling the VCDPA’s ‘Right to Delete’, WPForms comes with a ready-made Right to Erasure Request Form template.

How to comply with the Virginia Consumer Data Protection Act (VCDPA)  using WPForms

This provides a strong starting point, so you can add this important form to your site quickly and easily. 

After installing WPForms, you can customize the Right to Erasure Request Form template in a user-friendly editor. This makes it easy to add, remove, and change the default fields.

When you’re happy with how the form is set up, you can add it to your site using either a shortcode or the WPForms block. 

How to add data request forms to your WordPress blog or website

Finally, you’ll want to make sure visitors can find this form easily. I recommend linking to it from your privacy policy or even embedding the form directly on your privacy policy page.

WPForms also includes an entry management system that lets you filter form submissions and act on new deletion requests right away.

To review your entries, go to WPForms » Entries in the WordPress dashboard. 

Managing data request submissions in the WordPress dashboard

You’ll now see all the different forms you’ve created. Simply find the data erasure form and give it a click.

WPForms will now display all your ‘delete data’ requests.

Ensuring your WordPress website complies with the Virginia Consumer Data Protection Act (VCDPA)

To process these requests, you can use WordPress’s built-in ‘Erase Personal Data’ tool, which lets you delete user information with just a few clicks.

To begin, go to Tools » Erase Personal Data

How to delete user data upon request

In the ‘Username or email address’ field, type in the user’s name or email.

This tool also has a ‘Send personal data erasure confirmation email’ setting. You can use it to let the user know you’ve deleted their data.

Notifying users and customers automatically when you delete their private data

For full VCDPA compliance, you’ll also need to delete this data from any other tools or services where it’s stored.

By creating this clear process, you are making it easy for users to exercise their ‘Right to Delete,’ which is a core part of VCDPA compliance.

Handle Data Access Requests Efficiently

Under the VCDPA, visitors have two related rights: the right to access their data and the Right to Data Portability. This means they can request a copy of their personal data in a format that’s easy to use.

The good news is you can handle these requests the same way you manage data deletion.

To start, you can add a data access form to your site using WPForms. It includes a ready-made Data Request template designed to collect all the information needed to identify the user in your records.

An example of a VCDPA-compliant data request template, provided by WPForms

After adding this form to your site, WPForms will automatically record and show all access requests directly in your WordPress dashboard.

That way, you can view and respond to new requests as they arrive.

To review these requests, just go to WPForms » Entries

How to process customer, visitor, and user requests efficiently

Here, select your data request form. WPForms will then show all the entries for this form.

WordPress also includes a built-in Export Personal Data tool. You can use this to get all known data for any user, conveniently packaged as a .zip file. 

To create this file, go to Tools » Export Personal Data in your WordPress dashboard.

How to export the customer's data upon request

You can then type in the person’s username or email address to find the correct record.

Then, simply share the .zip file with the person who made the request.

Exporting the user's personal data from your website, using the built-in WordPress tools

Support the ‘Right to Correction’

Under the VCDPA, people can ask you to correct or update their personal data if it’s wrong or incomplete. 

This might happen after a user requests and reviews a copy of their personal data. Or, some visitors may contact you directly if their information changes.

For example, they might move to a new address, get a new phone number, or want to update other details they previously shared with you.

As with the other user rights, the easiest way to comply with the VCDPA is by adding a form to your site. And once again, WPForms has a ready-made template designed for this exact task.

The Personal Information Form Template comes with a built-in ‘Update Existing Record’ checkbox. Users can check this box to show they’re sending information to update a profile you already have for them.

This means you’ll immediately know why the user submitted this form. 

How to update the user's personal records upon request, in accordance with the VCDPA

This template comes with many essential fields already included, such as legal name, preferred nickname, email address, home phone, and cell phone.

However, every website stores different kinds of information, so you may need to customize the form to collect additional details.

In that case, you can simply open the template in the WPForms editor. Here, you can add more fields to the form using simple drag-and-drop.

How to comply with important privacy laws using the WPForms drag-and-drop editor

You can then fine-tune these fields using the left-hand panel. Just repeat these steps until the form collects all the information your users might want to edit.

With that done, you can publish the form on your site as normal.

Don’t forget to make your correction form easy to find on your site. I recommend adding a link in important places, such as your website’s footer or privacy policy.

Displaying important privacy links in your website's footer

Remember that WPForms shows all form entries directly in your WordPress dashboard. This makes it easy to spot data correction requests as they come in.

How you update a user’s information will depend on the tools and software your site uses. For example, you might need to update a record inside your customer relationship management (CRM) app or email management software.

If the data is stored directly in WordPress, go to Users » All Users in your dashboard.

Here, find the user profile you need to update and click its ‘Edit’ link. 

Updating a user's profile inside the WordPress dashboard

You will now see all the essential information WordPress has stored for that user.

From here, you can make any necessary changes and then save the user’s updated profile.

How to update a user's profile using the built-in tools

FAQs About VCDPA Compliance in WordPress

VCDPA compliance can seem overwhelming at first, but it doesn’t have to be.

To help you out, here are some of the most common VCDPA questions we hear at WPBeginner.

These answers cover the key parts of VCDPA compliance, clear up common concerns, and show you how to stay on the right side of the law.

What Is VCDPA and How Does It Affect My WordPress Site?

The VCDPA is a privacy law that gives Virginia residents more control over their personal data.

If your WordPress site handles personal data of Virginia residents and meets certain thresholds (such as processing the data of 100,000 or more consumers), then you must follow the VCDPA in order to avoid penalties. 

How Does VCDPA Differ From GDPR?

Both the VCDPA and GDPR focus on protecting personal data. However, the VCDPA applies specifically to residents of Virginia. 

It also has some unique rules not found in GDPR. For example, VCDPA generally uses an ‘opt-out’ approach for most data collection. This means you can collect data unless a user specifically tells you not to. 

Meanwhile, the GDPR typically requires an opt-in, which means you need to get the user’s clear agreement before collecting their data. 

That’s why it’s important to understand which privacy laws apply to your site.

What Should I Do If I Receive a Data Request (Like a Right to Delete Request)?

If you get a request from a Virginia resident to access, delete, or correct their personal data, you must respond as soon as possible, but in all cases within 45 days.

This period may be extended once by another 45 days when reasonably necessary, as long as you inform the consumer within the first 45-day window.

This means confirming the request, providing the requested data, and taking the correct action, like deleting that data.

Since you’re on a deadline, it’s important to have a clear process for handling these requests.

How Do Small Websites Handle VCDPA Compliance?

Smaller websites may need to comply if they meet the VCDPA thresholds for processing Virginia consumer data. This means they:

  • Process the personal data of 100,000 or more Virginia consumers in a year, OR
  • Process data of at least 25,000 consumers and get over 50% of their total income from selling that data.

If your site qualifies, here’s how you can start working toward compliance:

  • Setting up plugins to help with privacy management, such as cookie consent tools and form plugins for collecting data requests.
  • Avoid collecting unnecessary data, and stick to data minimization.
  • Ensure all data collection methods follow the VCDPA rules.
  • Keep your privacy and cookie policies up to date so they reflect your current practices.

Even if you’re running a smaller site, having the right tools and processes in place can make VCDPA compliance much easier and help you build trust with your audience along the way.

Additional Resources for Privacy Compliance

Complying with privacy laws isn’t a one-time task. You’ll need to continue learning and working on your site to remain in line with the law.

With that said, here are some resources to help you on that journey:

I hope this beginner’s guide to VCDPA compliance for WordPress websites has helped you understand this important privacy law. Next, you may want to see our expert picks for the best GDPR plugins to improve compliance, or see our guide on how to keep personally identifiable info out of Google Analytics

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post Beginner’s Guide to VCDPA Compliance in WordPress first appeared on WPBeginner.

UCPA Compliance in WordPress: The Ultimate Beginner’s Guide

18 July 2025 at 10:00

When I launched my first WordPress site, privacy laws were pretty straightforward. You added a privacy policy, maybe updated your terms of service, and moved on.

But things have changed in recent years. States like Utah have introduced strict privacy laws that apply to businesses worldwide, even if you’re not based in the U.S.

Under the Utah Consumer Privacy Act (UCPA), you could face fines of up to $7,500 per violation. And most of the official guidance is written for lawyers, not for WordPress users just trying to stay compliant.

If you’ve been struggling to make sense of what’s required, you’re not alone. I created this guide to help everyday website owners understand how the UCPA works and what steps to take inside WordPress.

I’ve spent a lot of time researching the law, testing plugins, and finding the easiest tools. That way, you can stay focused on growing your business.

UCPA Compliance in WordPress: The Ultimate Beginner's Guide

Disclaimer: We’re not lawyers. This article is for informational purposes only and does not constitute legal advice. We highly recommend consulting with a qualified legal professional to ensure your business is fully compliant with the UCPA and other privacy regulations.

What is the Utah Consumer Privacy Act (UCPA)?

The Utah Consumer Privacy Act (UCPA) is a privacy law designed to protect the personal information of Utah residents. It tells businesses how they should collect, use, and store personal data.

In this context, personal data means any information that can identify someone, such as names, email addresses, IP addresses, or even device IDs.

The UCPA can affect businesses in many locations, not just those based in Utah or even the United States. If your site handles data from people who live in Utah, then the UCPA may apply to you.

However, it’s important to note that the UCPA doesn’t apply to every WordPress blog or website. Instead, it’s aimed at larger businesses that meet a few specific conditions.

First, you must conduct business in Utah or offer products or services that target Utah residents.

Next, your business must have an annual revenue of $25 million or more.

You’ll also need to meet at least one of the following data processing thresholds:

  • Control or process the personal data of 100,000 or more Utah consumers.
  • Get more than 50% of your gross revenue from selling personal data and control or process the data of 25,000 or more Utah consumers.

These requirements are fairly specific, especially compared to some other privacy laws.

However, if your business meets these criteria, then it’s important to make sure you’re following the UCPA.

Why Should WordPress Users Care About UCPA Compliance?

Breaking the UCPA can result in serious fines. If your business violates this law, the Utah Attorney General will start by sending you a written notice. You’ll then have 30 days to fix the issue. This is known as a ‘cure period.’

If you don’t resolve the problem within that window, the Attorney General can begin issuing fines.

You could be fined up to $7,500 for each violation. And every misuse of personal data counts as a separate violation.

These penalties can add up quickly for qualifying businesses. For example, if you mishandle the data of 100 Utah residents, you could face up to $750,000 in penalties.

How UCPA Affects Your WordPress Site

As I’ve already mentioned, the UCPA is a state-level privacy law that gives consumers specific rights over their personal data.

Here are a few key consumer rights that may affect your WordPress website:

  • The Right to Know: Users can ask for information on the personal data you collect about them. That means you’ll need to clearly explain your data collection practices.
  • The Right to Correction: Users can request corrections to any inaccurate information.
  • The Right to Delete: Users can ask you to remove their personal data.
  • The Right to Data Portability: Users can request a copy of their data in a format that’s easy to access.
  • The Right to Opt Out of Data Sales: Users can ask you not to sell their personal data.
  • The Right to Opt Out of Targeted Advertising: Users can opt out of having their data used for personalized ads.

Next, I’ll show you how to meet these UCPA requirements using WordPress tools and best practices.

How to Improve Your UCPA Compliance in WordPress

Navigating UCPA compliance can feel overwhelming at first. But at its core, it’s really about being clear with your audience and giving them control over how you collect and use their personal data.

Let’s get started. You can use the links below to jump to any section:

Perform a Data Audit

When it comes to UCPA compliance, the first step is understanding your own data. That means reviewing and recording every piece of personal information your website collects, uses, or stores.

To get started, you should make a list of all the WordPress plugins and external tools that interact with user data. This includes everything from analytics and email marketing tools to form builders and SEO plugins.

Once you’ve built that list, take a closer look at how each one handles user information.

For example, if you’ve created a quote request form, then your form builder might collect personal details like the visitor’s name, company, or job title.

To dig even deeper, ask yourself these questions:

  • What personal data do I collect? This might include names, email addresses, IP addresses, payment info, or anything else that could identify a user.
  • Where is this data stored? Is it saved on your server or sent to a third-party tool?
  • Why am I collecting it? Is it essential for your website to function, or just nice to have?
  • How long do I keep this data? Do you have a clear retention policy in place?
  • Am I sharing this data with anyone else? Are you passing it along to service providers, advertisers, or analytics platforms?

This kind of audit can quickly highlight any areas where you may need to update your data practices to stay compliant with the UCPA.

Create a Data Compliance Document 

After you complete your data audit, the next step is documenting your findings. This means writing down every action you’ve taken to follow the UCPA, as well as any updates you’ve made to fix issues you discovered.

Creating this document gives you clear proof that you’re committed to protecting your users’ privacy. It’s especially helpful if you’re ever audited or if someone questions your compliance.

As I’ll mention throughout this guide, it’s not enough to quietly follow the UCPA behind the scenes. You also need to show that you’re complying with it.

That’s why you should record all the personal information you’ve collected in your compliance document. For each type of data, make sure to include:

  • Where the data comes from (for example, forms, plugins, or third-party tools)
  • Why you’re collecting it (whether it’s essential or optional)
  • How the data is used, shared, or sold
  • How long you keep it
  • Whether it falls under a special category (like sensitive or financial data)
  • What security steps you’re taking to protect it
  • Any third-party vendors or contracts involved

This kind of record shows regulators and your users that you’re taking privacy seriously.

As a general rule, it’s smart to do a full data audit at least once per year. It’s also a good idea to review your compliance if you install new plugins, change how you collect data, or make other major updates to your site.

Plus, since laws can change, it’s wise to re-check your compliance whenever the UCPA is updated.

Collect Less Data 

Unlike some other privacy laws, the UCPA allows you to collect non-essential personal data, as long as you provide a clear privacy notice and give users the option to opt out.

Still, it’s smart to follow the principle of data minimization. This means only collecting the information you actually need.

Data minimization makes UCPA compliance much easier because:

  • You have less to search through if someone asks for a copy of their personal data.
  • You have less to delete if a user requests to be forgotten.

To get started, review the forms and tools on your site. Ask yourself: “Do I really need every detail I’m asking for?”

If the answer is no, it’s best to stop collecting it.

Create a Privacy Policy 

A privacy policy is a page that clearly explains what personal data you collect, how you use it, and who you share it with.

Creating a detailed privacy policy is an important part of UCPA compliance because it helps visitors understand how you handle their information. Plus, it directly supports their Right to Know under the law.

Thankfully, WordPress includes a built-in privacy policy generator. You can find it by going to Settings » Privacy in your WordPress dashboard.

How to generate a privacy policy for your WordPress website

Feel free to use our own WPBeginner privacy policy page as a template.

Just make sure to replace every mention of ‘WPBeginner’ with your own site or business name.

An example of a privacy policy

If you need more guidance, we also have a complete step-by-step tutorial on how to add a privacy policy in WordPress.

Even if you already have a privacy policy, it’s a good idea to update it with information specific to the UCPA. This includes clearly explaining user rights, such as the Right to Know, Right to Delete, and Right to Correction.

Plus, your policy should tell visitors how they can exercise those rights.

For example, you might include a link to a contact form where users can request a copy of their data or ask you to delete it.

Finally, make it a habit to review and update your privacy policy regularly. This helps ensure it reflects your current practices and stays aligned with any future changes to the UCPA.

Add a Cookie Popup

Under the UCPA, cookie consent follows an opt-out model. This means you can use non-essential cookies without asking first, as long as you give users a clear way to opt out.

This is different from stricter laws like the General Data Protection Regulation (GDPR), where you must get consent before setting non-essential cookies.

What counts as non-essential? These include cookies used for analytics, advertising, or user behavior tracking. Anything not required for your site to function is considered non-essential under the UCPA.

Note: It’s important to note that for ‘sensitive data’ (like information about race, religion, health, or precise geolocation), the UCPA requires you to get a user’s permission before you collect it (opt-in).

The good news is that a cookie popup can help you stay compliant with both types of laws.

A clear, user-friendly banner can let visitors know what types of cookies your site uses, what data they collect, and why. It should also offer a simple way to opt out.

While many plugins offer cookie banners, WPConsent is my top pick because it’s easy to use and supports multiple privacy laws, including the UCPA and the PDPL.

How to comply with the UCPA by adding a cookie popup to your website

We actually use WPConsent on WPBeginner to manage cookie banners and track user consent, and we’ve had a great experience.

💡 Want to learn more about how we use WPConsent on WPBeginner? Be sure to read our in-depth WPConsent review.

An example of a cookie banner, created using WPConsent

💡 Want to learn more about how we use WPConsent on WPBeginner? Then be sure to read our in-depth WPConsent review.

To get started, simply install and activate the plugin.

Once it’s active, WPConsent will automatically scan your website and detect all active cookies.

Scanning your website for cookies using a compliance plugin

From there, the setup wizard helps you design your cookie banner. You can customize the layout, position, button styles, colors, and even add your logo.

As you make changes, WPConsent shows a live preview so you can see exactly how the banner will appear on your site.

Designing a cookie banner for your WordPress blog or website

When you’re happy with the design, just save your changes. The cookie banner will start appearing on your WordPress site right away.

For full instructions, check out our complete guide on how to add a cookie popup in WordPress.

Write a Separate Cookie Policy 

Adding a cookie popup is a great first step. But it’s also a good idea to create a dedicated cookie policy that explains how your site uses cookies in more detail.

This helps visitors better understand what kind of personal information your site collects and how it’s used.

In your cookie policy, make sure to:

  • List all the types of cookies your site uses (such as essential, analytics, or marketing cookies).
  • Explain what each cookie does—for example, some cookies track website visitors or show personalized ads.
  • Describe the data each cookie collects, like IP addresses or browsing history.

To build trust, keep your language simple and easy to understand. Try to avoid technical terms or legal jargon whenever possible.

Once your policy is ready, make sure it’s easy to find. For example, you could link to it from your main privacy policy and also inside your cookie banner.

Fortunately, WPConsent can handle this entire process for you.

It can scan your site for cookies, then use that information to generate a cookie policy automatically.

To get started, go to WPConsent » Settings.

Generating a cookie policy for your WordPress blog, website, or online store

Inside the plugin settings, you need to choose the page where you want your cookie policy to appear.

WPConsent will then add the policy to that page automatically.

An example of a cookie policy, added to WordPress using WPConsent

If you’re already using WPConsent to display a cookie banner, then your visitors can access the policy directly through the popup.

They just need to click the ‘Preferences’ button.

Adding links to your cookie banner

From there, they can select the ‘Cookie Policy’ link to visit the full page.

Here’s an example of what that looks like.

Adding a link to your cookie policy to a WordPress popup

Block Third-Party Scripts 

One tricky part of the UCPA is that it also applies to third-party tracking tools like Google Analytics or Facebook Pixel.

Even though third-party tools handle the tracking, you’re legally responsible for how they collect and use visitor data on your site. That means you also need to give users a way to opt out.

A simple way to handle this is by using automatic script blocking. This prevents tracking scripts from running until the visitor gives consent.

This also supports the UCPA’s Right to Know by ensuring users understand what data is being collected before it happens.

Even though the UCPA follows an opt-out model, script blocking goes a step beyond minimum compliance by turning third-party tracking into an opt-in process.

Fortunately, WPConsent makes this easy with a built-in automatic script blocking feature.

It detects and blocks common tools like Google Analytics, Google Ads, and Facebook Pixel, without breaking your site.

Then, as soon as a visitor gives consent, the plugin loads the script immediately without reloading the page.

Track and Log Visitor Consent

Your UCPA data practices might still be questioned. For example, regulators could request an audit, or a customer might ask how their data is being handled.

That’s why it’s important to track and log user consent. This gives you clear, time-stamped proof that you’re honoring each user’s preferences.

WPConsent handles this for you automatically. It logs key details like the user’s IP address, their consent settings, and the exact date and time when they gave consent.

You can view this data anytime by going to WPConsent » Consent Logs in your WordPress dashboard.

An example of a detailed consent log

If you ever need to share this log with someone—like an auditor or legal advisor—you can export it directly from your site.

Just open the Export tab, choose the date range you need, and click the ‘Export’ button.

How to export a consent log from WPConsent

WPConsent will generate a CSV file with all the logged consent data, ready for you to share if needed.

Give Users a Way to Opt Out (Do Not Track Form)

The UCPA gives users the right to opt out of the sale or sharing of their personal data. You’re required to provide a clear and easy way for them to do that.

The simplest way to do this is by using WPConsent’s Do Not Track add-on. It lets you create a dedicated opt-out page with just a few clicks.

To get started, go to WPConsent » Do Not Track » Configuration in your WordPress dashboard.

WPConsent will walk you through the steps to install the add-on and create a Do Not Track form.

How to add a 'Do Not Track' page to your WordPress blog, website, or online marketplace

🌟 Want more detailed instructions? Just see our guide on how to create a Do Not Sell My Info page in WordPress.

Once that’s done, visitors can fill out the form to opt out of data sales or sharing.

This gives users a clear, simple way to exercise their rights, and it also improves your site’s user experience.

An example of a 'Do Not Sell My Info' page, created using WPConsent

Plus, WPConsent stores these requests locally in a custom database table on your own site. That means you stay in full control of this sensitive data, without needing to rely on an external platform.

It also records each request automatically, giving you clear proof of compliance if it’s ever needed.

Support the ‘Right to Delete’

The UCPA gives users the right to ask you to delete their personal data.

One of the simplest ways to support this is by adding a data erasure form to your WordPress site. That way, visitors can easily request deletion through a secure form.

This is where WPForms comes in. It’s a drag-and-drop form builder that includes a pre-built Right to Erasure form template.

How to comply with multiple international privacy laws, using WPForms

The template name comes from GDPR, but don’t worry. Many compliance tools use GDPR-style naming, and this form works just as well for UCPA requests.

To use the template, go to WPForms » Add New.

Creating a new form in WPForms

Then, type “Right to Erasure” into the search box.

When the template appears, you need to click ‘Use Template’ to open it in the WPForms editor.

Choosing a form template for your 'right to erasure' form

From here, you can customize the form to fit your needs. The left-hand panel shows the available fields, and the right-hand panel shows a live preview.

To update a field, just click on it in the preview. You can then change the label, instructions, or field type in the left-hand panel.

How to edit fields in a WPForms form template

Once you’re happy with the form, click ‘Save’.

To add the form to a page or post, you need to open the editor, add a WPForms block, and choose your saved form from the dropdown list.

Adding a data compliance form to your WordPress website or blog

After that, go ahead and publish or update the page like you normally would.

🌟 At WPBeginner, we use WPForms across all our websites. It’s reliable, beginner-friendly, and flexible enough to support compliance tasks like this. If you want a full breakdown, check out our detailed WPForms review.

Once your form is live, make sure it’s easy to find. I recommend linking to it from your privacy policy or embedding it directly on that page.

WPForms also includes an entry management system. You can use it to view and filter submissions, which makes it easy to track and respond to deletion requests.

To view entries, go to WPForms » Entries in your dashboard.

How to comply with the Utah Consumer Privacy Act (UCPA) using WPForms

Simply find your data erasure form and click it. 

You’ll then see all the ‘delete data’ requests you’ve received.

How to comply with the Utah Consumer Privacy Act (UCPA) by managing user data requests

Once someone requests deletion, WordPress has a built-in tool to help.

Just go to Tools » Erase Personal Data in your admin dashboard.

How to allow users to request for you to delete their personal data

Enter the user’s email or username, and WordPress will handle the removal process.

You can also choose to send a confirmation email once the data has been erased.

How to automatically send a personal data erasure confirmation email

Handle Data Access Requests Efficiently

Under the UCPA, visitors have the right to request a copy of all the personal data your website has collected about them.

The good news is that you can support this by adding a dedicated data access form to your site using WPForms.

WPForms includes a ready-made Data Request Form template. It’s designed to collect the information you need to identify users in your records and respond to their requests.

How to create a Utah Consumer Privacy Act (UCPA)-compliance form

WPForms will automatically log each submission in your dashboard.

To review them, just go to WPForms » Entries.

You can now select your data request form to view all submissions.

How to manage personal data requests in your WordPress dashboard

Then, when you receive a request, you can export the user’s data using WordPress’s built-in tools.

Go to Tools » Export Personal Data in your admin dashboard.

How to provide customers with a copy of their personal data upon request

You can then type in the person’s username or email address to find the correct record.

Then, simply share the .zip file with the person who made the request.

Exporting a copy of the user or visitor's personal data

This helps you meet UCPA’s Right to Know requirement in a secure and user-friendly way.

Support the ‘Right to Correction’

Under the UCPA, people can ask you to correct or update their personal data if it’s wrong or incomplete.

This might happen after a user reviews a copy of their data. Or they may contact you directly if their personal details have changed, like a new phone number or address.

The simplest way to handle these requests is by adding a dedicated correction form to your site.

WPForms includes a Personal Information Form template that’s perfect for this. It even has an “Update Existing Record” checkbox to help you identify correction requests.

Supporting the right to correct on your WordPress website or blog

This template includes useful fields like legal name, nickname, email address, and phone number.

If you need more fields, then you can easily customize the form in WPForms’ drag-and-drop editor.

Editing a privacy compliance form in the WPForms drag-and-drop interface

Once the form is published, make sure that users can find it easily.

I recommend linking to it from your privacy policy or adding it to your site footer.

An example of a WordPress website, with data privacy links

As requests come in, you can process them manually depending on where the data is stored.

If the information is inside WordPress, you need to go to Users » All Users and click ‘Edit’ for the relevant profile.

How to edit a user profile with new or updated information

Go ahead and update the necessary fields.

Then, scroll down and click ‘Update User’ to save the changes.

Complying with the Utah Consumer Privacy Act (UCPA) by updating a user's profile

If you store data in a third-party tool—like a CRM or email marketing platform—then you just need to log into that tool to update the user’s profile.

UCPA Compliance in WordPress: FAQs

Understanding privacy laws can feel overwhelming at first. If you still have questions about how the UCPA affects your WordPress site, then you’re not alone.

At WPBeginner, we’re here to help you feel confident about compliance. So in this section, I’ll answer some of the most common questions we hear from our readers.

What happens if my WordPress site isn’t UCPA compliant?

If your WordPress site violates the UCPA, you could face fines of up to $7,500 per violation. You might also receive consumer complaints or trigger a regulatory investigation—both of which can damage your business and reputation.

How often should I review my site for UCPA compliance?  

Privacy laws can change over time. That’s why it’s a good idea to review your compliance at least once per year, or whenever you update how your site collects or uses data.

For the best results, you can make this part of your regular WordPress maintenance routine.

Can I use the same compliance tools for UCPA and GDPR?

Yes, a good compliance tool should address multiple privacy regulations. For example, WPConsent can help you comply with the UCPA, GDPR, the Brazilian General Data Protection Law (LGPD), Australia’s Privacy Principles (AAP), and many more international laws. 

However, it’s worth noting that every tool is unique. Having said that, it’s important to do your research to ensure you’re meeting the specific rules of each regulation.

Additional Resources for UCPA Compliance

Taking a proactive approach and continuously learning is absolutely essential for maintaining UCPA compliance over the long term. Data privacy laws can evolve over time, and staying informed is crucial for protecting both your website and your audience.

That said, I’ve collected some helpful resources you can use to continue your learning journey and keep your WordPress site compliant:

I hope this ultimate beginner’s guide to WordPress UCPA compliance has helped you understand this important privacy law. Next, you may want to see our expert picks for the best WordPress security plugins or our guide on how to keep personally identifiable info out of Google Analytics.  

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post UCPA Compliance in WordPress: The Ultimate Beginner’s Guide first appeared on WPBeginner.

How to Create a Do Not Sell My Info Page in WordPress

11 July 2025 at 10:00

Creating a website that people trust starts with protecting their personal information.

Privacy laws like GDPR and CCPA are designed to help with that, but they can feel confusing when you’re just trying to do the right thing.

Many of these rules ask you to add a ‘Do Not Sell My Info’ page to your site, and it’s not always clear where to start. I’ve been there myself.

After trying several different approaches, I found a step-by-step method that actually works for beginners.

In this guide, I’ll walk you through the exact process I use to build a professional ‘Do Not Sell My Info’ page in WordPress. I’ll also show you how to handle incoming requests, so you can protect your visitors’ privacy and stay compliant with international data laws.

How to Create a Do Not Sell My Info Page in WordPress

⚠️ The term ‘Do Not Sell My Info’ comes directly from the California Consumer Privacy Act (CCPA).

Adding this page to your site also helps you follow Europe’s General Data Protection Regulation (GDPR). This is because you’re giving visitors a way to stop their personal data from being processed, which meets the GDPR’s Right to Object requirement.

However, the GDPR does not specifically say you must add a ‘Do Not Sell My Info’ page to WordPress.

Why Do You Need a ‘Do Not Sell My Info’ Page?

A ‘Do Not Sell My Info’ page gives your visitors a clear way to say they don’t want their personal data shared with outside companies. In many cases, this is required by law, but it’s also a smart way to build trust.

Some site owners assume that these kinds of privacy laws don’t apply to them because they’re not selling anything.

But under some laws, like the California Consumer Privacy Act (CCPA), “selling” personal information doesn’t just mean trading it for money. It can also include sharing user data with other companies for things like ads, tracking, or analytics—even if no money is involved.

For example, if your site uses ad networks, tracking pixels, or embedded YouTube videos, then you may still be seen as “selling” or “sharing” personal information under these laws.

Because the definitions are so broad, adding a ‘Do Not Sell My Info’ page helps you stay on the safe side of privacy rules while giving users more control over how their information is used.

As a website owner, it’s important to follow these laws and give your visitors real control over their data. While each regulation is different, most require you to let users opt out of having their personal information shared or sold to third parties.

An example of a 'Do not sell my info' page in WordPress

This type of page is a specific requirement under the CCPA. Even though the GDPR doesn’t mention it by name, adding a ‘Do Not Sell My Info’ page can help meet its requirement to give users control over how their data is used.

But this isn’t just about legal compliance.

When visitors see that you take privacy seriously, they’re more likely to sign up for your email list, make a purchase, or stick around longer.

Overall, a ‘Do Not Sell My Info’ page helps meet modern privacy expectations and makes your site more trustworthy in the process.

How to Create a Do Not Sell My Info Page in WordPress

With privacy regulations getting stricter all the time, creating a ‘Do Not Sell My Info’ page is no longer just a good idea, but a legal requirement.

In this guide, I’ll walk you through the process of creating a ‘Do Not Sell My Info’ page on your WordPress website step-by-step. I’ll also show you how to manage user requests effectively, so you stay on the right side of the law.

Step 1. Set Up WPConsent

The easiest way to add a Do Not Sell My Info page in WordPress is by using WPConsent. This is the best privacy compliance plugin that helps you meet key privacy standards by giving users more control over their personal data.

WPConsent includes helpful features like cookie banners, privacy policy generators, and a consent log to track user permissions, which are all useful if you’re ever audited.

It also offers a Do Not Track addon, which lets you create a dedicated form page in just a few clicks. Visitors can fill out this form to tell you not to sell their personal information.

An example of a 'Do Not Sell My Info' page, created using WPConsent

These requests are stored locally in a custom table on your site, so you can review and respond to them right away.

⭐ We use WPConsent to manage user consent and display cookie banners across all our websites, including WPBeginner. This firsthand experience has shown us how effective and straightforward WPConsent is to use. 

Want to learn more about our direct experiences with WPConsent? Then be sure to check out our in-depth WPConsent review.

If you’re working with a limited budget, there’s also a free version of WPConsent available on WordPress.org.

It includes many essential features to help you comply with laws like the GDPR.

The free WPConsent WordPress privacy and compliance plugin

To use the Do Not Track addon, you’ll need the premium version. If you need help upgrading, take a look at our guide on how to install a WordPress plugin.

Once the plugin is active, you’ll see a quick onboarding wizard that walks you through setup, usually in under five minutes.

When you’re ready, click the ‘Let’s Get Started’ button to begin.

Setting up a WordPress compliance and privacy plugin

This setup wizard will guide you through several important tasks, such as scanning your site for third-party scripts and creating a cookie popup.

Completing these steps will help you comply with crucial privacy laws like the Personal Data Protection Law (PDPL), so I encourage you to go through the entire onboarding process.

After you’ve finished the setup, WPConsent will take you back to the WordPress dashboard.

Step 2: Create a WordPress Page 

WPConsent lets you add a Do Not Sell My Info form to any page or post on your WordPress site. However, to keep things simple, I suggest creating a new page especially for this important form.

In your WordPress dashboard, head over to Pages » Add Page.

How to add a new page to your WordPress blog or website

You can now give this page a clear title, something like ‘Do Not Sell My Info.’ You can also add any other information you think is important, such as an introduction explaining what the form is for and why someone might want to use it.

When you’re happy with how the page looks, save it as a draft for now.

Step 3: Install the Do Not Track Addon

WPConsent includes tools to help you follow major privacy laws right away. But if you want to add a Do Not Sell My Info page, then you’ll need to install an extra addon.

In your WordPress dashboard, go to WPConsent » Do Not Track. When that screen loads, just click the ‘Install Do Not Track Addon’ button.

How to install the privacy-conscious Do Not Track add-on

After a moment, WPConsent will automatically install and activate the addon for you.

Step 4: Create the ‘Do Not Sell My Info’ Form

Next, you need to head over to WPConsent » Do Not Track, and open the ‘Configuration’ tab.

Configuring the WPConsent compliance form

Here, you’ll be able to choose where the form should appear.

Simply open the ‘Do Not Track Page’ dropdown and select the page you created earlier. This will automatically add a basic form to that page.

Adding a privacy form to your WordPress website, blog, or online store

By default, the form includes a few essential fields:

  • First Name
  • Last Name
  • Email

These are needed to identify the visitor, so WPConsent won’t let you remove them.

That said, you can update the labels if you want to use different wording—just change the text in the ‘Field Label’ box.

Customizing the field labels on a GDPR, CCPA, or similar form

If you need more details from your users, you can also enable extra fields like:

  • Address
  • ZIP Code
  • City State
  • Country
  • Phone

To include one, just check the box that says ‘Enable this field.’

Adding more fields to your WordPress compliance form

These extra fields are optional by default.

But if there’s something you want to make mandatory, you can check the ‘Make this field required’ box.

Marking fields as compliant in WordPress

Just like before, you’re free to update any of the field labels to match your site’s tone.

Once everything looks the way you want, scroll to the bottom and click the ‘Save Changes’ button.

Making a privacy and compliance form live on your website

Step 5: Adding the Form to Your Page

Now, you’re ready to add this form to the page you created earlier. In your WordPress dashboard, open that page for editing. 

Find the spot where you want to add the form and click the + icon.

Adding a compliance form to a WordPress page or post

In the box that appears, start typing ‘Shortcode’ to find the right block.

When the shortcode block appears, click on it to add it to the page.

Adding a shortcode block to your WordPress website

You can now paste the following shortcode into the block: 

[wpconsent_do_not_track_form]

With that done, simply publish the page as you normally would.

You can now visit your WordPress blog or website to see the ‘Do Not Sell My Info’ page in action.

Step 6: Add Links to Key Areas

Now that you’ve created a ‘Do Not Sell My Info’ page, it’s important to make it easy for visitors to find.

One way to do this is by inserting a link from your Privacy Policy page to your ‘Do not sell info’ page. You might also consider placing it in a prominent spot like your website footer.

Adding links to your website's privacy policy

These small steps can go a long way in building trust. When visitors see that you’re open about your data practices, they’re more likely to feel confident browsing your site.

Step 7: Manage Incoming Requests 

Now that everything is set up, WPConsent will automatically log each request and display it in your WordPress dashboard. This makes it easier to stay on top of privacy requests as they come in.

To check your current requests, go to WPConsent » Do Not Track and make sure the ‘Requests’ tab is selected. You’ll see a list of all submissions along with key details for each one.

Tracking incoming 'do not sell' requests

How you respond depends on how you manage customer information. For example, you might add a note to your CRM tool to mark the user as opted out.

You can also export your list of requests as a CSV file. This can be helpful for recordkeeping or auditing.

To do that, just open the ‘Export’ tab under WPConsent » Do Not Track.

Exporting 'do not sell my info' requests from the WordPress dashboard

First, click the ‘From’ field and choose a start date.

Then, select the end date by clicking the ‘To’ field.

How to create a detailed compliancy log

By default, WPConsent includes all requests, both processed and unprocessed.

If you only want to see requests that still need attention, it’s a good idea to check the box that says ‘Export only “not processed” entries.’

Exporting user records from WordPress to prove compliancy

Planning to act on those requests right away?

You might also want to check the box that says ‘Mark exported data as processed.’ That way, WPConsent will automatically update the status in your dashboard.

How to automatically mark 'do not sell my personal info' requests as completed

If you do that, make sure to follow through and complete each request. That helps keep your dashboard accurate.

Once everything’s ready, simply click the ‘Export’ button to download your CSV file.

Exporting your compliance log as a spreadsheet

If you didn’t mark them as processed automatically, you’ll need to close each one manually. To do that, hover over the request in your dashboard and click the ‘Mark as processed’ link.

Processed requests will be clearly labeled, so you can quickly see which ones are still open.

Managing your 'do not sell my info' page in WordPress

What to Do When Someone Opts Out

When one of your website visitors asks you not to sell or share their personal information, logging the request is just the first step.

The next step is to delete that user’s personal data from your website.

Fortunately, WordPress includes a built-in erase tool that lets you remove a user’s data on request.

You can find it by going to Tools » Erase Personal Data in your dashboard.

How to access the built-in WordPress Erase Personal Data tool

Using this tool helps you stay compliant with laws like the CCPA and GDPR, especially if you’ve collected contact information through forms, comments, or email signups. It’s a simple way to make sure you’re following through on privacy requests.

Do Not Sell My Info Pages: FAQs

Data compliance is a serious topic, so it’s understandable if you still have some questions.

To help you out, I’ve collected all the most frequently asked questions about setting up a ‘Do Not Sell My Info’ page in WordPress.

What is WPConsent, and why should I use it?

WPConsent is a comprehensive plugin designed to help WordPress website owners comply with various privacy regulations, such as the Lei Geral de Proteção de Dados (LGPD), CCPA, and GDPR. 

WPConsent makes it easier to create and manage essential privacy pages and features on your site, allowing you to meet legal requirements and build trust with your audience.

How does a ‘Do Not Sell My Info’ page differ from other privacy pages?

A ‘Do Not Sell My Info’ page serves a specific purpose: it lets users opt out of the sale of their personal data. This is required by various privacy laws, including the California Consumer Privacy Act (CCPA).

Typically, your website will have other privacy-related pages, but they won’t offer this particular function.

Can I use other privacy plugins alongside WPConsent for enhanced compliance?

Yes, you can use WPConsent with other privacy and security tools. For example, you might use WPConsent to manage your ‘Do Not Sell’ requests. At the same time, you might use a plugin like Sucuri to check your site for security weaknesses that could cause a data breach.

What should I do when a user sends me a ‘do not sell’ request?

Once you receive a request, you need to make sure you honor it properly. This means updating your internal data handling practices in order to reflect the user’s wishes.

For example, you might need to:

  • Update your records: Mark the user’s profile in your database or CRM system. For example, you could add a ‘Do Not Sell’ tag to their contact record in your CRM software. This makes it clear to your team that their data should not be sold.
  • Notify relevant teams: Ensure everyone involved in data processing knows about the request. After that, they can avoid any actions that would violate the user’s preferences.
  • Review data flows: If you share data with third parties, then confirm this user’s data is no longer included in those transfers.
  • Document the action: Keep a clear record of when you received the request and how it was processed. This documentation will also help you demonstrate compliance if you’re ever audited. The good news is that some tools log all user requests automatically, such as WPConsent.

If you don’t honor these requests, then you could face legal penalties, including significant fines and serious damage to your website’s reputation.

With that in mind, it’s essential that you take immediate action every time you get a ‘Do Not Sell’ request.

Is it important to regularly update the ‘Do Not Sell My Info’ page?

Absolutely. Regular updates are vital to ensure you’re complying with the latest legal requirements. 

Privacy laws can evolve over time, and new regulations might come into effect. By keeping your page up-to-date, you can avoid potential penalties and other legal issues.

You also need to ensure your compliance reflects any changes you make in how you handle data. For example, if you start collecting new types of data or partnering with new third parties, then your ‘Do Not Sell My Info’ page should reflect those changes.

When it comes to reviewing and updating your ‘Do Not Sell My Info’ page, I recommend adding this task to your website maintenance checklist.  

Additional Resources for Privacy Compliance

Navigating data privacy can be complex, but having the right resources to hand makes things much easier.

With that said, here’s a list of extra articles and guides to help you continue your compliance journey:

I hope this guide has helped you add a Do Not Sell My Info page to your WordPress website. Next, you may want to see our expert picks for the best WordPress security plugins or our ultimate WordPress security guide.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Create a Do Not Sell My Info Page in WordPress first appeared on WPBeginner.

Beginner’s Guide to PDPL Compliance for WordPress Websites

7 July 2025 at 10:00

I’ve helped WordPress users navigate a lot of different privacy laws, but Saudi Arabia’s Personal Data Protection Law (PDPL) still surprises many website owners.

If your site collects personal information from people in Saudi Arabia (and it probably does), then PDPL compliance isn’t optional.

Contact forms, newsletter signups, user accounts, blog comments — all of these fall under the law’s requirements, even if you don’t live in Saudi Arabia.

I hear from readers all the time who didn’t realize this until they were at risk of penalties.

The good news? Getting compliant doesn’t have to be complicated or expensive.

I’ve spent quite a lot of time researching the PDPL and testing WordPress tools to make this guide as beginner-friendly as possible. I’ll show you exactly how to protect your business, stay on the right side of the law, and earn your audience’s trust.

Beginner's Guide to PDPL Compliance for WordPress Websites

⚠️ We are not lawyers. This article is for informational purposes only and does not constitute legal advice. We highly recommend consulting with a qualified legal professional to ensure your business is fully compliant with the PDPL and other privacy regulations.

What Is the Personal Data Protection Law (PDPL)?

Saudi Arabia’s Personal Data Protection Law (PDPL) is a privacy law that protects the personal information of people living in Saudi Arabia. It sets clear rules for how businesses collect, use, and store that data.

Like other privacy laws — including the GDPR — the PDPL doesn’t just apply to local businesses. It can affect websites, blogs, and online stores around the world.

The key factor is whether your site handles data from people in Saudi Arabia. If your audience is global, then there’s a good chance the PDPL applies to you.

That’s why it’s important to understand what this law covers and what steps you can take to stay compliant.

Why WordPress Users Should Care About PDPL Compliance

Not following the PDPL can lead to serious consequences. Fines can reach up to SAR 5 million (about $1.3 million USD) per violation. That amount can double for repeat offenses.

If you unlawfully share sensitive data, especially with the intent to harm someone, the penalties are even more severe. You could face up to two years in prison and fines of SAR 3 million (around $800,000 USD).

But PDPL compliance isn’t just about avoiding legal trouble — it’s also about trust.

When you give visitors more control over their personal data, you show that your site respects their privacy. Over time, building trust can get you more signups, conversions, and sales, helping to grow your online business.

By contrast, failing to comply with PDPL can really damage your reputation.

And remember, the PDPL might apply to you even if you don’t live in Saudi Arabia. Just like GDPR and the California Consumer Privacy Act (CCPA), it’s based on whose data you collect, not where you’re located.

With all that said, almost all WordPress users should care about PDPL compliance.

How PDPL Affects Your WordPress Site

The first step to PDPL compliance is understanding what counts as personal data.

That includes anything that can identify someone, such as their name, email address, IP address, physical address, or even their browsing history through cookies.

As a WordPress site owner, here are some of the key rights and responsibilities you need to know:

  • Right to Be Informed: You must clearly tell visitors what data you collect, how you use it, and whether you share it with third parties. This info should be easy to find — don’t make people dig through your site to locate it.
  • Right to Access: Users can request a copy of the personal information you’ve collected about them.
  • Right to Correction: If someone’s data is inaccurate or incomplete, they have the right to ask you to update it.
  • Right to Delete: People can ask you to delete their personal data.
  • Right to Object: Users can say no to how you’re using their personal information.
  • Right to Data Portability: Individuals can request their data in a machine-readable format and transfer it to another service.

Throughout this guide, I’ll show you exactly how to support these rights using simple tools and beginner-friendly tips.

Beginner’s Guide to PDPL Compliance for WordPress Websites

Navigating compliance can feel overwhelming, especially when the stakes include damaged reputations, steep fines, or even jail time.

But at its core, the PDPL is about being clear and transparent with your users. It’s all about giving people control over how you collect and use their personal information.

With that in mind, let’s walk through the steps you can take to meet the PDPL’s requirements.

Perform Regular Data Audits

The first step to PDPL compliance is knowing what personal data you collect and how you handle it. That means doing a full data audit of your WordPress site.

A good audit shows whether your current practices match PDPL rules — and where you may need to make changes.

To help you get started, here are some key questions to ask:

  • What personal data do I collect? This could include names, email addresses, IP addresses, payment details, and more.
  • How do I use this data? Look at how you process information, whether you share it with team members or third-party tools like ad networks or email services.
  • Do I really need this data? If you’re collecting something you don’t actually use, then it’s better to stop.
  • How secure is it? Review your WordPress security, check who has access, and consider using security plugins to add extra protection.

After the audit, be sure to write down your findings. Keep a record of what you collect, how you use it, and what steps you’ve taken to stay compliant.

This documentation helps prove you’re serious about privacy, which is important if you’re ever audited or asked to explain your practices.

As a general rule, it’s smart to do a new audit at least once a year. You should also review your data handling anytime you change how your site collects or uses personal information.

And since privacy laws can change, it’s a good idea to re-check everything whenever the PDPL is updated.

Collect Less Data 

Once you’ve reviewed the data you collect, the next step is to ask: Do I really need all of it?

The PDPL says you should only collect data that’s relevant, necessary, and tied to a specific purpose. That means no gathering extra information just in case you might need it later.

If something isn’t essential, then you should stop collecting it.

This principle is called data minimization, and it’s not just about compliance. It also makes your life easier.

When you collect less data, it’s simpler to stay organized and respond to user requests. For example, if someone asks you to delete their data or send them a copy, you’ll have less to dig through.

So, as you go through your forms and plugins, look for anything you can remove or simplify.

Create a Privacy Policy 

Your privacy policy is where you explain what personal data you collect, how you use it, and who you share it with. Think of it as your website’s promise to be transparent with visitors.

Under the PDPL, having a clear and accessible privacy policy isn’t optional — it’s required.

The good news is that WordPress comes with a built-in privacy policy generator. You can use it as a starting point and customize it for your site.

How to add a privacy policy to your WordPress website

You can also check out the WPBeginner privacy policy as an example.

If you use our template, make sure to replace all mentions of WPBeginner with your own blog or business website.

WPBeginner's privacy policy

We also have a complete step-by-step guide on how to add a privacy policy in WordPress if you need help getting started.

If you already have a privacy policy, now’s the time to update it. Make sure it includes your users’ PDPL rights, like the Right to Be Informed and Right to Access, along with clear instructions for how they can exercise those rights.

For example, you could link to a form where users can request a copy of their data, or show them how to ask for deletion.

And don’t forget to review your privacy policy regularly to keep it accurate as your site grows and evolves.

Add a Cookie Popup

Under the PDPL, you must get explicit consent before placing cookies that collect personal data, except for cookies that are strictly necessary.

This means you need to let visitors know about your cookie practices and get their clear consent before using non-essential cookies.

The best way to do this is by adding a cookie popup to your WordPress website.

An example of a cookie banner, created using WPConsent

A well-designed popup helps you support key PDPL rights, starting with the Right to Be Informed. It clearly tells users what types of cookies you use, what data those cookies collect, and why you’re collecting it.

Your popup can also support the Right to Object. Users can simply click ‘Reject’ to refuse non-essential cookies without digging through settings.

There are lots of cookie banner plugins out there, but I recommend using WPConsent. It’s a powerful WordPress privacy plugin built to help you meet PDPL, GDPR, and similar privacy standards.

In fact, we use WPConsent on all our websites, including WPBeginner. It’s easy to set up and handles cookie banners, consent logs, and more.

An example of a cookie consent banner, created using WPConsent

💡 Want a deep dive into WPConsent? Check out our full WPConsent review, where we share our hands-on experience.

To get started, install and activate the WPConsent plugin like you would with any WordPress plugin.

WPConsent will automatically scan your site and list all the cookies it finds.

How to scan your WordPress blog or website for cookies

From there, the setup wizard helps you customize your popup. As you make changes, you’ll see a live preview so you know exactly how it will look on your site.

You can adjust the layout, position, font size, button style, colors, and even add your own logo.

Adding a customizable cookie consent popup to your website

Once you’re happy with the design, just save your changes. The cookie banner will now appear on your site and begin collecting consent from your visitors.

Create a Dedicated Cookie Policy 

In addition to using a cookie popup, I also recommend creating a separate cookie policy page. This gives you a clear place to explain exactly how your site uses cookies and what kind of data you collect through them.

By writing a dedicated policy, you’re supporting the PDPL’s Right to Be Informed and building trust with your visitors.

Your cookie policy should list the different types of cookies your site uses, such as essential, analytics, or marketing cookies. You can also describe what these cookies do, like tracking your visitors or showing personalized ads.

I also suggest explaining what kind of personal information these cookies collect. That could include IP addresses, browsing behavior, or referral URLs.

Try to avoid technical jargon. Instead, use simple, clear language so anyone can understand your policy.

If you’re using WPConsent, you’re in luck. The plugin can automatically generate a detailed cookie policy for you. Just go to WPConsent » Settings and choose the page where you want the policy to appear.

How to generate a detailed cookie policy using WPConsent

WPConsent will create the content for you, based on the cookies it found during the scan.

You can then display this content using a shortcode on your selected page.

An example of detailed cookie policy

Once the policy is live, make sure visitors can find it. I recommend adding a link in your website footer or right inside your privacy policy.

You can also include a link in your cookie popup so that people can read the full policy before choosing their cookie preferences.

If you created your popup with WPConsent, the link is already built in. When someone clicks the ‘Preferences’ button, they’ll see a link to your cookie policy.

Allowing users to change their cookie consent settings

Then, they’ll need to select the ‘Cookie Policy’ link. 

And that’s it! WPConsent will take them straight to the right page.

How to comply with the PDPL using a privacy plugin in WordPress

Block Third-Party Scripts 

One of the trickiest parts of PDPL compliance is dealing with third-party tracking tools. I’m talking about services like Google Analytics and Facebook Pixel.

These tools often collect personal data, such as IP addresses, location info, or behavior across pages. That means they fall under the PDPL, and you need to get consent before loading their scripts.

That’s why I recommend setting up automatic script blocking. This keeps those scripts from running until a visitor has clearly opted in.

If you’re using WPConsent, then you’re already covered. It comes with automatic script blocking built right in.

Behind the scenes, it detects and pauses common tracking scripts like Google Analytics, Google Ads, and Facebook Pixel — without breaking your website.

Track and Log Visitor Consent

Websites need to collect and log cookie consent data to comply with privacy laws and be able to prove that they obtained valid consent from users. This comes in handy in case of audits, complaints, or legal investigations.

This practice of logging visitor consent protects your business, helps build trust with your visitors, and also provides solid evidence that you’re complying with the PDPL.

If you’re using WPConsent, the plugin takes care of this for you. It automatically logs each consent event along with key details like the visitor’s IP address, what they agreed to, and the date and time.

You can see all this information right in your WordPress dashboard. Just go to WPConsent » Consent Logs.

How to comply with the PDPL by keeping a detailed consent log in WordPress

Then, if you ever need to share the log with a legal team or an auditor, you can export the data directly from your dashboard.

Allow Users to Withdraw Consent 

The PDPL states that people have the right to change their minds and withdraw consent at any time. To stay compliant, you need to give your visitors a simple and visible way to do that on your website.

I recommend using WPConsent’s Do Not Track add-on. It lets you create a dedicated ‘Do Not Track’ page in just a few clicks.

Once you install the add-on, just go to WPConsent » Do Not Track » Configuration to set up your form.

Complying with the Personal Data Protection Law

Visitors can then go to this page and fill out a short form to withdraw their consent.
It’s quick, user-friendly, and shows that you respect their privacy choices.

After setup, you can choose the page where this form appears, and WPConsent will handle the rest behind the scenes.

Adding a 'Do Not Track' page to your website

WPConsent also stores all these requests directly in your WordPress database. That means you stay in control of the data and don’t have to rely on third-party services to track user consent changes.

Plus, the plugin logs every request automatically. So if you’re ever audited, you’ll have clear documentation showing that you honored your visitors’ decisions.

Alternatively, you can use WPForms to create a data deletion form on your site. Unlike WPConsent, WPForms lets you fully customize the form the way you want.

It also comes with a dedicated ‘Right to Erasure Request Form’ template. This template gives you a solid foundation, so you can add this crucial form to your site quickly and easily. This directly addresses the ‘Right to Delete’ I mentioned earlier.

Using a plugin such as WPForms to comply with the Personal Data Protection Law

You can customize this template in WPForms’ drag-and-drop editor, which makes it easy to add, remove, and edit fields.

When you’re happy with the form, you can add it to your site using either a shortcode or the WPForms block.

How to add forms to your WordPress blog or website using a ready-made block

🌟 Here at WPBeginner, we’re not just recommending WPForms – we built all our own forms with it! That’s right, from our contact pages to our surveys, it’s all powered by WPForms. We’ve put it to the test daily, and that’s why we’re so confident in telling you it’s the real deal. 

Ready to see why it’s our go-to? Dive into our detailed WPForms review.

After adding the form to your site, you need to make it easy for visitors to find. For example, you can link to the form from your privacy policy page, or even embed it directly there.

You can also put a link in your website’s footer. The goal is simple: make it easily accessible to your website visitors.

Next, you will need to review any user requests for data deletion.

Luckily, WPForms isn’t just a form builder. It also comes with a powerful entry management system that makes it easy to track form submissions.

To review your entries, simply head over to WPForms » Entries. Here, you’ll see a list of all the forms across your WordPress website.

Filtering data deletion requests in the WordPress dashboard

Simply find your data erasure form and click it.

You’ll now see all your ‘delete data’ requests.

Managing data erasure requests using WPForms

So, what happens when you spot a new deletion request?

The good news is that WordPress itself comes with a built-in Erase Personal Data tool. This tool lets you erase all the user’s personal information, so you don’t need to install any extra WordPress plugins.

Just head over to Tools » Erase Personal Data to access this tool.

Erasing the user's data, in compliance with privacy laws

In the ‘Username or email address’ field, you need to type in the user’s information you want to remove.

This tool even has a handy ‘Send personal data erasure confirmation email’ setting. This will automatically let the user know that you’ve completed their request, keeping them informed and building more trust.

How to notify your users automatically

Handle Data Access Requests Efficiently

Under the PDPL, visitors have the right to ask for a copy of all the personal information you’ve collected about them. Thankfully, you can handle these ‘data access requests’ in pretty much the same way as the ‘data deletion’ requests we just explored.

The easiest way to support this is by adding a request form to your site. I recommend using WPForms, which includes a ready-made Data Request template.

Just select the template and customize it in the drag-and-drop editor. You can easily adjust the fields as needed to collect the information you need to fulfill each request.

WPForms' ready-made data request template

Once the form is live, WPForms will log each submission inside your WordPress dashboard. That way, you can respond quickly when a new request comes in.

To view entries, go to WPForms » Entries and select your data request form.

Managing data erasure requests in the WordPress dashboard

You’ll now see all the entries submitted through this form.

When you get a new request, you can fulfill it using WordPress’ built-in Export Personal Data tool. This lets you export all the known data for any user, packaged conveniently in a .zip file.

To create this .zip, just head over to Tools » Export Personal Data.

How to export the user's personal data, in compliance with the Personal Data Protection Law (PDPL)

Just enter the user’s email or username, and WordPress will generate a downloadable file with all the personal data you’ve collected.

Once it’s ready, you can send the zip file directly to the person who requested it.

How to comply with data requests in WordPress

Support the ‘Right to Correction’

The PDPL also gives users the right to ask you to fix or update their personal information if something is wrong or incomplete.

This might happen after someone reviews their data and spots a mistake. Or maybe they’ve moved or changed their phone number and want you to update their profile.

Once again, the easiest way to accept these requests is by adding a dedicated form to your site.

I recommend WPForms for this, too. It includes a Personal Information Form template that works great for correction requests.

The WPForms personal information template

This form comes with many essential fields already built in, such as legal name, preferred nickname, email address, home phone, and cell phone. 

The template even includes an “Update Existing Record” checkbox, so users can let you know they’re submitting a change to their existing profile.

However, every website stores different information, so you may want to customize the form to collect other details. In that case, simply open the template in the WPForms editor and then add more fields to the form using drag and drop.

Adding fields to a compliance form using the WPForms drag-and-drop editor

You can then fine-tune these fields using the left-hand panel. Just repeat these steps until the form collects all the information users might want to edit.

Once you’re done, go ahead and publish the form on your site like you would with any other form.

Make sure users can find this form easily. I usually link to it from the privacy policy or place it in the footer so it’s always accessible.

As always, WPForms displays all submitted form entries directly in your WordPress dashboard. This makes it easy to spot data correction requests as soon as they arrive, so you can act on them quickly.

How you update this information may vary depending on the tools you’re using. For example, you might need to update a record in your customer relationship management (CRM) app or email management software.

If the information is stored directly in WordPress, then you may just need to go to Users » All Users in your WordPress dashboard.

Here, find the user profile you need to update and click its ‘Edit’ link.

How to edit user, customer, and visitor profiles in WordPress

You’ll now see all the essential information WordPress has stored for that user.

From here, you can make any necessary changes and save the user’s updated profile.

How to update a user's profile in the WordPress dashboard

WordPress and PDPL Compliance: FAQs

Understanding online privacy can be a big challenge. So, you might still have some questions about how the PDPL affects your WordPress website.

But don’t worry! At WPBeginner, we’re here to help you understand this important privacy law.

In this section, I’ll cover the most common questions we get asked about PDPL compliance, so  you can get the answers you need.

What happens if my website is not PDPL compliant?

If your website doesn’t comply with the PDPL, you could face serious consequences. That includes large fines, which may reach millions of Saudi Riyals. In severe cases, criminal charges like imprisonment may also apply.

Beyond the legal and financial risks, breaching the PDPL can seriously harm your organization’s reputation. If you don’t seem to care about user privacy, then your audience will quickly notice. When that happens, they will stop trusting you and will almost certainly take their business or readership elsewhere.

Does the PDPL only apply to businesses in Saudi Arabia?

No, the PDPL doesn’t just apply to Saudi-based businesses. If your website collects personal data from someone living in Saudi Arabia, then you’re required to follow the PDPL, even if your business is located elsewhere.

How can I balance user experience with PDPL compliance?

Following the PDPL doesn’t mean you have to sacrifice the user experience. In fact, giving visitors control over their data is a key part of good UX.

Here’s how I recommend balancing both:

  • Show a clear cookie popup that explains how you use cookies in simple terms.
  • Write a privacy policy that’s easy to read and free of legal jargon.
  • Add forms that let users request their data or ask for it to be deleted, so they feel respected and in control.

Are there any exemptions to the PDPL for small websites?

The PDPL generally applies to any website that collects or processes personal data from users in Saudi Arabia, no matter the size. That means most WordPress site owners need to follow it.

There may be exceptions in very specific cases, but these aren’t always clear. If you’re unsure whether the PDPL applies to you, I recommend talking to a legal expert.

What are the key steps I should take to comply with the PDPL?

Every site is different, but here are the basics I always recommend:

  • Create clear privacy and cookie policies that explain your practices in plain, user-friendly language.
  • Run regular data audits to understand what personal data you collect, where it’s stored, and who can access it.
  • Ask for clear, explicit consent before collecting data, and give users a way to withdraw it. A cookie popup can help with this.

By putting these measures into practice, your website will be much closer to meeting the PDPL’s core requirements. 

Additional Resources

Keeping your WordPress site perfectly aligned with the PDPL isn’t a one-time task. In fact, it’s something that needs your ongoing attention. 

To help you continue on this journey, here are some helpful resources you can check out:

I hope this beginner’s guide to PDPL compliance for WordPress websites has helped you understand this important privacy law. Next, you may want to see our expert picks for the best GDPR plugins to improve compliance or our guide on how to perform a security audit.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post Beginner’s Guide to PDPL Compliance for WordPress Websites first appeared on WPBeginner.

The Ultimate Guide to WordPress and CCPA Compliance

27 June 2025 at 10:00

When I launched my first WordPress website, I wasn’t thinking about privacy laws. Like most beginners, I was focused on creating helpful content and getting more traffic.

But times have changed. Now, I hear from many small business owners who are worried about data privacy. Laws like the California Consumer Privacy Act (CCPA) sound intimidating, and with fines reaching $7,500 per violation, it’s easy to see why.

If you’ve felt that same pressure, you’re not alone. Trying to stay compliant while growing your website can feel overwhelming.

That’s exactly why I put this guide together. I’ll walk you through a beginner-friendly, step-by-step plan to help you meet CCPA requirements without getting lost in legal jargon. You’ll learn what data your site collects, how to manage it properly, and which tools can help you stay compliant.

The Ultimate Guide to WordPress and CCPA Compliance

⚠️ We are not lawyers, and nothing on this website should be considered legal advice.

What is the California Consumer Privacy Act (CCPA)? 

Under the California Consumer Privacy Act (CCPA), California residents have the right to control how companies collect and use their personal information.

It’s also important to know that the CCPA’s definition of ‘personal information’ is very broad. It includes things like names, email addresses, browsing history, and even biometric data. 

Just like other privacy laws, such as the General Data Protection Regulation (GDPR), CCPA doesn’t just affect businesses based in California.

It can actually affect many WordPress websites, blogs, and organizations all over the world. If you handle data related to people living in California, then the CCPA may apply to you, regardless of your location.

Now, before you start to worry, it’s important to know that the CCPA doesn’t apply to every single website. It’s mainly aimed at larger businesses.

Generally, your for-profit business needs to comply with the CCPA if it meets one or more of these conditions:

  • Has an annual gross revenue of over $25 million.
  • Buys, sells, or shares the personal information of 100,000 or more California residents or households per year.
  • Gets 50% or more of its annual revenue from selling or sharing California residents’ personal information.

Does your website or business meet these criteria? Then it’s absolutely essential you understand what the CCPA is and what it requires.

Why Should WordPress Users Care About CCPA Compliance?

Ignoring the CCPA can have some pretty serious consequences, including large fines. For example, if you intentionally breach this law, you could be fined as much as $7,500 per violation. 

Even if you break the rules by mistake, the consequences can still be tough. Non-intentional CCPA violations can cost you up to $2,500 per incident. So, even an accident can lead to huge financial penalties.

Plus, complying with the CCPA is about more than just avoiding fines. By giving visitors more control over their personal information, you’re proving that you’re trustworthy. This can get you more signups, conversions, and sales, helping to grow your online business.

By contrast, breaking the CCPA can really hurt your reputation, even if the violation was a complete accident. 

How CCPA Affects Your WordPress Site

CCPA compliance is a big topic, but as a broad overview, there are three core principles that will affect you as a WordPress blog or website owner: 

  • The Right to Know: Users can ask what personal data you collect about them.
  • The Right to Delete: Users can ask you to delete their personal data.
  • The Right to Opt-Out: Users can tell you not to sell their personal information to other companies. 

In this ultimate guide, I will share many tips, techniques, and tools to help you comply with each of these core CCPA principles.

How to Improve Your CCPA Compliance in WordPress

Navigating CCPA compliance can feel like a complex task. But at its core, it’s really all about being clear and open with your users. You also need to give them ways to control how (and if) you collect and use their personal information.

I can’t guarantee that these are the only steps you’ll need to take, but following this guide will put you on the right path to compliance.

That said, let’s get started! You can click the links below to jump ahead to any section:

Perform a Data Audit

As with most data compliance laws, the first step is to identify and document all the different types of personal data you collect, process, and store. This means performing a complete data audit of your website.

I recommend starting by listing all the WordPress plugins and tools that gather data on your site, such as analytics plugins, form builders, and SEO plugins.

You can then carefully evaluate how each one handles user information.

For example, if you’ve created a quote request form on your website, then your form builder plugin might collect the visitor’s name, company name, and job title.

To go a bit deeper, try asking yourself these questions for each tool:

  • What specific personal data does it collect? This might be names, email addresses, IP addresses, payment details, or any other form of personal information.   
  • Where is this data stored? Is it stored locally on your server or sent to a third-party service? 
  • Why is this data being collected? Is it essential, or non-essential? And how are you using that data? 
  • How long is this data kept? Do you have a data retention policy for it?
  • Is this data shared with anyone? In particular, are there any service providers or advertisers involved? 

This may immediately reveal areas where you need to adjust your data handling practices to comply with CCPA. This could involve changing what data you collect, how long you keep it, or who you share that information with.

Collect Less Data 

There’s an easy way to protect your users’ privacy: avoid collecting information you don’t actually need. This is called data minimization. 

It means you only gather the information that’s absolutely essential for your site to work properly. By doing this, you instantly make CCPA compliance much simpler. 

After performing a data audit, I recommend looking critically at all the data you currently collect. Do you really need every piece of information you ask for? 

Data minimization also plays a big part in building trust with your audience. By not asking intrusive questions or gathering unnecessary personal details, you clearly demonstrate that you respect their privacy. This, in turn, will make users feel more confident and comfortable interacting with your website.

Create a Privacy Policy 

A privacy policy is a page that clearly explains what personal data you collect, how you use it, and who you share that information with.

Creating a detailed and comprehensive privacy policy is essential for CCPA compliance, as it helps visitors understand how you collect, store, and use their personal information. 

The good news is that WordPress comes with a built-in privacy policy generator that you can use to get started by going to Settings » Privacy in your WordPress dashboard.

How to generate a privacy policy using the built-in WordPress tools

Alternatively, you can always refer to our WPBeginner privacy policy page as a strong starting point.

If you use our template, then just remember to replace all references to WPBeginner with the name of your business website or blog. 

An example of a compliant privacy policy

We also have a complete, step-by-step guide on how to add a privacy policy in WordPress

Do you already have a privacy policy in place? Then I still recommend updating it with specific information about the CCPA. In particular, you’ll need to explain your users’ rights under the CCPA, such as their Right to Know, Right to Delete, and Right to Opt-Out.

Even more importantly, you must clearly tell visitors how to exercise their CCPA rights.

For example, you could link to a contact form where they can ask for a copy of their data (their Right to Know). Alternatively, you might show them how to request that you delete all their personal information (their Right to Delete). 

Finally, it’s important to regularly review and update your privacy policy. This helps you make sure it always accurately represents your current data handling practices and stays compliant with evolving laws. 

Add a Cookie Popup

Unlike some other privacy laws, the CCPA doesn’t always require users to actively opt in to data collection.

However, the CCPA strongly emphasizes two key points: users have the right to know about data collection, and they have the right to opt out if they choose.

The good news is that a cookie popup can help you achieve both of these important goals. 

A well-designed popup can clearly inform visitors about the types of cookies you use, what data they collect, and why you’re collecting it (their Right to Know). It can also give users a straightforward and easy way to exercise their Right to Opt Out.

There are many different cookie banner plugins on the market. However, I highly recommend using WPConsent because it makes adding a cookie popup or banner to your site incredibly simple.

An example of a cookie consent banner, created using WPConsent

WPConsent is a privacy compliance plugin designed to help you meet many different privacy standards, including the CCPA. 

We actually use WPConsent to display cookie banners and manage user consent across all our own websites, including WPBeginner. This firsthand experience has shown us just how effective and user-friendly WPConsent is.

An example of a cookie banner, created using the WPConsent WordPress plugin

💡 Want to learn more about our direct experience with WPConsent? Be sure to check out our in-depth WPConsent review.

To get started, you simply install and activate the plugin, as normal.

Upon activation, WPConsent will scan your entire site for active cookies and record all the ones it finds. 

Scanning your WordPress website for cookies

Next, WPConsent’s helpful setup wizard will show you how to customize your cookie popup.

As you make changes, WPConsent will display a live preview, allowing you to see exactly how the banner will appear on your WordPress website.

You can then adjust the layout, position, font size, button style, colors, and even add your own custom logo.

How to create a cookie popup for your WordPress blog or website

When you’re happy with how everything looks, just save your changes, and you’re done. The cookie banner will now appear on your WordPress website.

For details, see our guide on how to add a cookie popup in WordPress.

Write a Separate Cookie Policy 

In addition to a popup or banner, it’s also a good idea to create a cookie policy with specific details about how your site uses cookies. This helps visitors better understand how you collect and use their personal information.

In your cookie policy, you should clearly list the different types of cookies your site uses, like essential, analytics, or marketing cookies. You can also explain their purpose, such as tracking website visitors or delivering targeted advertisements. 

I also recommend explaining what personal information these cookies collect, like IP addresses or browsing history.

To encourage visitor trust, you should keep your cookie policy easy to understand. This means avoiding technical terms or legal jargon. Instead, use clear and straightforward language that anyone can follow.

Visitors should be able to find your cookie policy easily. I recommend adding a link to it within your main privacy policy and also inside your cookie banner.

Thankfully, a tool like WPConsent can handle all this for you. As I’ve already shown, WPConsent can scan your site and identify all active cookies. 

But WPConsent can also use this information to generate a cookie policy. You can find this setting by going to WPConsent » Settings.

How to easily and quickly generate a cookie policy, using the WPConsent compliance plugin

Within the plugin’s settings, simply select the page where you want to display the cookie policy.

WPConsent will then go ahead and add this policy to your chosen page. It’s as easy as that!

An example of an automatically-generated, detailed cookie policy

Are you using WPConsent to display a cookie popup? Then visitors can easily access this cookie policy directly.

They simply have to click on the ‘Preferences’ button.

Allowing users to edit their cookie preferences on your WordPress website, blog, or online store

Then, they’ll need to select the ‘Cookie Policy’ link.

And that’s it! WPConsent will take them straight to the right page.

How to add a cookie policy link to your WordPress popups

Block Third-Party Scripts 

One of the trickiest things about CCPA compliance is that it also applies to any external tracking tools you’re using on your site. This includes things like Google Analytics and Facebook Pixel.

That’s because these tracking tools often collect data from your visitors. According to CCPA, you’re responsible for managing how these third-party tools collect, store, and use this data. You also need to let visitors opt out of these third-party tools, if they choose.

So, how do you control external tracking tools? I recommend using automatic script blocking.

This feature stops tracking scripts from loading until the visitor clearly gives their consent. This helps you meet the CCPA’s Right to Know requirement, as visitors clearly understand what they’re agreeing to.

Here, you’re also making third-party tracking opt-in rather than just opt-out. This approach goes beyond the basic standards set by the CCPA.

By taking things one step further, you’re demonstrating a strong commitment to protecting visitor privacy. It shows that your priority is user data protection, rather than simply meeting the minimum standards outlined by the CCPA.

Thankfully, WPConsent has an automatic script blocking feature that works out of the box. Behind the scenes, it automatically detects and blocks common tracking scripts like Google Analytics, Google Ads, and Facebook Pixel, without causing your site to break. 

As soon as the visitor gives their consent, WPConsent executes the script instantly. This means it provides a truly seamless user experience because it doesn’t need to reload the page.

Track and Log Visitor Consent

Even if you’re following CCPA regulations perfectly, there’s always a chance your data handling practices might be questioned. You could even get audited by regulators.

If that happens, you’ll need to prove that you’re respecting your visitors’ choices. With that in mind, it’s super important to track and log user consent.

By keeping a comprehensive log, you’ll always have concrete proof that you’re complying with all the CCPA’s requirements.

Once again, WPConsent does the hard work for you by automatically logging user consent. It records all essential details, including the user’s IP address, their specific consent choices, and the date and time when those choices were registered.

WPConsent then displays all this information directly within your WordPress dashboard. You can find it by going to WPConsent » Consent Logs.

How to prove your CCPA compliance, by providing a detailed log

Do you need to share this log with someone else, such as an auditor? You can simply export it from your WordPress dashboard, making it easy to provide proof of your compliance.

Build Trust with Opt-Outs

Under the CCPA, you must give visitors a way to opt out of the sale or sharing of their personal information.

The easiest way to do this is by using WPConsent’s Do Not Track add-on. This lets you add a dedicated ‘Do Not Track’ page to your site with just a few clicks. 

You can find it by going to WPConsent » Do Not Track » Configuration in your dashboard.

Adding a 'Do Not Track' form and page to your WordPress blog or website

Visitors can simply head over to this page and opt out of selling or sharing their personal data.

This straightforward approach enables visitors to exercise their rights without confusion or delay, providing a fantastic user experience

How to achieve CCPA compliance in WordPress

Even better, WPConsent stores all these requests locally in a custom table directly on your site.

In this way, you maintain full control over this sensitive data, and you’re not relying on external services to store crucial compliance records.

And WPConsent records all user requests. This means you can provide clear proof of compliance if you’re ever audited or a user asks about their opt-out status.

Support the ‘Right to Delete’

As I’ve already mentioned, the CCPA clearly states that users can request that you delete their personal data.

There are several ways to do this, but I recommend adding a data deletion form to your site. You can easily do this using a powerful form builder plugin like WPForms

In fact, WPForms has a dedicated Right to Erasure Request Form template that provides a great starting point, helping you set up this important compliance feature quickly and easily. 

How to create a CCPA compliant website, using WPForms

🌟 At WPBeginner, we use lots of different forms – and we created them all using WPForms! We have extensive, hands-on experience with this tool, which is why we feel confident recommending it to our readers. 

Want to learn more about this powerful form builder plugin? Just check out our detailed WPForms review.

After adding this form to your site, I recommend linking to it from your privacy policy page. Alternatively, you can embed it directly on the page. Whatever approach you take, the key is to ensure that visitors can easily find the form.

WPForms also has a powerful entry management system. This means you can easily filter all the submissions from your various forms and identify any data deletion requests that need to be actioned quickly.

To review your entries, simply head over to WPForms » Entries. Here, you’ll see a list of all the forms across your WordPress website.

Filtering your data deletion requests

Simply find your data erasure form and click it.

You’ll now see all your ‘delete data’ requests.

Managing deletion requests directly in the WordPress dashboard

So, what happens when you receive a data deletion request? 

The good news is that WordPress has a built-in Erase Personal Data tool. Just head over to Tools » Erase Personal Data to access it.

Erasing personal data to comply with CCPA

In the ‘Username or email address’ field, type in the user’s information you want to remove.

This tool even includes a ‘Send personal data erasure confirmation email’ setting, which lets the user know when you have completed their request. 

How to comply with the California Consumer Privacy Act (CCPA)

Handle Data Access Requests Efficiently

Users should be able to request a copy of all the personal information you’ve collected about them. Thankfully, you can handle this in much the same way as the data deletion requests we just covered. 

To start, you can add a dedicated form to your site using WPForms. Once again, WPForms makes things very straightforward by offering a ready-made Data Request template.

This template is designed to gather all the information you need to fulfill the user’s request efficiently.

How to comply with the California Consumer Privacy Act (CCPA) using plugins such as WPForms

After adding this form to your site, WPForms will automatically log and display all these requests directly in your WordPress dashboard. This makes it easy to identify data access requests as they come in, so you can act on them quickly.

Once again, to see these submissions, go to WPForms » Entries. Here, select your data request form.

Viewing data requests in the WordPress dashboard

You’ll now see all the entries for this form.

You’ll also be happy to learn that WordPress has a built-in Export Personal Data tool. You can use this tool to export all the known data for any user, conveniently packaged as a .zip file.

To create this .zip, simply head over to Tools » Export Personal Data.

Exporting the user's personal data from your WordPress dashboard

You can now type in the person’s username or email address to find the correct record.

Then, simply share the .zip file with the person who made the request.

Exporting personal data, in compliance with the California Consumer Privacy Act (CCPA)

WordPress and CCPA Compliance: FAQs

Online privacy is a serious topic, so I’m not surprised if you still have some questions about CCPA compliance and how it affects your WordPress website. 

In this section, I’ll cover the most frequently asked questions WPBeginner gets on this topic and offer some straightforward, practical advice.

How does CCPA affect how I use cookies on my WordPress website?

To comply with CCPA, you must clearly tell visitors how your site uses cookies for tracking. 

It’s also important to remember that the CCPA generally takes an opt-out approach to cookies, rather than an opt-in one. This means you can still use cookies by default, but you must allow visitors to opt out if they choose. 

The CCPA also gives users the right to opt out of their personal information being sold and shared.

The issue is that the definition of ‘sale or sharing’ is very broad, and may include data your website makes available to other companies via cookies. Targeted ads are a perfect example of this. 

So, if your cookies might lead to the ‘sale or sharing’ of data, then it’s even more important to offer a clear and easy way for visitors to opt out. 

What happens if I fail to comply with CCPA?

Non-compliance can lead to serious consequences for your WordPress site and business. You might face big financial penalties, with fines going up to $7,500 for each intentional violation. 

Even if you breach the CCPA by mistake, you can still be fined up to $2,500 per incident. These fines can add up very quickly, especially if the violation affects many users.

In addition to fines, breaching the CCPA can damage your reputation. 

In today’s digital world, users care deeply about their privacy. If your audience thinks you don’t care about their privacy, then they’ll lose trust in your brand, and you’ll struggle to grow your online business.

How often should I review my CCPA compliance?

Every website is different, but I generally recommend reviewing your CCPA compliance at least once per year.

It’s also really important to review your compliance every time you make big changes to how you handle user data. 

Additional Resources

Staying informed and proactive is essential for maintaining CCPA compliance on your WordPress site.

The following resources offer valuable insights and practical tools to help you keep up with evolving privacy regulations and best practices:

I hope this ultimate guide to WordPress CCPA compliance has helped you understand this important privacy law. Next, you may want to see our expert picks for the best WordPress security plugins or our guide on how to add WordPress analytics without cookies

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post The Ultimate Guide to WordPress and CCPA Compliance first appeared on WPBeginner.

How to Keep Personally Identifiable Info Out of Google Analytics

1 April 2025 at 10:00

Recently, we discovered something alarming while auditing one of our clients’ websites. Email addresses and phone numbers were showing up in their Google Analytics reports, exposing sensitive visitor information that they never intended to collect.

Collecting personally identifiable information from users can be a major issue. Not only does it violate privacy regulations like GDPR, but it also puts your business at risk of hefty fines and losing the trust of your customers.

But here’s the good news: preventing personally identifiable information (PII) from ending up in your analytics is actually quite straightforward once you know how.

We’ve spent years working with Google Analytics across hundreds of websites, and we’ve developed a foolproof system to keep sensitive data out of your reports. In this guide, we’ll show you exactly how to protect your visitors’ privacy while still getting all the valuable insights you need from your analytics data.

How to Keep Personally Identifiable Info Out of Google Analytics

What Is Personally Identifiable Information, and Why Should You Protect It?

Personally Identifiable Information (PII) is any data that, when combined, can reveal a person’s identity.

Some common examples of PII include:

  • Full name (first and last)
  • Email address
  • Phone number
  • Home address
  • Credit card information
  • Login credentials (usernames and passwords)
  • IP addresses (when linked to individuals)

The problem is that PII often sneaks into Google Analytics through URLs.

Let’s say that users submit personal details on contact forms or login pages on your WordPress site. This data can be embedded in the URL of the next page they visit.

The URL might look like this:

www.example.com/contact-us/[email protected].

In that example, we can see that the URL shows the user’s email address.

Why Should You Keep Personal Info Out of Analytics?

Privacy laws like GDPR are serious about protecting personal data. That’s one reason why Google doesn’t allow businesses to collect or store PII.

If your Google Analytics account is capturing PII, you could end up in trouble, facing hefty fines or having your account suspended.

And it’s not just a technical issue – it can have real consequences for your business. Users expect businesses to respect their privacy. But if they feel their data isn’t safe, they might take their business elsewhere.

That’s why it’s so important to keep PII out of your Google Analytics data.

With that in mind, we’ll show you how to keep personally identifiable information (PII) out of Google Analytics. Here’s a quick overview of the 2 methods we’ll share with you:

Ready? Let’s get started.

Method 1. Using a Plugin to Keep Personally Identifiable Info Out of Google Analytics

Google Analytics can be overwhelming to navigate, especially when trying to ensure compliance with privacy regulations.

Managing cookie consent, anonymizing IP addresses, and adjusting privacy settings can quickly become overwhelming. For many people, sorting through these settings and ensuring compliance is no easy task.

If you’re a WordPress user, then we have good news for you.

MonsterInsights is the best WordPress analytics plugin, and it integrates seamlessly with Google Analytics 4 (GA4). With its Privacy Guard feature, it offers privacy-friendly tracking that you can manage directly from your WordPress dashboard.

ℹ️ Quick note: MonsterInsights powers our conversion tracking at WPBeginner, helping us monitor traffic, forms, buttons, referral links, and more with ease. See why we love it in our detailed MonsterInsights review!

Step 1. Install and Activate the MonsterInsights Plugin

First, let’s get started by creating a MonsterInsights account. Just head over to the website and click the ‘Get MonsterInsights Now’ button.

MonsterInsights' homepage

You can then go ahead and choose a plan. For this tutorial, we recommend the Plus plan or higher, as it includes the Privacy Guard feature to help with compliance.

After signing up, you can install and activate the MonsterInsights plugin on your WordPress site. For step-by-step instructions, see our guide on how to install a WordPress plugin.

Step 2. Connect MonsterInsights to Your Google Analytics Account

Upon activation, you’ll need to connect the MonsterInsights plugin to your Google Analytics account.

In your WordPress dashboard, you need to go to Insights » Launch the Wizard to start the setup.

The MonsterInsights setup wizard

After that, you’ll select the category that best describes your website.

MonsterInsights gives 3 options – business site, publisher (blog), or eCommerce (online store).

The MonsterInsights setup wizard

After selecting a category, simply click ‘Save and Continue’ to proceed.

On the next screen, you can click ‘Connect MonsterInsights’ to start the connection process.

How to connect WordPress to Google Analytics using MonsterInsights

Then, you can follow the prompt to sign in to your Google Analytics account.

Upon signing in, you can select the website you want to track from the dropdown menu.

Connect WordPress site to Google Analytics using MonsterInsights

From here, go ahead and click the ‘Complete Connection’ button. MonsterInsights will then automatically install Google Analytics on your WordPress website.

For details, feel free to refer to our guide on how to install Google Analytics in WordPress.

Step 3. Enable the Privacy Guard Feature

Keeping Personally Identifiable Information (PII) out of your tracking doesn’t have to be complicated.

With MonsterInsights’ Privacy Guard, you can do it in just a few clicks!

This feature automatically scans your website for sensitive information. It checks for any private details and prevents them from being stored in your analytics reports.

These details can be:

  • Form submission data, such as personal information entered in contact or registration forms.
  • URL data, which is the full web address of the page, including the domain name, path, and any additional information.
  • Query parameters, which are the bits of data in URLs, like “?id=1234.” They often track specific user actions or provide extra information to the website.

To do this, let’s navigate to the Insights » Settings » Engagement tab.

The Engagement tab

From here, you can go ahead and turn on the ‘Privacy Guard’ switch – that’s it!

MonsterInsights will now help protect personally identifiable information and keep you compliant with privacy laws.

Enabling Privacy Guard

⚠️ Important Disclaimer: No plugin can guarantee 100% legal compliance because every website is different. We strongly recommend consulting an Internet law attorney to ensure your site meets all legal requirements for your location and specific use case.

This is not legal advice – just a friendly heads-up to help you stay informed!

Method 2. Keeping Personally Identifiable Info Out of Google Analytics

In this method, we’ll guide you through configuring the settings that you need to keep PII out of Google Analytics directly from its dashboard.

This option is best for advanced users, as it gives you full control over the setup.

Additionally, since this method isn’t limited to WordPress, you can follow along even if you made your website with a different website builder.

First, you’ll need to sign in to your Google Analytics account.

Signing in to Google Analytics

Go ahead and click on the ‘Sign in to Analytics’ button.

In the dashboard, let’s hover over the sidebar and click the ‘Admin’ menu.

Locating the Admin menu

Once inside, you’ll want to locate the ‘Data collection and modification’ section.

After that, let’s click on ‘Data streams.’

The Data Streams menu

This will take you to the table, which lists all your data streams.

Now, you can select your website from the list.

List of data streams

This will open the ‘Web stream details’ slide-in.

From here, let’s scroll down to the ‘Events’ section and click ‘Redact data.’

Redact data menu

On the next screen, you will see the ‘Redact data’ menu.

The ‘Choose what to redact’ section of this slide-in has two switches at the top.

Let’s first redact email addresses by flipping the switch. Google Analytics will then automatically exclude email addresses from the data it collects.

Enabling email redact

Then, you can filter out other PII by entering query parameters.

To do this, you’ll need to enable the switch for ‘URL query parameter.’ Then, you can enter your query parameters in the respective field.

For example, here, we added ‘name,’ first_name,’ ‘last_name,’ and ‘ip_address.’

Enabling URL query parameter redact

Once everything looks good, you can save your settings.

Google Analytics will now help protect PII and keep your site privacy-compliant.

⚠️ Important Disclaimer: Configuring settings manually in the GA4 dashboard requires precise knowledge of which data needs to be redacted.

This can be tricky, and even a small mistake may result in sensitive information being collected.

We recommend thoroughly reviewing your data collection settings to ensure all PII is properly excluded. Always take the necessary precautions, as improper configuration could lead to compliance issues.

Bonus Tips for Privacy Compliance on Your Website

Keeping personal info out of analytics reports is just one way to comply with privacy regulations. We also recommend following these tips:

For more details, just see our complete guide to GDPR compliance for WordPress users.

FAQs About Keeping Personally Identifiable Info Out of Google Analytics

Keeping PII out of Google Analytics is important for privacy and compliance. If you still have questions, feel free to take a look at some quick answers to common questions:

How does Google handle user data and privacy concerns?

Google takes privacy seriously. It anonymizes data and complies with strict regulations like GDPR.

While Google provides tools to help businesses protect user privacy, it’s ultimately up to the businesses to make sure they don’t collect personally identifiable information (PII).

Does Google Analytics collect personally identifiable information?

Not by default. But if you’re not careful, PII can sneak in through URLs, form submissions, or custom tracking settings. That’s why it’s important to set things up correctly.

Do all sites with analytics need cookie warnings?

Yep! If your site tracks users with cookies (like Google Analytics does), then privacy laws like GDPR and CCPA require you to show a cookie notice and get user consent.

Further Reading: More Analytics and Tracking Guides

Understanding how to keep PII out of Google Analytics is just the beginning! If you want to fine-tune your tracking, improve data accuracy, and stay compliant with privacy laws, then check out these helpful guides:

📊 Google Analytics 4: A Beginner’s Guide – Learn how to set up GA4 on your WordPress site and make the most of its powerful features.

That’s all there is to it! We hope this guide has helped you learn how to keep personal info out of Google Analytics. You may also like to see our guide on how to get a custom email alert in Google Analytics or our expert pick of the best WordPress GDPR plugins.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Keep Personally Identifiable Info Out of Google Analytics first appeared on WPBeginner.

❌