Usage

Experiments

Next you need to make an experiment, which varies something on your site. There are two types of experiments you can run: Item and Manual.

Item

An Item experiment lets you select an entry and modify its content from the base entry. These can be created using the Create A/B Experiment action on the entry view.

This will open a modal allowing you to choose what field(s) you want to vary and define their alternate values.

Ensure you associate the experiment with the goal you created in the first step.

This add-on will automate the display of the variants, knowing when the item is augmented and switching it as appropriate.

If you are using full static caching, Statamic is never booted, so you will need to use
{{ nocache }} alongside the tags this addon provides to run your experiments.

Manual

A Manual experiment lets you determine what you want to do inside the experiment, e.g. show a different nav UI, show a different button style.

You will need to update your code or templates to display the different variants and use the ab tag. You can use the variant:handle to determine which version of the experiment to show to the user.

Previous

Goals

Next

Results