What Is an Event?
Every event you send to Cano Analytics is made up of four parts:Event Naming Conventions
Use snake_case and past tense for all event names. This keeps your event data consistent and readable across everyone who uses your Cano dashboards. Good examples:user_signed_uppage_viewedpurchase_completedbutton_clickedsubscription_cancelled
click or event1 — specific names make your dashboards far easier to understand at a glance.
Tracking Events
Callcano.track() with an event name and an optional properties object. The SDK automatically attaches a timestamp and any previously set super properties.
Tracking Page Views
Usecano.page() to record when a user visits a page or screen. Unlike track(), cano.page() is specifically designed for navigation events — it automatically captures the page URL, title, and referrer so you don’t have to pass them manually.
JavaScript
cano.page() on every route change in single-page apps (SPAs) — automatic page-view detection is not included in the SDK, so you need to call it manually on each navigation event.
Server-Side vs. Client-Side Tracking
Both approaches send the same event structure to Cano — the difference is where the call originates.- Client-Side (Browser / Mobile)
- Server-Side (Backend)
Use the JavaScript SDK to track events directly from the user’s device. This is ideal for UI interactions like button clicks, page views, and form submissions where you need low-latency capture.Best for: page views, UI interactions, front-end funnels
JavaScript
Batch Tracking
When you need to send many events at once — for example, during a backfill or a high-throughput pipeline — usecano.batch() instead of making individual track() calls. Batching reduces HTTP overhead and is the recommended approach for server-side pipelines.
Viewing Tracked Events
Once events arrive, open your Cano dashboard and navigate to the Events tab. You’ll see a real-time stream of incoming events with their properties, timestamps, and associated user IDs. Use the search bar to filter by event name or property value, and click any event row to inspect its full payload. Events typically appear in the stream within 1–2 seconds of being sent.Next Steps
Identify Users
Link your events to real user profiles so you can analyze behavior by person, segment, and cohort.
Custom Properties
Attach rich context to events and users with typed properties that are queryable in every chart.