Guide · Measurement

Events, goals & funnels

Measure actions, not just pageviews: record events, count successful outcomes as goals and trace the steps visitors take — without collecting a single form value.

The building blocks

Events

Named actions such as signup_complete or download. Recorded automatically for common actions, or manually with JavaScript / a data attribute.

Success goals

One configured outcome per website — an event name or an exact page path — counted as daily-deduplicated sessions in the Engagement report.

Event funnels

2–8 event names in order, showing how many sessions reached each step and where they dropped out.

Page funnel

2–8 exact page paths in order — no event code needed — shown as funnel exploration for all visitors.

Record events on your website

Settings defines how actions appear in reports; your website must capture the actions. Install the normal visitora.eu snippet first, then add one of the following.

Option A — JavaScript call

visitora('event', 'signup_complete');

The equivalent method is visitora.trackEvent('signup_complete'). To queue an event before the script has loaded, use the stub:

window.visitora = window.visitora || function () { (window.visitora.q = window.visitora.q || []).push(arguments); }; visitora('event', 'signup_complete');

Option B — HTML attribute on buttons and links

Buttons and links default to the click trigger:

<button data-visitora-event="download_started">Download</button>

Option C — HTML attribute on forms

Forms default to the submit trigger; the input event fires at most once per field:

<form data-visitora-event="signup_submit"> <input type="email" data-visitora-event="signup_start" placeholder="you@example.com"> <button type="submit">Create account</button> </form>

To override the trigger, add data-visitora-event-on="click|submit|input|change".

Automatic event discovery

Enabled per website in Settings → Goals & events, automatic discovery recognises common actions from descriptors only — URLs, form attributes, button labels, link destinations. Input values are never read. Discovered events:

Confirmed outcomes need explicit events. visitora.eu does not infer successful registration, contact or payment from clicks alone. Fire an explicit signup_complete, contact_success or purchase_complete on the confirmation step, then use that name as the goal target.

Define goals and funnels

  1. Open Settings → Goals & events, pick the website, and make sure automatic discovery matches your needs.
  2. Under Success goals, click + Add goal: enter an identifier such as free_signup, choose Event or Page, and enter the event name or exact page path (for example /pricing).
  3. Optional: add an event funnel (2–8 event names, one per line) or the page funnel (2–8 paths, one per line).
  4. Click Save goals & events and open the Engagement tab to see completions, action funnels and funnel exploration.
signup_view signup_start signup_submit signup_complete

Read the reports

Frequently asked questions

Do I have to write code to use events?

No. Automatic discovery recognises common actions — signup, contact, checkout and search activity, downloads, outbound links — from page URLs, form descriptors, button labels and link destinations. Custom events need one line of JavaScript or one HTML attribute.

What characters can event names contain?

Lowercase letters, digits and underscores, up to 40 characters. The tracker normalises names automatically: it lowercases, removes everything except a–z, 0–9 and _ and truncates. Use snake_case such as signup_complete.

Can events carry values, labels or metadata?

No. Events are names only. This is a deliberate privacy limit: no form values, prices, email addresses or free-form text ever reach visitora.eu. Use distinct event names (checkout_start, purchase_complete) instead of values.

How is a goal session counted?

Goal reports show daily-deduplicated sessions: within one day, repeat completions of the same goal count once per session, while the total trigger counter shows every completion. Event funnels also deduplicate per session and day.

Why does my funnel show fewer completions than goals?

A funnel requires the ordered steps in sequence; a goal counts each completion on its own. Visitors who skip a step or arrive directly at the last step complete the goal but not the funnel.

Does visitora.eu count a signup from a click on the signup button?

No. visitora.eu never infers successful registration, contact or payment from clicks alone. Add an explicit completion event such as signup_complete on your confirmation page or success handler.