Track custom goal events and define how conversions are measured.
Custom goals track conversions based on goal events — actions you define separately. Once you pick one or more goal events, you choose goal measurement settings to define how and when conversions are counted. These are the most flexible goal types — letting you combine event triggers with measurement rules to fit the behavior you want to track.
Goal events
Custom goals are powered by goal events — actions you define to track as conversions. Each custom goal listens for one or more goal events and applies your chosen measurement settings to count those conversions. Goal event types include:
- Click — tracks clicks on a page element using a CSS selector, with optional JavaScript
- View — tracks page loads, with optional JavaScript conditions
- API — tracks when sendEvent() is called, with an optional conversion value
Goal measurement settings
After you select a goal event, you'll configure how and when Optimize counts conversions.
Conversion scope:
- Per session — counts at most one conversion per visitor session
- Per user — counts at most one conversion per visitor, even across sessions
Multiple conversions per visitor:
- Count once — only the first conversion is counted
- Count all — every conversion is counted
Conversion value:
- No — conversions don't include a value
- Same value — every conversion has a fixed, numeric value
-
Dynamic value — each conversion includes a value passed when triggering the event. Your sendEvent() call must include a valid
valuefor the goal to track correctly.
Create a custom goal
Open your Optimize site in Webflow, then:
- Click Optimizations in the Navigation panel
- Click an optimization
- Click the Options icon > Edit Configuration
- Click the Goals tab
- Click Add goal
- Rename the goal
- (Optional) Click Track as site goal to make this a site goal
- Select Custom and click Continue
- Select one or more goal events
- Configure your goal measurement settings
- Click Create
Optionally, set the goal as the target goal next.
Edit a custom goal
Open your Optimize site in Webflow, then:
- Click Optimizations in the Navigation panel
- Click an optimization
- Click the Options icon > Edit Configuration
- Click the Goals tab
- Select a goal and make your edits:
- Add a goal event — use the [#] events selected dropdown to select another event
- Remove a goal event — click the Options icon > Remove event
- Update the goal measurement settings
- Click Save
Good to know
To make changes to what a site goal targets, you'll need to remove it as a site goal first, make the edits, then set it as the site goal again. You can hover over a site goal and click the Options icon to rename it, set it as a target, remove it as a site goal, or delete it.
Set an existing click goal as a site goal
Important
All site goals must either have a monetary value or no monetary value. If an existing goal does not match your current site goals' value choice (a value or no value), then it can't be tracked as a site goal.
- Click Optimizations in the Navigation panel
- Click an optimization
- Click the Options icon > Edit Configuration
- Click the Goals tab
- Hover over a goal and click the Options icon
- Click Track as site goal