Send Event
Track pageviews, custom events, and user identification data. This is the primary endpoint for collecting analytics data.This endpoint does not require authentication via Bearer token. It uses website IDs and optional tracking IDs for identification.
Endpoint
Request Body
Event type. Must be one of:
event- Track pageviews or custom eventsidentify- Associate user data with a session
Event payload data
Payload for Event Type
Website UUID (required unless using link or pixel)
Link UUID (for link tracking)
Pixel UUID (for pixel tracking)
Hostname (max 100 characters)
Browser language (max 35 characters)
Referrer URL or path
Screen resolution (max 11 characters, e.g., “1920x1080”)
Page title
Page URL or path
Custom event name (max 50 characters)
Custom event data (key-value pairs)
Event tag for categorization (max 50 characters)
Unix timestamp in seconds (optional, defaults to current time)
Distinct user ID for tracking across sessions
Headers
Cache token from previous request (improves performance)
Response
Cache token to include in subsequent requests
Session UUID
Visit UUID
Example Requests
Example Response
UTM Parameters
UTM parameters are automatically extracted from the URL:utm_sourceutm_mediumutm_campaignutm_contentutm_term
Click IDs
Click IDs are automatically captured from these parameters:gclid(Google)fbclid(Facebook)msclkid(Microsoft)ttclid(TikTok)li_fat_id(LinkedIn)twclid(Twitter)
Bot Detection
Bot traffic is automatically filtered unless
DISABLE_BOT_CHECK is set in your environment.Caching
Include thecache token from the response in subsequent requests via the x-umami-cache header to improve performance: