---
title: "What is Custom Event? Definition & Examples | Kitbase"
description: "A developer-defined analytics event that captures a specific user action beyond automatically tracked interactions."
canonical: https://kitbase.dev/glossary/custom-event
---

[Home](/) [Glossary](/glossary) Custom Event

Analytics

# What is Custom Event?

A developer-defined analytics event that captures a specific user action beyond automatically tracked interactions.

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

javascript

```
// 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

[

Event Tracking

The process of recording specific user interactions and actions within a website or application for analysis.

](/glossary/event-tracking)[

Funnel Analysis

A method of analyzing the sequential steps users take toward a goal, identifying where they drop off.

](/glossary/funnel-analysis)[

Conversion Rate

The percentage of users who complete a desired action out of the total number who had the opportunity.

](/glossary/conversion-rate)

## Track events with Kitbase

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

[Explore Event Tracking](/event-tracking)
