Digital Experience Analytics

3. Event Definitions

2 min

Event definitions are the foundation of DXA analyses. They name and filter user interactions — clicks, navigation, errors, and custom events — so we can track the same behavior consistently across funnels, time series, and segments.

See Create and manage event definitions for full details.

Event categories

DXA recognizes four event categories:

CategoryExamples
InteractionClick, tap, rage click
NavigationRoute change, document load, screen name change
ErrorJavaScript error, application crash
CustomUser-defined events from our application

Filter templates

Event definitions use filter templates to match real user actions:

The element picker lets product teams define click events by selecting elements directly on a live page — no code changes required. We will explore pre-built definitions in this exercise, with an option to create new Event Definitions in the Bonus Activity at the end of the workshop.

List of event definitions for Ask AI quick prompts

Exercise Explore pre-built event definitions
  1. In the Astronomy Shop DXA project, select the Event Definitions tab.
  2. Review the list of pre-built definitions. Look for events related to:
    • Ask AI interactions and quick prompts
    • Checkout steps (homepage, product page, cart, place order, order confirmation)
  3. Select one definition and review its filter criteria — note how event category and tags define what counts as that event.
  4. Check the Occurrences preview to see matching events from real workshop sessions.

Quick check

Your marketing team launches a newsletter signup campaign. What event definition would you create, and which filter template would you likely use?

These event definitions power the analyses we will explore next — starting with feature adoption.

Last Modified ·

Report an issue