Goals
Track the actions that matter most to your business - signups, purchases, form submissions, and more.
Overview
Goals let you measure the actions you care about:
- Pageview goals - Track visits to specific URLs (thank you pages, confirmation pages)
- Event goals - Track custom events (signup, purchase, download)
Once set up, you'll see:
- Total goal completions
- Unique visitors who reached a goal
- Goal rate
- Daily trends
- Landing page attribution
Creating goals
- Go to Dashboard → Goals
- Click Add Goal
- Enter a name (e.g., "Newsletter Signup")
- Choose type (Pageview or Event)
- Set the match criteria
- Click Create
Pageview goals
Track when visitors reach specific pages.
Exact match
Matches the exact URL path:
| Match Value | Matches | Doesn't Match |
|---|---|---|
/thank-you | /thank-you | /thank-you/ |
/signup/success | /signup/success | /signup/success?ref=email |
Contains match
Matches any URL containing the string:
| Match Value | Matches |
|---|---|
thank | /thank-you, /thanks, /order/thank-you |
/success | /signup/success, /order/success |
Tip: Use "contains" for thank you pages that might have query parameters or slight URL variations.
Event goals
Track custom events fired via dataLayer.
First, add the event to your site:
// Fire when user signs up
dataLayer.push({ event: 'signup' });
// Fire on purchase
dataLayer.push({ event: 'purchase' });Then create a goal with:
- Type: Event
- Match value:
signup(exact event name)
Common goal events
| Goal | Event Code |
|---|---|
| Newsletter signup | dataLayer.push({ event: 'newsletter_signup' }) |
| Account creation | dataLayer.push({ event: 'signup' }) |
| Purchase | dataLayer.push({ event: 'purchase' }) |
| Form submission | dataLayer.push({ event: 'form_submit' }) |
| Demo request | dataLayer.push({ event: 'demo_request' }) |
Viewing goal data
The Goals dashboard shows:
- Goals reached - Total goal completions
- Unique visitors - Visitors who reached a goal (deduplicated)
- Goal rate - Goals reached / Total visitors
- Trend - Daily goal sparkline
Filter by time period to see trends over 7, 30, or 90 days.
Landing page attribution
In Dashboard → Landing Pages, you can see which entry pages drive the most goals:
- Goals reached per landing page
- Goal rate by entry point
- Identify high-performing content
This helps you understand which pages attract visitors who reach a goal.
Managing goals
Edit a goal
Currently, goals cannot be edited. Delete and recreate if you need changes.
Delete a goal
- Go to Dashboard → Goals
- Click the delete icon next to the goal
- Confirm deletion
Warning: Deleting a goal removes its definition. Historical goal data in the events table is preserved.
Questions? Email hello@onceanalytics.com