Sessions & Devices

Sessions & Devices

Overcentric automatically tracks user sessions and devices, giving you visibility into how users engage across visits and devices.

How Sessions Work

A session represents a continuous period of user activity on your site or product. Overcentric handles session tracking automatically with intelligent timeout handling:

  • Sessions expire after 30 minutes of inactivity
  • New sessions start when users return after being away for more than 10 minutes

This means if a user steps away for lunch and comes back, they’ll start a fresh session — giving you accurate engagement metrics.

What’s Captured Per Session

Each session includes:

  • Session ID — Unique identifier for the session
  • Start time — When the session began
  • Pages visited — All page views within the session
  • Events — All tracked events (clicks, form submissions, custom events)
  • Duration — Total active time
  • Entry page — Where the user started
  • Exit page — Where the user left

Device Identification

Overcentric generates a unique device ID for each browser/device combination. This ID persists across sessions, allowing you to:

  • Track returning visitors before they log in
  • See the full journey from first visit to signup
  • Understand multi-session behavior

The device ID is stored in the browser’s local storage and remains consistent until the user clears their browser data.

Accessing Session Data

For server-side tracking or debugging, you can access the current IDs:

const deviceId = window.overcentricDeviceId;
const sessionId = window.overcentricSessionId;

Use Cases

  • Server-side event tracking — Pass these IDs to your backend to correlate server events with client sessions
  • Support context — Include session ID in support tickets for easier debugging
  • Custom integrations — Use device ID for cross-system user matching

Attribution Tracking

On a user’s first visit, Overcentric captures attribution data and associates it with the device ID:

  • UTM parametersutm_source, utm_medium, utm_campaign, utm_term, utm_content
  • Referrer — The page that linked to your site
  • Landing page — The first page visited

This attribution persists across sessions, so when a user eventually signs up (even days later), you can attribute the conversion to the original source.

Next Steps