Skip to main content

Documentation Index

Fetch the complete documentation index at: https://revlytics.co/docs/llms.txt

Use this file to discover all available pages before exploring further.

The Goals page lets you define specific actions — visiting a page or triggering an event — and measure how often your visitors complete them. Each goal tracks a conversion rate against total sessions, giving you a clear picture of how effectively your site drives key outcomes.

Creating a goal

Click Create Goal in the top right of the Goals page. Every goal has:
  • Name (optional) — A friendly label like “Completed Checkout” or “Signed Up”. Auto-generated from the pattern if left blank.
  • Type — Either Page Goal or Event Goal. This cannot be changed after creation.
  • Value — The path pattern (for page goals) or event name (for event goals).

Page Goals

Page goals track when a user visits a URL matching a given path pattern.
  • The value must be a path starting with / (not a full URL)
  • Wildcards are supported:
    • * matches a single path segment — /blog/* matches /blog/my-post
    • ** matches multiple segments — /docs/** matches /docs/api/v2/intro
The create form provides autocomplete suggestions based on actual paths seen on your site over the last 30 days. Examples:
PatternMatches
/pricingExact match on the pricing page
/blog/*Any blog post at one level deep
/docs/**Any page under /docs/ at any depth
/signupThe signup page

Event Goals

Event goals track when a custom event with a specific name is fired. The value is the event name (e.g., signup, purchase_completed). Events must be tracked using the Revlytics tracking script. See Custom Events for setup instructions, or use HTML attributes for no-code tracking. The create form shows autocomplete suggestions based on custom events already fired on your site.

Goal metrics

Each goal card displays:
  • Conversions — The number of distinct sessions that completed the goal in the selected time period
  • Conversion Rate — Conversions divided by total sessions, shown as a percentage with a visual progress bar
Goals are calculated over the last 7 days by default.

Viewing converted sessions

Click any goal card to expand it and see the sessions that converted. Each session row shows:
ColumnDescription
Entry pageThe first page the visitor landed on, with country flag
Exit pageThe last page visited before leaving
SourceReferrer domain or “Direct”
DeviceBrowser and device type (desktop/mobile)
PagesTotal pageviews in the session
DurationTime spent on site
TimeWhen the session started
Sessions are sorted by most recent first.

Goals on the Overview page

The dashboard Overview page includes a Goals tab in the bottom panel that shows a summary of your top 5 goals with their conversion counts and rates. Click “View all goals” to navigate to the full Goals page.

Tips

Start with page goals if you’re just getting started. They require no code changes — just enter a path pattern and Revlytics will count sessions that visited that page.
Use wildcards to track categories of pages. For example, /docs/** will count any visit to your documentation section as a single goal conversion.
Combine with funnels for deeper analysis. Create goals for key conversion points, then use Funnels to visualize the full path users take to reach them.