setSessionIdStrictPrivacyMode
The setSessionIdStrictPrivacyMode() method enables or disables the reading of the screen resolution and browser plugins from the visitor’s device without consent. Accessing a visitor’s device is not compliant with the German Data Protection Act (TTDSG) and similar privacy laws.
Syntax
setSessionIdStrictPrivacyMode(isStrict)Not availableNot availableNot availableNot availableNot availableNot availableParameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| isStrict | boolean | Whether to enable or disable the reading of the screen resolution and browser plugins from the visitor's device without consent. True: enable. False: disable. | Yes |
Example
To allow the reading of the screen resolution and browser plugins:
_paq.push(["setSessionIdStrictPrivacyMode", true]);Not availableNot availableNot availableNot availableNot availableNot availableRelated methods
Updated 15 days ago