...
Expand | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||
In This Topic
Anchor | | defining_variants | defining_variants | Definining
Anchor | ||||
---|---|---|---|---|
|
Grouped personalization variants are variants that are assigned to the same position on a content item. When you group or stack personalization variants, only one can be triggered depending on the defined conditions. You determine the order in which personalization variants are evaluated and triggered. Grouped personalization variants can be visualized as follows:
As you can see, the stacked personalization variants are all assigned to the same location on the content item. When a website visitor matches a personalization variant, the content assigned to that variant is shown. When variants are grouped, only one of them is triggered.
To group personalization variants, follow these steps:
- Select the content that you want to personalize.
- Click [Personalize].
- Create a personalization variant.
- Select Add from the Actions menu:
The new variant is added to the group. - Add one or more personalizations to the new variant and define it further as described in Defining Creating Personalization Variants. Add as many variants to the group as needed.
After you add one or more variants to the group, the personalize icon changes to reflect that there are multiple variants assigned to the group:
Adding Content for a New Variant in the Group
After adding a new variant to the group, the content belonging to the previously selected personalization variant disappears and new content can now be added for the new variant. The dashed box, denoting the location of the variant "block" surrounding the location of the personalization area will be empty. For example:
Click within this area and add content as you normally would (type rich text directly in the area or click [Insert] and add a content element or layout).
Defining the Order of Evaluation
When personalization variants are grouped, only one of them is allowed to be triggered. You define the order that the variants are evaluated or stepped through to define the personalized content that the visitor will see. To do so, follow these steps:
- Open the personalization group.
- Select Manage from the Actions menu:
The variants are listed in the order they will be evaluated. For example:
The personalization(s) assigned to the first variant that is matched will be shown to the website visitor. To change the evaluation order, click and drag a variant up or down in the list. For example:
Cycling through Variants in a Personalization Group
When a personalization group has been defined, naturally only one of the variants can appear at a time. When you first open a content item containing a personalization group, the first one in the list (#1) is the one that will appear at the location of the group. When you are actively editing a content item and you select a different variant from the drop-down list, the last variant that you selected will be the one that displays throughout the time you are active on the content item. The first one in the list will always be shown after you either navigate away from the content item and return or after a browser refresh.
To cycle through the variants, click the personalization icon . Select the variant you want to view/edit from the Variant drop-down list. For example:
The content you added to the variant you select will appear in the personalization block.
Deleting a Personalization Variant
There are two ways to delete a variant:
- In the Manage Variants list, hover the mouse over the right side of the variant and click the X:
- While viewing the variant details, select "Delete" from the Actions menu:
Anchor | ||||
---|---|---|---|---|
|
Content in a layout can be personalized just as rich text in the Editor. Furthermore, the layout itself can fall within another personalization together with content in the Editor thus creating a nested situation. Personalization variants nested within each other can be visualized as follows:
When a personalization variant is nested within another, the content will not be shown unless the outer personalization variant is triggered. In the example above, personalization variant B cannot be triggered unless personalization variant A is triggered. Likewise, personalization variant C cannot be triggered unless both A and B are.
Working with nested personalization variants is no different that working with single variants or grouped variants. See Defining Creating a Personalization Variant and Grouping Personalization Variants.
Anchor | ||||
---|---|---|---|---|
|
Because of the way that personalization variants are rendered with respect to other content in the Editor, you can run into situations where you cannot add white space or other content between adjoining personalization variant blocks in the same way that you can between content elements and rich text. For this reason, two extra buttons become available in the Editor's toolbar that make it possible to add white space before or after a personalization variant block. Consider the following example - two personalization variant blocks abut each other and it is not possible to insert the cursor between them:
In this situation, two extra toolbar buttons become available which make it possible to insert an empty line above or below a personalization variant block:
Click in a personalization variant block and then click the Insert Empty Line Above or Insert Empty Line Below button. An empty line is inserted at the desired location. You can now add new content between the personalization variant blocks. These buttons are only available when the conditions call for it.
...