Kitbase
Analytics

What is Event Tracking?

Event tracking is the practice of capturing discrete user interactions — such as button clicks, form submissions, page views, and purchases — and sending them to an analytics system for storage and analysis.

Unlike traditional page-view-only analytics, event tracking lets you understand what users do on each page, not just which pages they visit. Every meaningful interaction becomes a data point you can filter, segment, and visualize.

Modern event tracking typically involves defining an event name (e.g. signup_completed) along with optional properties (e.g. { plan: "pro", source: "pricing_page" }) that add context to each event.

Example

An e-commerce site tracks an add_to_cart event every time a user adds a product, including properties like product ID, price, and category. The product team later analyzes this data to find which categories have the highest add-to-cart rates.

Code Example

javascript
// Track a custom event with Kitbase
kitbase.track("add_to_cart", {
  productId: "SKU-1234",
  price: 29.99,
  category: "electronics"
});

Tracking a custom event with properties using the Kitbase SDK

Related Terms

Track events with Kitbase

Capture custom events, analyze user behavior, and build funnels — all with a lightweight, privacy-friendly SDK.

Explore Event Tracking