Getting started with web experiments
This topic describes how to get started building a web experiment. We recommend that you complete these steps in the following order:
- Create a web experiment and add a variant using an out-of-the-box web template or custom code.
- Apply any of the following options to the web experiment:
- Target a webpage to set the area of your website where you want the experiment to run. You can also add JavaScript to determine the context in which the experiment should execute.
- Apply a condition to filter the visitors that see the experiment based on real-time behavior.
- Apply a segment to configure the experiment to only run for a certain segment of guests.
- Associate a decision model with your experiment to recommend dynamic offers or content.
- Compose the API request to apply further personalization using dynamic data.
- Insert the web experiment in your HTML by specifying in the JavaScript editor where in the Document Object Model (DOM) you want the offer or content to display.
- Preview the web experiment in your organization's website.
- Add a primary goal to the web experiment. Sitecore Personalize uses the metrics of the primary goal to measure variant performance when determining a leading or winning variant.
- Start the experiment. After the experiment runs for 24 hours, you can see how the variants are performing against each other on the Performance dashboard.
If you have suggestions for improving this article, let us know!