Skip to main content
Interface describing the active Experiment Center experiment assigned to the current screen.
Example

Properties

Record
Resolved configuration for the assigned variation. Each key is a config name (for example, 'show_passkey') defined by the experiment.Each entry arrives wrapped as { value: <resolved value> }. Since the wrapper object is always truthy, read the value with config['<key>']?.value rather than the entry itself.The Experiment model normalizes an absent or null config to an empty object ({}), so config is never null.
string
Unique identifier of the active experiment.
boolean
Whether the assigned variation is the control variation.
string
Human-readable description of the assigned variation. null for some variations.
string
Unique identifier of the assigned variation.
string
Human-readable name of the assigned variation. null for some variations.