Digital Experience Analytics
8. Bonus Activity!
Have some extra time? Nice! Let’s do a little configuration.
- In the DXA project, go to the Event Definitions tab and click “Pick from page”

- Enter the URL where you want to capture a new Event Definition, like a single product page in the Astronomy Shop for this workshop.
- Activate the Element Picker
- Select an element on the page to capture, like one of the “Ask AI” prompts or “Show All Reviews”, and see how the Element Picker both updates the target element code and provides a preview of how many interactions have been captured recently.
- Confirm your choice and further edit the new event definition to be clear and readable. You can also choose to further edit the element qualities to be more or less specific, and see how the Occurrences preview changes.
- Save - now your new Event Definition is available to use in Time Series!
Now, let’s show engagement on your new Event Definition over time.
- Go to the Analyses tab and click New Analysis > Time Series
- Add your new Event Definition to the first series. Rename the series and add any other filters you’d like.
- Does it make sense to trend this event alongside another? If so, add another Series!
- Name the new Time Series and save.
- Click into a point on the chart and validate that the session replay captures your custom event!
Quick check
What is the value in creating Custom Event Definitions within DXA?
We can change the analyses we are able to do as often as we’d like, without having to push code changes to our application.
