Skip to content
Skip to main content
European Data Processing
← Back to Documentation

Autocapture

The moment the VeritaMetrics script is installed, it records what people do on your site: clicks, form submissions, outbound links, downloads, and scroll depth. There is nothing to tag and no extra code to write.


What autocapture records

These events are captured automatically from the first pageview. This is the product-analytics layer (how visitors use your site), on top of the traffic counts.

Clicks on buttons and links Recorded with the visible label of the element that was clicked.
Form submissions Captured with the submit-button label, so you can see which forms convert.
Outbound link clicks Any click to another domain is detected, with the destination URL.
File downloads Clicks on PDFs, spreadsheets, and archives are recorded on click.
Scroll depth How far down the page each visitor gets (25%, 50%, 75%, 100%).
Engaged time Active time on the page, counted only while the tab is in view.

How events appear in your dashboard

Top Events groups your events by name, so form_submit and Signup each appear as their own row with its own total. Open a row to drill in: the panel breaks that event down by the page it fired on, an element label, and the link destination.

A captured click looks like this on the wire, with the visible label attached as a property:

Captured click
{ "n": "cta_click", "p": { "text": "Add to cart" } }

Name a specific goal (optional)

Autocapture already records the click. To give one a stable name you can track as a goal, add a single HTML attribute. There is still no JavaScript to write.

Name a goal (HTML)
<button data-verita-event-name="signup">Sign up</button>

Attach extra properties with data-verita-prop-* attributes. See Custom events and definitions for how to name and shape events, and Goals and data export to turn a named event into a tracked conversion.

Track custom events in code (optional)

For actions that are not a click, call the tracking API directly. Events appear in your dashboard within seconds.

Custom event (JS)
window.verita('trackEvent', 'video_complete', { title: 'Demo' });

See the Tracking API and the API reference for the full method list, including revenue tracking.

Privacy

Every autocaptured event is anonymous. It is tied to the daily-salted visit identifier that resets every 24 hours, sets no cookies, and stores no IP address, so you get behavioural insight without tracking a person across days. See how a pageview works for the mechanism.

Explore the documentation

Jump to another guide.