All configuration is done through your project's Settings page in the dashboard. The SDK automatically uses your saved settings.
📊 Tracking Settings
Page Views
track_pageviewsTrack when users navigate between pages. Includes automatic SPA detection.
Clicks
track_clicksTrack clicks on buttons, links, and interactive elements.
Sessions
track_sessionsTrack user sessions and journeys across your site.
Rage Clicks
track_rage_clicksDetect frustrated users clicking rapidly on the same element.
🔴 Error Capture
JavaScript Errors
track_errorsCapture unhandled errors and promise rejections with stack traces.
HTTP Errors
track_http_errorsCapture failed API requests (4xx and 5xx responses). Select specific status codes to track.
Console Errors
track_console_errorsCapture console.error() calls from your app and third-party libraries.
🌐 Domain Configuration
Restrict which domains can use your API key with the Allowed Domains setting:
# Examples of allowed domain patterns:
example.com # Exact match
*.example.com # Any subdomain (app.example.com, blog.example.com)
localhost:* # Any localhost port
* # All domains (not recommended for production)Leave empty to allow all domains (convenient for development, but not recommended for production).
⏱️ Session Settings
Session Timeout
How long until a session expires after inactivity.
Default: 30 minutes | Range: 1-120 minutes
Sample Rate
Percentage of visitors to track (for high-traffic sites).
Default: 100% | Range: 1-100%