Defining a Client Side Variation from within the Campaign Builder
To define a Client-Side Variation:
- Start by creating an A/B or Personalization Campaign from the NEW menu option.
- In the Variations section, ensure Find & Replace is selected, and select Client Side from the Type select list.
When you select Client Side Variation in the Type list, the Selector field becomes available to enter the name of a CSS Selector. When a page component matches this Selector, SiteSpect applies the settings in the Changes section defined for the Variation.
HTML Replacement – Replaces the HTML content of the selected components.
Attributes – Replaces the Attribute with the specified value if the Attribute exists. If the Attribute does not exist, this adds it. Enter the name of the Attribute on the left side of the field and the Value on the right side.
CSS – Replaces the CSS rule with the specified value if the rule exists. If the CSS rule does not exists, this adds it. Enter the rule on the left side of the field and the value on the right. Note that if there is an !important rule, this won't override it unless this rule is also !important.