setDoNotTrack

❗️

Deprecated

This 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 available
Not available
Not available
Not available
Not available
Not available

Parameters

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 available
Not available
Not available
Not available
Not available
Not available