Do Not Track
Header and property saying the person asked not to be tracked; mostly ignored.
In one line
Can see whether you turned on Do Not Track, which most sites ignore
Header and property saying the person asked not to be tracked; mostly ignored.
Reveals a privacy preference (about 1 in 4 desktop Chrome and Firefox users enabled it at its peak) and ironically adds a fingerprint bit. Safari removed it in 12.1; Firefox is removing the setting.
What it can and can't do
What the user does: Nothing. Your browser sends it with each page request if the setting is on
It can
- Check if you asked not to be tracked
- Use the setting as one more clue to recognise your browser
It cannot
- Make sites stop tracking you; most do not honor it
- See the setting in Safari, which removed it
- Know why you turned it on
How it differs between platforms: Chrome, Edge and Firefox still send it if you turn it on. Safari removed it.
Browser support
| Browser | Status | First version | Released | Note |
|---|---|---|---|---|
| Chrome | Supported | 23 | 2012-11-06 | None |
| Edge | Supported | 17 | 2018-04-30 | None |
| Firefox | Supported | 9 | 2011-12-20 | Setting being retired in 135 |
| Safari | Removed | 12.1 | 2019-03-25 | None |
| Safari on iPhone | Removed | 12.2 | 2019-03-25 | None |
| Chrome on Android | Supported | 25 | 2013-02-27 | None |
| Samsung Internet | Supported | 1.5 | 2013-09-25 | None |
How a site asks for it
| API | navigator.doNotTrack, DNT: 1 header |
| Browser compat keys | api.Navigator.doNotTrack |
| How access is granted | none |
| What the user sees | None |
| Needs a secure context (HTTPS) | No |
| Needs a user gesture | No |
| How long it lasts | read fresh on every page load; nothing stored |
| How to take it back | none needed (no grant) |
| Inside an iframe | Readable from cross-origin iframes too (same values) |
Typical flow
- Page script reads the value
- No prompt is shown
Data you get
Shape: object
How often: static per session
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
doNotTrack | enum | None | 1, 0, null | Not listed |
Technical limits
- No legal force; replaced by GPC
The story
What it is
A setting that tells sites you do not want to be tracked, which most ignore.
For you
If you turn it on, every site gets a small note saying 'please do not track me'. You see no change. Most sites ignore it, and having it on can make your browser stand out.
For makers
Few makers honor it, because there is no law that requires it. Some analytics tools skip counting those visits. It is also a fingerprint bit, since only some people turn it on.
Where you see it
| Type | Example | Apps |
|---|---|---|
| analytics | A privacy minded analytics tool skips counting visits that carry the request. | Matomo, Plausible |
| ads | An ad network reads the flag and keeps tracking, since no rule forces them to stop. | None named |
| media | A news site shows a 'we do not respond to this' note in its privacy policy. | None named |
| games | A game site that tracks play time for ads ignores the request, because it is not required to follow it. | None named |
| security | A fingerprinting script adds the flag as one more clue to tell visitors apart. | None named |
| shopping | A store records the preference but still uses cookies for the cart. | None named |
Risks
- Mostly ignored
- Makes you stand out
What the platform says
- Mozilla: Do Not Track. Mozilla describes a browser setting that asks sites not to track you, and notes that sites choose whether to respond.
Good uses and abuse
Legitimate uses
- Honor preference
Known abuse
- Fingerprint bit
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 1 of 5 | How revealing the data is |
| Utility | 1 of 5 | How useful it is to honest apps |
| Friction | 0 of 5 | How much the user has to do |
| Fingerprint bits | 1.2 | Rough identifying entropy, when known |
A real example: LinkedIn
Do Not Track read but excluded from hash. Read by the LinkedIn APFC fingerprint script (alleged by BrowserGate, partly confirmed by BleepingComputer).
History
- 2016-06, paper: AmIUnique: DNT 1.19 bits
- 2019-03, Safari 12.1: navigator.doNotTrack removed
Related capabilities
Related
- Global Privacy Control. Can see that you asked sites not to sell or share your data
Sources
How well checked: Based on official documentation.