Get inspired at ContentCon. Learn more and register today
Get inspired at ContentCon. Learn more and register today
Contentstack.comAcademyLogin
CS-log-dark.svgCS-log-dark.svg
  • Changelog
  • APIs
  • SDKs

Platform

  • Solution Center
  • Marketplace
  • Changelog
  • Developers & IT
  • Business users
  • Digital leaders
  • Developer Fast Track
  • Plans & Pricing

Solutions

  • Retail
  • Travel and tourism
  • Financial services
  • Technology
  • Manufacturing
  • E-commerce
  • Localization
  • Personalization
  • Portals and knowledge bases

Resources

  • Academy
  • Docs
  • Product updates
  • Contentstack on Contentstack
  • Blog
  • Insights and analyst reports
  • Webinars
  • Podcasts
  • Glossary
  • Content generative library
  • Community
  • Headless CMS
  • Composable AXP
  • Personalization
  • CDP

Customers

  • Case Studies
  • Customer Care
  • Contentstack Experience Awards
  • Customer support

Partners

  • Overview
  • Find a partner
  • Login

Company

  • About us
  • News
  • Customer support portal
  • Contact

Social

  • Facebook
  • LinkedIn
  • Instagram
  • GitHub
  • YouTube
  • Discord
  • X
LegalTermsPrivacyTrust Center

Cookie settings

Copyright © 2026 Contentstack Inc. All rights reserved.
/
  1. Home
  2. APIs
  3. Personalize Edge API
  4. Events

Events

markdownView as Markdown

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

POSThttps://personalize-edge.contentstack.com/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.

Hide Parameters

Headers

x-cs-personalize-user-uidrequiredstring

Enter the Personalize User UID

x-project-uidrequiredstring

Enter the Project UID

Sample Request
1234567891011
[
  {
    "experienceShortUid": "0",
    "variantShortUid": "1",
    "type": "IMPRESSION"
  },
  {
    "eventKey": "Click",
    "type": "EVENT"
  }
]
Sample Response
Status|202
1
Events tracked successfully