The availability of features may depend on your plan type. Contact your Customer Success Manager if you have any questions.
Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

Query parameters

You can use URL parameters to modify the execution of Optimizely Web Experimentation on your page.

The following is a list of all the supported URL parameters available.

Disable

Disables Optimizely on the page.

?optimizely_disable=true

Impersonate audiences

Comma-separated list of audience IDs to "impersonate".

?optimizely_x_audiences={{audience_ids}}

Override variations

Comma-separated list of variation IDs to bucket. If set overrides any variations, the visitor is in "naturally". If this parameter is set, it disables tracking events.

?optimizely_x={{variation_ids}}

Opt out

Removes a visitor from Optimizely Web Experimentation tracking (sets cookie to persist).

?optimizely_opt_out=true

Force tracking

Sends tracking events even if client is in preview or force variations/force audiences are present. Does not override disable tracking API.

?optimizely_force_tracking=true

Log

Prints execution info to your browser console. The possible values (case-insensitive) for the parameter are:

OFF/FALSE – No logs
ERROR – Errors only
WARN – Warning and above
INFO/TRUE – Info and above
DEBUG – Debug and above
ALL – All logs

?optimizely_log=info

View draft or paused experiments

Lets anyone view draft or paused experiments for QA testing.

?optimizely_token=PUBLIC