Quick summary
Setting up an experiment in Amplitude involves configuring your site script, defining variants, setting goals and metrics, specifying target pages, and applying audience targeting before saving. The full setup wizard walks you through each stage — from Site Setup to Advanced Settings — so your experiment is ready to run with precise controls.
Steps
- In the Amplitude Experiment Editor, click 'Setup Experiment' in the top-right corner to begin.
- Under the Site Setup tab, locate the provided script tag, click its 'Copy' button, and paste the snippet into the head section of your website pages.
- Click 'Next: Variants' to proceed to the variants configuration step.
- Configure your variants under Control and Treatment by clicking the 'Gear' icon or 'Setup Your Variant', then specify your preferred Variant Name and Action.
- Click 'Next: Goal' to move to the goal-setting step.
- Define the experiment goal by clicking 'Select Metric' or 'Create a Custom Metric' to set up your success metrics.
- If metrics are not yet configured, click 'Define Metrics' to set them up first.
- Choose your preferred Metric Type and Events, then click 'Save' to confirm.
- Click 'Next: Pages' to move to the page-targeting step.
- Specify the website pages to include or exclude in the experiment by entering URLs and their corresponding conditions.
- Click 'Next: Targeting' to proceed to the audience configuration step.
- Configure audience targeting, variant distribution, and the number of participating users using the available settings tabs.
- Click 'Next: Advanced (Optional)' to access optional advanced configuration.
- Set advanced settings such as Exposure Events, Feature Flag, and Analysis Settings based on your preferences.
- Click 'Save All & Close' to finalize and save the entire experiment setup.
- Your Amplitude experiment is now fully configured and ready to run.



