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.
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:
{ "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.
<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.
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.