Opt a visitor out of Optimizely tracking by disabling Optimizely.

Syntax

window["optimizely"].push(optOut);
Parameters

Parameter and Type

Child Attribute

Description

optOut
OptOutObject

An object with the type field set to optOut. The other fields are the function arguments. Required.

type
string

Child attribute of type OptOutObject

The argument indicating that you are using the optOut function. Required.

isOptOut
Boolean

Child attribute of type OptOutObject

It is possible to opt in a previously opted-out visitor.

Example Call

window["optimizely"].push({
  "type": "optOut",
  "isOptOut": false
});

Description

Opt a visitor out of Optimizely tracking by disabling Optimizely. For example, you may want to opt visitors out of Optimizely tracking as part of your site's broader opt-out preferences.


Did this page help you?