Skip to content
DocsEvent TrackingCustom Events
Event Tracking

Custom Events

Custom Event Tracking

Track any user interaction on your website. Events are GA4-compatible and appear in your Conseto dashboard in real-time.

Basic Usage

javascript
// Track a simple event
conseto.track('button_click', {
  button: 'signup',
  page: 'homepage'
});

// Track with multiple properties
conseto.track('form_submit', {
  form_name: 'contact',
  form_id: 'contact-form',
  fields_count: 5
});

Auto-tracked Events

Conseto automatically tracks these events without any code:

EventTriggerProperties
page_viewEvery page load or SPA navigationurl, referrer, title
session_startNew visitor or 30-min inactivityreferrer, utm_params
clickAuto-click tracking (CTA buttons, links)element, text, href
scroll_depthPage scroll milestonesdepth (0-100%)
page_exitUser leaves the pagetime_on_page

Event Naming Conventions

Best Practices
  • Use snake_case: button_click not buttonClick
  • Be descriptive: signup_form_submit not submit
  • Max 40 characters for event names
  • Max 10 custom properties per event
Documentation — CONSETO | CONSETO