Skip to content

The only Privacy solution for WordPress you can truly trust.

How to remove doubleclick.net cookie from your website

DoubleClick cookie removal

This post talks about:

What is doubleclick.net, and why is it significant?

DoubleClick is a Google service that enables advanced user tracking to deliver highly personalized ads based on a user’s preferences and browsing behavior.
Because this tool performs sophisticated—and potentially invasive—profiling, it is advisable to block this cookie to better comply with privacy regulations.

But how is the DoubleClick cookie installed? Which scripts trigger this cookie?
Disabling DoubleClick calls is very simple and can be done directly from the Google Analytics admin panel. However, it’s important to know both which settings to change and that these specific settings control whether the DoubleClick tracking cookie is installed.

Let’s see how to disable the installation of the DoubleClick cookie in 3 easy steps:

  1. Sign in to Google Analytics.
  2. Navigate to Administrator → Property settings → Data collection and modification → Data collection.
    Google Analytics property settings
  3. Disable consent for ad personalization.
    Google Signals Settings

Do you use Google Signals?

If so, simply add the following line to the Analytics code you include in your theme:

gtag(‘set’, ‘allow_google_signals’, false);

Place this line before gtag(‘config’, ‘G-xxxxxxxx’).

Disabling these options, alongside Google Analytics’ advanced privacy settings (see our dedicated Google Analytics guide), helps enhance your compliance regarding the data sent to Google’s servers.