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/4.x/variants/index/_/image/006e36a1-660b-4a91-8589-695b7ea06ef4: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 Grid](/docs/content-studio/4.x/variants/index/_/image/1ee7b23c-0aa8-4b2a-a795-4e01f5b92fa0:4f6c7ba02956a59a6dfcf031ab27e8b19c0fbb95/width-768/variants-grid.png)
![Variants widget](/docs/content-studio/4.x/variants/index/_/image/45b07160-879a-4f1d-86b6-ca4cacc316de:e4cdf19cced6f9277e87b31010549c135459f7ba/width-768/variants-widget.png)