Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
PersonalizeCloud Portal
Sitecore Personalize
        • Getting started
            • Create a variant using a web template
            • Create a variant using custom code
            • Use HTML
            • Use CSS
            • Use JavaScript
            • Inserting an experiment in your HTML
        • Using traffic allocation and variant traffic assignment
        • Target a webpage
        • Apply a condition
        • Apply a segment
        • Use a decision model
    • SitecoreAI experiments
    • Using the experiment list
    • Manage experiment details
    • Set automated post-test actions
    • Set up email notifications
    • Duplicate, delete, and view details
  • Using client-side JavaScript
  • Glossary
  1. Introduction to experiments in Sitecore Personalize
  1. Sitecore Personalize
  2. Introduction to experiments in Sitecore Personalize
  3. Introduction to web experiments in Sitecore Personalize

Create a variant for a web experiment using a web template

Sitecore Personalize provides you with several templates you can use to create a variant for a web experiment. You do not have to use these templates, but they can help you to get started quickly without having to use much or any code.

To create a variant for a web experiment using a web template:

  1. In the Experiment variants tile, click Create variant.

    Note

    You can create a maximum of six variants in each experiment.

  2. In the Select template pane, click the Web Template you want to use from the list of templates, customized for your organization. Most web templates are configured to display fields for business users to complete on the right pane.

    Note

    Some web templates are designed for developers. If you selected this type of web template, tabs display for configuring HTML, CSS, or JavaScript. You can also click Advanced Edit to open these tabs.

  3. Complete any or all of the fields on the pane, if applicable. Some web templates are designed to show an image and content of the experiment as you complete the fields:

     
  4. Click Save.

  5. Click to close the pane.

Note

Some web templates are configured with JavaScript to capture when a guest performs a specific action. For example, you might add a web template which results in a pop-up window prompting the guest to submit their email address to sign-up for a newsletter. The web template can capture whether the guest submitted their email address through a custom event.

If you have suggestions for improving this article, let us know!

Documentation Assistant

This assistant uses AI to generate responses based on Sitecore documentation. While it has access to official sources, answers may be incomplete or inaccurate and should not be considered official advice or support.
Powered by
k
kapa.ai
Protected by reCAPTCHA

© Copyright 2026, Sitecore A/S or a Sitecore affiliated company.
All rights reserved.

Privacy policySitecore Trust CenterTerms of use