setDoNotTrack
DeprecatedThis method is no longer recommended.
The setDoNotTrack() method enables or disables the do-not-track option. If enabled, the visitor won't be tracked.
Syntax
setDoNotTrack(enable)Not availableNot availableNot availableNot availableNot availableNot availableParameters
enable (boolean, required)
Whether the do-not-track option is enabled or disabled for the visitor. True: the visitor won't be tracked. False: the visitor will be tracked.
Examples
To enable the do-not-track option and not track the visitor:
_paq.push(["setDoNotTrack", true]);Not availableNot availableNot availableNot availableNot availableNot availableUpdated about 2 months ago