Goals & conversions
Track the actions that matter most to your business.
What are goals?
Goals let you define important actions and track how many visitors complete them. A goal can be:
- Page view - Visitor reaches a specific page (e.g., /thank-you)
- Custom event - Visitor triggers an event (e.g., purchase)
Creating a goal
Goals are managed in your site's Settings page. Here's how to create one:
Open Settings
From your dashboard, click the gear icon or go to Settings. Scroll down to the Goals section.
Click "Add goal"
This opens the goal creation form.
Enter a goal name
Choose a descriptive name like "Sign up completed" or "Purchase made". This is how the goal appears in your dashboard.
Select the goal type
Choose Page view to track when visitors reach a specific URL, or Custom event to track events you send from your code.
Enter the target
For page views, enter the page path (e.g., /thank-you). For events, enter the exact event name from your tracking code (e.g., purchase_complete).
Click "Create goal"
Your goal is now active and will start tracking immediately.
Managing existing goals
Your goals appear as a list in the Settings page. Each goal shows its name, type (page view or event), and target. To remove a goal, click the Delete button next to it. To change a goal, delete it and create a new one with the updated settings.
Page view goals
Track when visitors reach specific pages. Common examples:
| Goal | Page path | Description |
|---|---|---|
| Sign up completed | /welcome | User reaches welcome page after sign up |
| Purchase completed | /order/confirmation | User completes checkout |
| Contact form sent | /contact/thank-you | User submits contact form |
| Blog reader | /blog/* | User reads any blog post |
Wildcard patterns
Use * at the end of a path to match all pages that start with that prefix:
/blog/*matches /blog/post-1, /blog/post-2, etc./products/*matches all product pages/docs/*matches all documentation pages
Custom event goals
Track goals based on custom events you send from your site. First, track the event:
// Track when user completes purchase
window.analytics.track('purchase_complete');
// Track when user signs up for newsletter
window.analytics.track('newsletter_signup');Then create a goal with the event name as the target (e.g., purchase_complete).
Viewing conversions
Once you have goals set up, you'll see conversions in the Overview tab of your dashboard:
- Conversions - Total number of times the goal was triggered
- Unique conversions - Number of unique visitors who converted
- Conversion rate - Percentage of visitors who converted
Best practices
Start with 3-5 key goals
Focus on the most important conversions first. You can always add more later.
Use clear, descriptive names
"Newsletter signup" is better than "Goal 1". You'll thank yourself later.
Track micro-conversions too
Not just final purchases, but also "added to cart", "started checkout", etc. These help identify where users drop off.
Review regularly
Check your conversion rates weekly. Look for trends and compare across time periods.
Example: SaaS conversion funnel
- Visited pricing page → Page view goal:
/pricing - Started trial → Event goal:
trial_started - Completed onboarding → Page view goal:
/onboarding/complete - Upgraded to paid → Event goal:
subscription_created