Goals
Turn any custom event or pageview into a tracked conversion, with unique converters, conversion rate and revenue, sliceable by any filter.
What a goal is
A goal turns something a visitor does into a tracked conversion. That "something" is either a custom event you send (a signup, a purchase) or a pageview of a page that only loads after the action (a /thanks or/welcome page). Once a goal exists, Numative reports how many visitors reached it and what share of your traffic that is.
The two goal types
| Type | Matches | Example value |
|---|---|---|
| Custom event | Events sent with this exact name | Signup |
| Pageview | Pageviews whose path matches (globs allowed) | /thanks/* |
A pageview goal accepts a * wildcard, so /thanks/* matches /thanks/order-123 and /thanks/newsletter alike. An event goal matches on the exact name you passed to numative().
Set up a goal
- 1
Send the event (event goals only)
For a conversion that is not just a page load, send a custom event at the moment it happens. Skip this step if your goal is a pageview.
js numative("Signup")See Custom events for the full API, including properties and revenue.
- 2
Open the Goals tab
In your site's dashboard, open Goals and click New goal.
- 3
Choose the type and value
Pick Custom event and type the event name (
Signup), or pick Pageview and type the path (/thanks/*). Give the goal a clear name so it reads well in the conversions table. - 4
Save
The goal starts counting immediately over your selected date range. Goals are retroactive: because they match your existing pageviews and events, a new goal shows history from before you created it.
What each goal reports
- Converting visitors: unique visitors who reached the goal at least once in the window.
- Conversions: total goal events (a visitor can convert more than once).
- Conversion rate: converting visitors divided by all visitors in the window.
- Revenue: summed when the underlying events carry a
revenueamount.
Goals respect the dashboard's filters and segments, so you can read the same goal by source, country, device or any custom property. Filter to source = google to see your signup rate from organic search, for example.
Worked example
Say you want to measure newsletter signups that finish on a confirmation page, and paid-plan purchases that fire a Purchase event with revenue:
| Goal name | Type | Value |
|---|---|---|
| Newsletter signup | Pageview | /newsletter/confirmed |
| Purchase | Custom event | Purchase |
The Purchase goal then shows converting visitors, total purchases, the conversion rate and total revenue. Add a funnel if you want to see the steps between landing and converting: Funnels.