What is Custom Event?
A custom event is an analytics event that you explicitly define and trigger in your code, as opposed to events that are automatically captured (like pageviews or clicks). Custom events let you track the interactions that matter most to your business.
Good custom events are named clearly, follow a consistent naming convention, and carry relevant properties. For example, using a verb-noun pattern like subscription_upgraded or report_exported makes events self-documenting and easy to query.
Custom events are the building blocks of product analytics — they power funnels, cohort analysis, retention metrics, and more.
Example
A project management app defines custom events like task_created, task_completed, and project_shared to measure feature engagement beyond what autocapture provides.
Code Example
// Define and track a custom event
kitbase.track("report_exported", {
format: "pdf",
rows: 1250,
filters_applied: 3
}); Tracking a custom event with contextual properties
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