Skip to main content

Custom Events

Custom events enable you to track specific user actions, such as adding items to a cart or completing a tutorial. These events are essential for mapping user journeys and triggering specific intercepts based on behavior patterns.

Implementing Custom Events in Code​

Custom events can be reported using a dedicated SDK method. Learn more about available methods in the API Reference.

Code Examples​

import QualtricsExperience

Qualtrics.reportEvent("add_to_cart")
Qualtrics.reportEvent("checkout_started")
Qualtrics.reportEvent("purchase_completed")

Uses of Custom Events​

Sequencing​

Custom events can be incorporated into intercept sequencing logic. Custom events allow you to create an event for an action, such as clicking the checkout button. Custom events can be added into the sequence as seen below.

Custom events in sequencing