---
title: "Events"
description: "<p>Events let you capture and monitor every interaction made by a user. In Contentstack Personalize, there are two types of events: Impressions and Conversions.</p><p>Impressions: Impressions are a way to count how many times users see specific content on your website.</p><p>Conversions: A conversion is an event that signifies a positive user action, such as adding a product to the cart, making a purchase, or scrolling to the end of a page. Conversions are essential for measuring the success of your A/B tests.</p>"
url: "https://www.contentstack.com/docs/developers/apis/personalize-edge-api/events"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2025-11-21"
---

# Events

Events let you capture and monitor every interaction made by a user. In Contentstack Personalize, there are two types of events: Impressions and Conversions.

Impressions: Impressions are a way to count how many times users see specific content on your website.

Conversions: A conversion is an event that signifies a positive user action, such as adding a product to the cart, making a purchase, or scrolling to the end of a page. Conversions are essential for measuring the success of your A/B tests.

## Track Events

### Track Events

**POST** `/events`

Track Events

The Track Events request lets you trigger events, and track either impressions for the experiences created in a project or conversions for your A/B Test experiences.

For Impressions, it accepts experienceShortUid, variantShortUid and type (i.e. IMPRESSION)

For Custom Event, it accepts eventKey and type (i.e. EVENT)

Note: For Custom Events, the eventKey created in the Events module needs to be specified in the API request.

#### Headers

- **x-cs-personalize-user-uid** (required)
  Enter the Personalize User UID
- **x-project-uid** (required)
  Enter the Project UID

#### Sample Response

```json
Events tracked successfully
```