Auto-Tracked Events
Once integrated, Overcentric automatically captures key user interactions without any additional code.
The events below are what the JavaScript library captures on your website and product. React Native apps capture a different set — see Mobile Apps at the bottom of this page.
What Gets Tracked
| Event | Description |
|---|---|
| Page views | Every page navigation, including SPA route changes |
| Clicks | User interactions with buttons, links, and other elements |
| Form submissions | Form completion events |
| Session replays | Visual recordings of user sessions |
| JavaScript errors | Uncaught exceptions with stack traces |
| Attribution data | UTM parameters and referrer on first visit |
Page Views
Overcentric automatically tracks page views on initial load and on route changes in Single-Page Applications. Each page view includes:
- Page URL and title
- Referrer
- Device and browser information
- Session and device IDs
Click Tracking
Clicks are captured with context about the element:
- Element type (button, link, etc.)
- Element text content
- CSS selector path
- Page location
Session Replays
Session replays provide visual recordings of user sessions, helping you:
- Understand how users navigate your site
- Identify UX issues and friction points
- Debug reported problems
Replays are privacy-conscious - sensitive form fields are automatically masked and you can control which elements in your UI are masked.
Error Tracking
JavaScript errors are captured with:
- Error message and type
- Stack trace
- Page URL where the error occurred
- User information and session context, linked with session replays
Attribution Data
On a user’s first visit, Overcentric captures:
- Referrer: The page that linked to your site
- UTM parameters:
utm_source,utm_medium,utm_campaign,utm_term,utm_content - Ref parameter:
?ref=... - Landing page: The first page the user visited
This data persists across sessions, allowing you to attribute conversions to their original source.
Disabling Auto-Tracking
If needed, you can disable automatic tracking in Overcentric dashboard, or by setting autoTrack: false in the initialization options:
overcentric.init("your-project-id", {
context: "website",
autoTrack: false
});With auto-tracking disabled, you’ll need to manually track events using trackEvent().
Mobile Apps
A React Native app has no pages, clicks, or forms in the browser sense, so the React Native SDK captures its own set:
| Event | Description |
|---|---|
$initial_visit |
First launch on a device — the install event |
$app_open |
Every cold start |
$screen_view |
A screen change, with screen_name and previous_screen |
$error |
Uncaught JavaScript errors and unhandled promise rejections |
$identify |
You called identify() |
Clicks, scrolls, form submissions, and session replays are not captured in a
mobile app. Track meaningful interactions with track() instead.
Mobile events deliberately do not reuse the web’s $page_view, $click, or
$scroll names: a screen is not a page, and mixing them would corrupt your
existing website reports.