Events & Goals

Custom events & goals

Track signups, purchases, clicks and form completions, and mark the ones that matter as conversions.

Pageviews are only part of the picture. Events let you measure the actions that matter — signups, purchases, downloads, clicks and form completions. Mark an event as a goal (conversion) and Otus attributes it to your traffic.

Events that track themselves

The tracker records several events automatically, with no setup:

EventWhen it fires
page_viewOn page load and on every SPA navigation.
engagementWhen a visitor leaves a page, capturing time spent and scroll depth.
outbound_clickWhen a visitor clicks a link to a different domain.

Three kinds of events

  1. Automatic events — the three above, sent for you.
  2. Standard events — a catalogue of pre-defined events for common and e-commerce actions (sign_up, login, search, purchase, add_to_cart…). See the standard events catalogue.
  3. Custom events — any event you define yourself, named in snake_case.

All non-automatic events are sent with the tracking API:

window.otus.track('newsletter_signup', { location: 'footer' });

Goals (conversions)

A goal is simply an event you've flagged as important. To turn events into goals:

  1. Open Site settings → Custom events.
  2. Register the event name (optionally add a description).
  3. Toggle Is conversion on.

Once flagged, the event:

  • appears in the Conversions section of the Overview report,
  • contributes to the conversion rate metric, and
  • can be used as a step in funnels.
The number of registered custom events you can keep depends on your plan (Starter 10, Growth 50, Business 200, Enterprise unlimited). See Plans & limits.

Naming rules

Custom event names must match ^[a-z0-9_]{1,64}$ — lowercase letters, numbers and underscores, up to 64 characters. Events with invalid names are dropped silently, so stick to names like signup_completed or pricing_cta_click.

Where to go next