Disable Optimizely entirely.

Syntax

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

Parameter and Type

Child Attribute

Description

disable
DisableObject

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

type
string

Child attribute of type DisableObject

The argument indicating that you're using the disable function. Required.

scope
string

Child attribute of type DisableObject

You can disable just Optimizely tracking calls from being made using the parameter scope "tracking".

Example Call

window["optimizely"].push({
  "type": "disable"
});

Description

Disable Optimizely entirely. You must call disable prior to loading the Optimizely snippet.

You can also disable just Optimizely tracking calls from being made using the parameter scope tracking.


Did this page help you?