Create path and custom-event goals
Define important website actions as path or custom-event goals before building funnels or connecting revenue.
Quick answer
Use a path goal when reaching a URL is the outcome. Use a custom-event goal when the action happens without a unique page. Name goals around the user action.
On this page
What you’ll learn
- Choose path or event matching
- Name goals clearly
- Verify goal activity
- Use goals in funnels
A goal marks an action that matters to the site.
Examples include viewing a signup-complete page, submitting a form, starting checkout, downloading a resource, or activating a product feature.
Path goals
Use a path goal when the outcome has a unique tracked URL, such as:
/signup/success
Path goals are simple to verify because the matching pageview appears in the page and session history.
Avoid broad matches that also include unrelated pages.
Custom-event goals
Use a custom-event goal when the action occurs without a unique page. Your site sends a named event, and the goal matches that event name.
Examples:
signup_starteddemo_requestedcheckout_openedreport_exported
Use stable names and document when the event fires. Do not include raw personal data in event names or properties.
Name the outcome
Name goals around what the visitor completed, not the implementation detail.
Prefer “Signup completed” over “Button click 4.” A clear name remains understandable in a funnel and when the UI changes.
Verify the goal
After creating a goal:
- Complete the action once.
- Check the incoming pageview or custom event in Realtime.
- Confirm the goal count in the selected period.
- Check that retries or repeated route handling do not double count it.
Next steps
Combine goals and tracked steps in a funnel, or learn what conversion rate means.
Frequently asked questions
- Should a button click be a path goal?
- Use a path goal only if the click reliably leads to a unique tracked URL. Otherwise send a custom event and use an event goal.
- Does a goal require revenue?
- No. Goals measure website actions independently. Revenue adds payment outcomes when connected.
Continue learning
Build and read a funnel
Combine path and event steps into a funnel, measure conversion and drop-off, and investigate where visitors leave.
Read guide Goals & FunnelsSignup-to-paid funnel tracking
Track the path from visit to paid account, find where customers drop out, and see how later refunds or churn change the result.
Read guide Goals & FunnelsWhat is MRR?
Monthly recurring revenue, or MRR, is the normalized recurring subscription revenue a SaaS business expects in a month.
Read guide Goals & FunnelsWhat is churn?
Churn measures lost customers or recurring revenue when subscriptions cancel, fail to renew, downgrade, or stop paying.
Read guidePut it into practice
Get to know your website’s visitors
Explore visitors, pages, sources, goals and funnels in the demo. You can start with web analytics and connect payments when you need them.