Signups are closed. We're building something great. Talk soon.

Auto-track

sessionvision automatically captures user interactions without any manual instrumentation. Once the SDK is installed, page views, clicks, and form submissions are tracked with rich metadata.

Page Views

The $pageview event fires on initial page load and on every page navigation. Any duplicate pageviews for the same URL are automatically deduplicated.

PropertyDescription
$current_urlFull URL of the page
$referrerDocument referrer
$titlePage title

Clicks

The $click event fires when a user clicks on any interactive element. sessionvision uses a capturing event listener and walks up the DOM to find the nearest interactive parent (button, link, etc.).

PropertyDescription
$element_tagHTML tag name (e.g. BUTTON, A)
$element_textVisible text content (PII auto-masked)
$element_classesCSS class list
$element_idElement ID attribute
$element_selectorGenerated CSS selector path
$element_hrefLink href attribute (for anchor elements)

Form Submissions

The $form_submit event fires when a form is submitted. Only form metadata is captured — input values are never collected.

PropertyDescription
$form_idForm ID attribute
$form_actionForm action URL
$form_methodHTTP method (GET/POST)
$form_nameForm name attribute

Automatic Properties

Every event — including custom events — is enriched with these properties automatically:

PropertyDescription
$browserBrowser name
$browser_versionBrowser version
$osOperating system
$device_typeDevice type (desktop, mobile, tablet)
$screen_widthScreen width in pixels
$screen_heightScreen height in pixels
$viewport_widthViewport width
$viewport_heightViewport height
$timezoneUser timezone
$localeBrowser locale
$connection_typeNetwork connection type
$lib_versionSDK version
$current_urlCurrent page URL
$referrerPage referrer

Disabling Individual Features

Pass an autocapture config object to disable specific features while keeping others active:

sessionvision.init('YOUR_PROJECT_TOKEN', {
  autocapture: {
    pageview: true,
    clicks: true,
    formSubmit: false, // disable form submission tracking
  },
});

Set autocapture: false to disable all automatic tracking. You can still use capture() for custom events.