Learn how to define a new, custom goal that tracks the clickable page elements you select.
You can create custom click goals to measure results against specific page elements. A custom click goal can target buttons and links on one or more site pages. For example, you could target two Download buttons on one page or a Contact us button on every site page. Set the click goal as the optimization's primary goal if you'd like to optimize for the targeted page elements.
Targeting page elements on different or multiple pages
Your goal can target as many elements as you'd like across any of the available site pages.
While creating or editing the goal, click the page name in the top bar to switch pages (not the Pages panel).

Pro tip
To track specific element clicks at scale, you can use components. When targeting a component, click All Instances to include every occurrence across all pages — new instances you add to site pages will be tracked automatically.
How to create a click goal
While editing the optimization:
- Click the Optimizations dropdown in the top bar
- Click Settings & goals
- Click Add click goal
- Enter a goal name
- Click Create
- Click one or more outlined elements to track them
- For components, click Just this instance or All instances of CTA to track one or all instances
- Optional: Click the page name in the top bar to track elements on other pages
- Click Done at the top
- Optional: Set the new click goal as the primary goal to optimize for this goal
-
Publish the site for the new click goal to begin tracking data
How to edit a click goal
While editing the optimization:
- Click the Optimizations dropdown in the top bar
- Click Settings & goals
- Mouse over a click goal and click the Options icon
- Click Update goal elements
- Click additional outlined elements to track them
- Optional: Click the page name in the top bar to track elements on other pages
- Click the X next to a tracked element’s “Added to goal” label to stop tracking it
- Click Done
-
Publish the site for the click goal changes to begin tracking data
Special handling to track buttons and links within a variation
If you want to create a click goal that tracks a button/link that you will make variations of, it’s recommended that you create the click goal before you create button/link variants. If you create the click goal first, your variations will inherit the click goal and automatically track each button/link variant.
If you create button/link variants before creating the click goal, you might have to open each variation while editing the click goal to add each button/link variant as a tracked element to successfully track all instances of the buttons/links.
To spot check if your button/link variants are tracked in the click goal:
- Edit the click goal
- Switch variations using the Optimizations dropdown in the top bar
- Check that each button/link has the “Added to goal” label — if not, click the button/link to add it
Targeting CMS collection list elements
Elements added to one collection item are populated to all collection items in that collection list. Due to this behavior, if you add an element from one collection item to your click goal, all instances of that element are automatically added to the click goal — the element's counterpart in each collection item. It's not possible to refine which instances are included.
Additional info about click goals
- If the blue "Done" bar is in the way, click the middle of the bar to send it to the bottom of the page
- It’s not yet possible to delete a goal — instead, you can choose another goal as the primary goal
- Only elements that are outlined can be targeted in a click goal at this time
- Click goals are local to the optimization where you create them (i.e., they can’t be reused in another optimization)
- A click goal conversion is counted once per session (i.e., if a visitor clicks multiple targeted elements for a click goal in their session, only one conversion is counted for that click goal)