Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.
DNT (Do Not
Track) request header indicates the user's tracking preference. It lets
users indicate whether they would prefer privacy rather than personalized content.
|Header type||Request header|
|Forbidden header name||yes|
DNT: 0 DNT: 1 DNT: null
The user prefers to allow tracking on the target site.
The user prefers not to be tracked on the target site.
The user has not specified a preference about tracking.
navigator.doNotTrack; // "0" or "1"
|Tracking Preference Expression (DNT) |
BCD tables only load in the browser
- Do Not Track on Wikipedia
- What Does the "Track" in "Do Not Track" Mean? – EFF
- DNT browser settings help: