Turn on experiments to test banner variants (copy, layout, theme) and optimise
your consent rate:

```js
lightning("init", { experiment: true });
```

When enabled, the CMP fetches a **per-visitor banner variant** from the backend,
keyed by a stable visitor key, and merges that variant's overrides over your
inline config. Assignment is **deterministic** per visitor, so a returning
visitor always sees the same variant.

- Variants are managed **centrally** (in the dashboard), not in your page code —
  so you iterate without redeploying.
- The winning variant's overrides are ordinary [config](/api/config-reference/)
  fields (theme, copy, position…), so anything you can set inline can be tested.

:::note[More detail coming]
Setup and metrics for experiments are being migrated from the platform docs.
Requires a configured backend (`apiBase` + `siteId`).
:::