Variants
Contents
Widget for creating variants is provided by Content Studio+ application which requires Enonic license. |
Variants are essentially slightly modified copies of a content item used for comparing them against each other to determine which one performs better for end user (A/B Testing).
Using "Variants" widget provided by Content Studio+, user can create variants of a specific content item, duplicate them (make copies of variants), then use URLs of variants in a 3rd party A/B Testing tool. Variants can be managed (modified, published, duplicated, deleted etc.) just as regular content items.
To create a new variant, select a content item in the Content Navigator grid, then open the "Variants" widget in the Context Panel on the right-hand side (if you cannot find it then you probably don’t have Content Studio+ installed) and click "Create Variant" button.
This will open a new modal dialog for specifying name of a variant, suggesting "variant-1", "variant-2" etc., based on how many variants of the item already exist. A new name will be verified for uniqueness. The rest of the properties will be copied from the original item.
![New variant dialog](/docs/content-studio/stable/variants/_/image/0962e705-100e-4180-94ed-1a98f44f3753:581b49895fc411a10109f3d080d88d3ef7bb0c8e/width-768/variants-dialog.png)
After a new variant is created, it will be placed under the original item in the Navigator grid and displayed in the "Variants" widget under the original item. Each variant has a context menu with "Edit" and "Duplicate" options.
![Variants in Content Navigator](/docs/content-studio/stable/variants/_/image/4f4c8b2b-86fb-46ad-9463-ee8c385ab4ae:4f6c7ba02956a59a6dfcf031ab27e8b19c0fbb95/width-768/variants-grid.png)
![Variants widget](/docs/content-studio/stable/variants/_/image/4abb352b-2d1c-499f-840d-257a99b0cb0c:e4cdf19cced6f9277e87b31010549c135459f7ba/width-768/variants-widget.png)