setIpTracking

The setIpTracking() method enables or disables the option to record the IP option in the tracker. When disabled, the backend tracker won't record IP information attached to following requests.

The setIpTracking(true) is set by default. This means the backend tracker will record IP information.

Syntax

setIpTracking(status)
Not available
Not available
Not available
Not available
Not available
Not available

Parameters

status (boolean, required)

Defines if the backend tracker will record IP information attached to following requests. Values: true - record IP data, false - ignore IP data.

Examples

To mark a visitor as anonymous:

_paq.push(["setIpTracking", true]);
Not available
Not available
Not available
Not available
Not available
Not available

Related methods