WPConsent Blog

Everything you need to know about the WPConsent plugin

How to Handle Do Not Track Requests in WordPress

How to Handle Do Not Track Requests in WordPress 

Managing Do Not Track requests in WordPress is more complicated than most website owners realize. When I first encountered this challenge, I assumed it would be a simple setting somewhere in the WordPress dashboard. I was completely wrong.

Sadly, WordPress doesn’t have built-in functionality to handle any of these Do Not Track scenarios.

Your analytics plugins, social media widgets, and advertising scripts all run independently. Each one needs to be configured separately to detect and respect these different types of requests.

This is where WPConsent can help you out. It offers a powerful Do Not Track addon that makes it effortless to manage DNT requests and comply with privacy regulations like CCPA.

In this article, I’ll show you how to handle Do Not Track requests in WordPress using WPConsent.

Why You Need to Handle Do Not Track Requests?

Your website visitors are becoming more privacy-conscious every day. They’re enabling Do Not Track settings in their browsers, updating cookie preferences, and even sending direct requests to stop tracking their activity.

Privacy regulations like the California Consumer Privacy Act (CCPA) provide users the right to request companies to not sell or share their personal information with third parties.

Failing to honor these requests can lead to compliance issues and potential fines. Similarly, when your site ignores these requests, you’re breaking trust before visitors even engage with your content.

As a result, businesses need to provide users with clear ways to opt out of data collection. One way to do that is by offering users a simple way of submitting their Do Not Track requests using a form, and website owners can then process their data for removal.

That said, let’s look at how you can do that on your WordPress website.

Managing Do Not Track Requests in WordPress

The easiest way to manage Do Not Track requests in WordPress is by using WPConsent. It is the best cookie consent management plugin for WordPress and offers a powerful Do Not Track addon.

Using the addon, you can provide your visitors with a dedicated page, where they can submit their opt-out request quickly and easily. Besides that, you can add a customizable form and define the form fields and labels. The addon also lets you manage all the requests in one place, so you can quickly process them.

The best part is that all the requests are stored locally in a custom table on your own site, ensuring you maintain full control over your data. It offers multilingual compatible that helps you translate the DNT form on the frontend of your website. 

Note: To get started, you will need the WPConsent Plus or higher plans because they include the Do Not Track addon. However, there is also WPConsent Lite version that’s available for free, but it doesn’t offer the addon.

Now, let’s look at the steps to set up WPConsent, the addon, and handle Do Not Track Requests in WordPress.

Step 1: Install and Activate WPConsent in WordPress

First, you’ll need to visit the WPConsent website and sign up for a new account.

WPConsent Best Cookie Management plugin for WordPress

After that, you can head to your WPConsent account area and go to the ‘Downloads’ tab.

From here, go ahead and click the Download WPConsent button and save the plugin ZIP files on your computer.

Download WPConsent zip files

Next, you can log into your WordPress website and upload the plugin files to install and activate the WPConsent plugin. If you need help, then please see this guide on how to install a WordPress plugin.

Upon activation, you’ll see the WPConsent setup wizard. Go ahead and click the ‘Let’s Get Started’ button and follow the onscreen instructions.

WPConsent setup wizard

Step 2: Download and Install Do Not Track Addon

Now that you’ve set up WPConsent, the next step is to add the Do Not Track addon.

First, you’ll need to go to WPConsent » Do Not Track from the WordPress admin panel. 

From here, simply click the ‘Install Do Not Track Addon’ button.

Install do not track addon

Once that’s done, the addon will automatically install and activate. 

Now, let’s see how you can configure the addon to handle Do Not Track requests in WordPress.

Step 3: Configure Do Not Track Addon in WPConsent

Once the addon is active, you can head to WPConsent » Do Not Track from the WordPress admin panel and switch to the ‘Configuration’ tab.

Here, you can configure a page where users can submit their Do Not Track requests. If you want to select an existing page, then you can click the dropdown menu and choose a page.

On the other hand, WPConsent also lets you create a new page to handle DNT requests. Go ahead and click the Generate Do Not Track Page button.

Click generate a do not track page

After that, you can scroll down and customize the form fields.

For instance, you can change the text of each field label and enable different field to display in form. There is also an option to make the fields required, so users will have to fill them out before submitting the request.

Enable and change do not track form fields

By default, the form will show the first name, last name, and email fields enabled. However, you can add more fields, such as address, ZIP code, city, country, and phone.

The WPConsent Do Not Track addon also integrates with WPForms for spam protection, giving you access to their three advanced CAPTCHA options:

  • Google reCAPTCHA
  • hCaptcha
  • Cloudflare Turnstile

This anti-spam feature helps you protect your website from spam and abuse while letting real people pass through with ease.

Spam protection with WPForms

Once you’ve made the changes, go ahead and click the Save Changes button.

Now, you can scroll to the top and click the ‘View Page’ button next to the Do Not Track Page field.

View DNT form page

Next, you will see a preview of the form that your users will use to submit the requests.

You can then quickly make changes to the DNT form, add or remove form fields, and more.

Preview of do not track form

Step 4: Manage Do Not Track Requests

Once the form is live on your website, users can use it to request removal of their information from your site.

To handle all the requests, simply switch to the Requests tab in the Do Not Track addon. From here, simply select the requests by clicking the checkbox next to them.

After that, go ahead and click the Bulk Action dropdown and select the ‘Mark as Processed’ option. Once that’s done, you can click the Apply button.

See requests for do not track

The best part is that the addon automatically timestamps each submission and allows you to track when the request was made and processed, simplifying your data audits.

WPConsent also lets you export the Do Not Track requests on your site. Simply switch to the ‘Export’ tab and then pick a date range to export the requests.

Export do not track requests

The addon will also give you the option to automatically mark exported entries as ‘processed’ to streamline your workflow, or only export ‘not processed’ entries.

That’s it! You’ve successfully set up a system to handle Do Not Track requests in WordPress using WPConsent.

FAQs about Handling Do Not Track Requests in WordPress

Let’s look at some common questions users might have about Do Not Track requests in WordPress.

1. What exactly is a Do Not Track request?

Do Not Track (DNT) request is a signal indicating that users don’t want to be tracked by websites. It’s basically their way of saying, ‘please don’t collect data about my behavior.’

2. Does WordPress automatically respect Do Not Track signals?

No, WordPress doesn’t have built-in functionality to detect or respect DNT signals. Your analytics plugins, social media widgets, and other tracking scripts will continue running regardless of a user’s DNT preference unless you specifically configure them to stop. This is where you can use WPConsent to handle Do Not Track requests.

3. What’s the difference between DNT and cookie consent banners?

Cookie consent banners ask users to make a choice about tracking when they visit your site. DNT signals should be respected automatically without showing any banners. When someone has DNT enabled, they’ve already told you their preference and that you shouldn’t ask them again. However, most websites still track users, so a better way to handle this is by using WPConsent. It lets you create a custom DNT form where users can submit their requests.

I hope this article helped you learn how to handle Do Not Track requests in WordPress. You may also want to see our guide on how to manage cookie consent data in WordPress and how to block cookies on your WordPress website.

If you liked this article, then please follow us on X (formerly known as Twitter). You can also leave a comment below if you need any assistance.

Add A Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.


Popular Resources

Get free tips and resources right in your inbox, along with 500+ others

Follow Us