---
title: "What is Event Tracking? Definition & Examples | Kitbase"
description: "The process of recording specific user interactions and actions within a website or application for analysis."
canonical: https://kitbase.dev/glossary/event-tracking
---

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

Analytics

# What is Event Tracking?

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

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

[

Pageview

A recorded instance of a user loading or viewing a specific page in a website or application.

](/glossary/pageview)[

Custom Event

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

](/glossary/custom-event)[

Session

A group of user interactions within a given time frame, representing a single visit to your website or app.

](/glossary/session)[

Funnel Analysis

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

](/glossary/funnel-analysis)

## 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)
