EnableTrackingProtection
Configure Enhanced Tracking Protection in Firefox.
If this policy is not configured, tracking protection is not enabled by default in the browser, but it is enabled by default in private browsing and the user can change it.
Values
Section titled “Values”Value: a Boolean that enables or disables tracking protection.- When
true, tracking protection is enabled by default in both the regular browser and private browsing, and theLockedvalue determines whether or not a user can change it. - When
false, tracking protection is disabled and locked in both the regular browser and private browsing.
- When
Locked: if set to true, users cannot change tracking protection values.Cryptomining: a Boolean that controls blocking cryptomining scripts. Whentrue, cryptomining scripts on websites are blocked.Fingerprinting: a Boolean that controls blocking fingerprinting scripts. Whentrue, fingerprinting scripts on websites are blocked.EmailTracking: a Boolean that controls blocking email tracking. Whentrue, hidden email tracking pixels and scripts on websites are blocked.SuspectedFingerprinting: a Boolean that controls protection against suspected fingerprinting. Whentrue, Firefox reduces the amount of information exposed to websites to protect against potential fingerprinting attempts.Exceptions: an array of origins for which tracking protection is not enabled.Category: a string that sets the tracking protection category, eitherstrictorstandard. When set, it overrides all other settings exceptExceptions,BaselineExceptionsandConvenienceExceptions, and the user cannot change the category.BaselineExceptions: a Boolean that controls the exceptions required to avoid major website breakage. Whentrue, Firefox applies them automatically.ConvenienceExceptions: a Boolean that controls the exceptions that are only required to fix minor issues and make convenience features available. Whentrue, Firefox applies them automatically.
Examples
Section titled “Examples”{ "policies": { "EnableTrackingProtection": { "Value": true, "Locked": true, "Cryptomining": true, "Fingerprinting": true, "EmailTracking": true, "SuspectedFingerprinting": true, "Category": "strict", "Exceptions": [ "https://example.com" ], "BaselineExceptions": true, "ConvenienceExceptions": true } }}JSON schema
{ "type": "object", "properties": { "Value": { "type": "boolean" }, "Locked": { "type": "boolean" }, "Cryptomining": { "type": "boolean" }, "Fingerprinting": { "type": "boolean" }, "EmailTracking": { "type": "boolean" }, "SuspectedFingerprinting": { "type": "boolean" }, "Exceptions": { "type": "array", "items": { "type": "string", "format": "moz-url", "pattern": "^([Ff][Ii][Ll][Ee]://.*|[Hh][Tt][Tt][Pp][Ss]?://[^/]+/?)$" } }, "Category": { "type": "string", "oneOf": [ { "const": "standard", "title": "Standard" }, { "const": "strict", "title": "Strict" } ] }, "BaselineExceptions": { "type": "boolean" }, "ConvenienceExceptions": { "type": "boolean" } }}Windows (GPO)
Section titled “Windows (GPO)”Software\Policies\Mozilla\Firefox\EnableTrackingProtection\Value = 0x1 | 0x0Software\Policies\Mozilla\Firefox\EnableTrackingProtection\Locked = 0x1 | 0x0Software\Policies\Mozilla\Firefox\EnableTrackingProtection\Cryptomining = 0x1 | 0x0Software\Policies\Mozilla\Firefox\EnableTrackingProtection\Fingerprinting = 0x1 | 0x0Software\Policies\Mozilla\Firefox\EnableTrackingProtection\EmailTracking = 0x1 | 0x0Software\Policies\Mozilla\Firefox\EnableTrackingProtection\SuspectedFingerprinting = 0x1 | 0x0Software\Policies\Mozilla\Firefox\EnableTrackingProtection\Exceptions\1 = "https://example.com"Software\Policies\Mozilla\Firefox\EnableTrackingProtection\Category = "strict" | "standard"Software\Policies\Mozilla\Firefox\EnableTrackingProtection\BaselineExceptions = 0x1 | 0x0Software\Policies\Mozilla\Firefox\EnableTrackingProtection\ConvenienceExceptions = 0x1 | 0x0<dict> <key>EnableTrackingProtection</key> <dict> <key>Value</key> <true/> | <false/> <key>Locked</key> <true/> | <false/> <key>Cryptomining</key> <true/> | <false/> <key>Fingerprinting</key> <true/> | <false/> <key>EmailTracking</key> <true/> | <false/> <key>SuspectedFingerprinting</key> <true/> | <false/> <key>Exceptions</key> <key>Category</key> <string>strict | standard</string> <array> <string>https://example.com</string> </array> <key>BaselineExceptions</key> <true/> | <false/> <key>ConvenienceExceptions</key> <true/> | <false/> </dict></dict>Compatibility
Section titled “Compatibility”| Firefox | Firefox ESR | Firefox Enterprise | |
|---|---|---|---|
EnableTrackingProtection | Available since 60 | Available since 60 | Available since 149 |
Cryptomining | Available since 70 | Available since 68.2 | Available since 149 |
Fingerprinting | Available since 70 | Available since 68.2 | Available since 149 |
Exceptions | Available since 73 | Available since 68.5 | Available since 149 |
EmailTracking | Available since 112 | Available since 115 | Available since 149 |
Category | Available since 141 | Available since 140.1 | Available since 149 |
SuspectedFingerprinting | Available since 142 | Available since 140.1 | Available since 149 |
BaselineExceptions | Available since 143 | Available since 153 | Available since 149 |
ConvenienceExceptions | Available since 143 | Available since 153 | Available since 149 |
CCK2 Equivalent: N/A
OMA-URI: EnableTrackingProtection
Preferences Affected: privacy.trackingprotection.enabled, privacy.trackingprotection.pbmode.enabled, privacy.trackingprotection.cryptomining.enabled, privacy.trackingprotection.fingerprinting.enabled, privacy.fingerprintingProtection, privacy.trackingprotection.emailtracking.enabled, privacy.trackingprotection.emailtracking.pbmode.enabled, privacy.trackingprotection.allow_list.baseline.enabled, privacy.trackingprotection.allow_list.convenience.enabled
See also
Section titled “See also”- Enhanced Tracking Protection in Firefox for desktop on support.mozilla.org
- Trackers and scripts Firefox blocks in Enhanced Tracking Protection on support.mozilla.org
- Manage Enhanced Tracking Protection exceptions on support.mozilla.org