For example, you might have a campaign whose success is primarily measured by clicks on a button that is not in the variation. You can define the button as a unit, and set the primary goal of the experience to be the CTR of that unit.
Units are identified by their URL and CSS selector (for example, the ID or class).
Defining a unit
- Go to Assets › Units.
- Click Unit Settings.
- Click + Add Unit and complete the fields:
- Unit Name: The name of the unit.
- Add Notes: Optional.
- Location on Site:
- Use the dropdown and URL fields to define the pages that include the unit. If you don't specify a URL, the element is defined as a unit on every page.
- The CSS selector defines which element is defined as the unit. We recommend defining units by div IDs, but you can define them based on their div class and even more complex selectors as well. These values should only be defined by technical users, as incorrect values might affect page responsiveness.
- Click Save Unit.
You can track interactions with all of your units in Assets › Units.