On this page

Group two or more events together as a single step in the Events module

Sometimes you need to create an analysis where a particular step of the process can be any of several specific events. By default, Amplitude doesn't let you select multiple steps directly through the Events Module, and there's no OR clause for you to use here. However, you can create a custom event made up of two separate events joined by an OR clause, then use this new custom event in your flow.

For example, Play or Search Song is a custom event consisting of the Play Song event, the Search Song event, and an OR clause to connect the two. Any user who triggers either the Play Song event or the Search Song event has converted that second step.

Another method is conditioning an added event with an event property or user property. This is the primary method for analyzing whether a user performed one of many events.

Before you begin

  • Only admins, managers, and members can create custom events.
  • Custom events are available only in the Event Segmentation, Funnel Analysis, Retention Analysis, Lifecycle, Stickiness, Impact Analysis, Pathfinder, and Compass charts.
  • You can't query custom events in Redshift.
  • All custom events have the prefix [Custom] before the event name in your charts.
  • Editing or renaming custom events used on other charts breaks those charts. Amplitude continues to query the previously-named value until you manually change it on any charts that use it. You receive a warning when making any edits to custom events.
  • Querying event properties on custom events is only possible if the property applies to all events. If you're trying to create a custom event with five different events and you want to see the location values from all of them, instrument the location event property on all the individual events that make up the custom event.

Group two existing events into a single custom event

To do this, follow these steps:

  1. Navigate to Data, then choose the project you want to create the custom event for in the dropdown. From Events, click Create Custom Event.
  2. In the modal that appears, select the events you want to analyze as a single event. You can set different filters on these events, in case the analysis requires a more granular view of the selected events.

At this point, this event is available for further analyses in Amplitude. To use it, select the newly-created event in the Custom category in the appropriate chart dropdown menus.

Was this helpful?