Skip to content
Engagement

What is a goal in web analytics?

2 min read · Updated · By the Reveata team

Short answerA goal in web analytics is a specific action you define as valuable, such as signing up, starting a trial, submitting a form or reaching a thank-you page. Each time a visitor completes it, the analytics tool records a goal completion.

A soccer ball sitting on top of a field next to a goal
Photo by Ng Jun Xian on Unsplash

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_started and billing:paid come 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

  1. Start with the outcome that pays: a purchase or paid subscription.
  2. Add the one or two steps that predict it: sign-up, trial start, checkout start.
  3. 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 Up and signup become two goals in many tools; Reveata turns Sign Up into sign_up, so pick one spelling.
  • Counting reloads. A thank-you page goal counts every load; event goals tied to the action are more precise.

Frequently asked questions

What is the difference between a goal and a conversion?

A goal is the definition ("signup"). A conversion is a visitor completing it. The terms are often used interchangeably.

How many goals should I track?

As few as answer your questions, usually a handful. Add more when a specific question needs them.

Can a goal have a monetary value?

In Reveata, revenue comes from real payments rather than goal values, so you see actual money by source. Goals can carry properties such as plan or amount for breakdowns.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?
GlossaryWhat is a conversion?A conversion is when a visitor completes an action that matters to your business, such as buying, starting a trial, signing up or requesting a demo. Analytics counts conversions so you can see which traffic and pages lead to results.GlossaryWhat is goal conversion rate?Goal conversion rate is the percentage of visitors who completed a particular goal, such as a sign-up or form submission, out of all visitors in the period. It is calculated per goal, or across all goals together.GlossaryWhat is a micro-conversion?A micro-conversion is a smaller action that shows a visitor moving towards your main goal, such as viewing the pricing page, starting a sign-up, adding an item to the cart or watching a demo. The main goal, usually a purchase, is the macro-conversion.GlossaryWhat is a conversion funnel?A conversion funnel is a defined sequence of steps, such as landing page, sign-up, trial and payment, that shows how many visitors reach each step in order and how many drop out between steps.GlossaryWhat are outbound link clicks?An outbound link is a link on your website that points to a different website. Tracking outbound link clicks shows which external destinations, such as an app store, a partner or a marketplace listing, your visitors leave for.GlossaryWhat are views per visit (pages per session)?Views per visit, also called pages per session, is the average number of pageviews in each visit: total pageviews divided by total sessions. It shows how far people typically go into your site on one visit.