Traffic numbers say how many people came. Goals say how many did what you hoped. Defining a few clear goals is usually the most valuable setup step after installing an analytics script.
Kinds of goals
| Kind | Fires when | Example |
|---|---|---|
| Page-visit goal | A page matching a pattern is viewed | /thank-you, /welcome* |
| Event goal | Code or an element click sends it | signup, start_trial |
| Scroll goal | An element scrolls into view | saw_pricing_table |
| Revenue goal | A payment or subscription change happens | Paid, Renewed, Cancelled |
Large outcomes are often called macro-conversions; small steps along the way are micro-conversions.
How goals work in Reveata
A goal in Reveata is a named action: lower-case letters, digits, _, - and :, up to 64 characters. Ways to create one:
- From JavaScript:
reveata('goal', 'signup'), optionally with up to 20 string properties. - From HTML: add
data-reveata-goal="signup"to a button, link or form. A form counts when submitted. - When an element scrolls into view:
data-reveata-scroll="saw_testimonials". - Page-visit goals: under Goals → Add goals, a path pattern; no code needed.
- From your server, through the events API.
- Automatically: subscription goals such as
billing:trial_startedandbilling:paidcome from your payment provider.
Goals appear next to the channels and pages that led to them, work as funnel steps, filters and alerts, and one goal per website can be starred as its #1 KPI. A goal a visitor triggers is an interaction, so that visit is not a bounce; a page-visit goal alone is not.
Choosing goals
- Start with the outcome that pays: a purchase or paid subscription.
- Add the one or two steps that predict it: sign-up, trial start, checkout start.
- Add a few diagnostic steps only if you will act on them.
Common mistakes
- Too many goals. Twenty goals nobody looks at hide the two that matter.
- Inconsistent names.
Sign Upandsignupbecome two goals in many tools; Reveata turnsSign Upintosign_up, so pick one spelling. - Counting reloads. A thank-you page goal counts every load; event goals tied to the action are more precise.