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:
-
In the Experiment variants tile, click Create variant.
NoteYou can create a maximum of six variants in each experiment.
-
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.
NoteSome 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.
-
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:
-
Click Save.
-
Click
to close the pane.
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.