Privacy Signals

Learn how Cookient handles bot detection, Do Not Track (DNT), and Global Privacy Control (GPC) signals.

Overview

Cookient automatically detects and respects privacy signals from browsers and users. This includes detecting automated bots and respecting user privacy preferences expressed through browser settings.

Privacy Signal Types

  • Bot Detection – Skip banner for crawlers and automated tools
  • Do Not Track (DNT) – Browser header indicating tracking preference
  • Global Privacy Control (GPC) – Newer standard for privacy preference

Bot Detection

Cookient automatically detects common bots and crawlers using their User-Agent strings. When a bot is detected, the consent banner is not shown.

Why Skip Bots?

  • Clean analytics – Bots can't consent, so they shouldn't pollute your consent metrics
  • SEO performance – Googlebot can access and index your content without obstruction
  • Performance testing – Lighthouse, GTmetrix, and PageSpeed get accurate results

Detected Bots

Cookient recognizes the following bot categories:

CategoryExamples
Search EnginesGooglebot, Bingbot, DuckDuckBot, Yandex, Baidu
Performance ToolsLighthouse, GTmetrix, PageSpeed, Pingdom
SEO ToolsScreaming Frog, Ahrefs, SEMrush, Moz
Social MediaFacebook, Twitter, LinkedIn crawlers
Google ServicesAdsBot, Mediapartners, GoogleOther

Detection Pattern (Simplified)

const botPattern = /googlebot|bingbot|googleother|adsbot|
mediapartners|baidu|sogou|yandex|duckduckbot|slurp|
semrush|lighthouse|gtmetrix|pingdom|pagespeed|
screaming|ahrefs|moz|majestic/i;

const isBot = botPattern.test(navigator.userAgent);

Do Not Track (DNT)

Do Not Track is a browser setting that sends a signal to websites indicating the user doesn't want to be tracked. When DNT is enabled, Cookient can automatically set consent to "reject all".

How Users Enable DNT

  • Chrome: Settings → Privacy → Send a "Do Not Track" request
  • Firefox: Settings → Privacy → Enhanced Tracking Protection
  • Safari: Uses Intelligent Tracking Prevention instead
  • Edge: Settings → Privacy → Send "Do Not Track" requests

DNT Detection

// Check if DNT is enabled
const dntEnabled =
  navigator.doNotTrack === "1" ||
  navigator.doNotTrack === "yes" ||
  window.doNotTrack === "1";
i
DNT Adoption
While DNT is widely supported in browsers, many websites don't honor it. Cookient gives you the option to respect this signal, demonstrating your commitment to user privacy.

Global Privacy Control (GPC)

GPC is a newer standard that communicates a user's privacy preferences to websites. Unlike DNT, GPC has legal backing under CCPA and is recognized by regulators.

GPC vs DNT

FeatureDNTGPC
Legal statusVoluntaryLegally recognized (CCPA)
Browser supportAll major browsersFirefox, Brave, DuckDuckGo, extensions
Website adoptionLowGrowing
Meaning"Don't track me""Don't sell my data"

GPC Detection

// Check if GPC is enabled
const gpcEnabled = navigator.globalPrivacyControl === true;
!
California Users
Under CCPA, businesses must treat GPC signals as valid opt-out requests for the sale of personal information. If you have California users, honoring GPC is recommended.

Configuration

You can configure how Cookient responds to privacy signals in your banner settings.

Available Options

SettingDefaultDescription
Skip botsEnabledDon't show banner to detected bots
Respect DNTDisabledAuto-reject when DNT is enabled
Respect GPCEnabledAuto-reject when GPC is enabled

How to Configure

  1. Go to Domains in your dashboard
  2. Select your domain
  3. Navigate to Banner EditorSettings
  4. Find the "Privacy Signals" section
  5. Toggle the options as needed
  6. Save changes

Behavior When Signals Are Respected

  • Banner is not shown (no user action needed)
  • Consent defaults to reject all optional categories
  • Functional and Security cookies still work (required)
  • A consent log entry is still recorded for audit purposes
  • User can still change preferences via the preferences modal