Creating an event

Under the "Audiences" tab, select "Events" -> Create Event.


In the next step, you need to select what event type you want to create - it will depend on the data source you are using.



Event properties

Next, you should select an event property you want to base the event on.

Event properties are collection fields that define the event. For example, the purchase event should have the purchase amount.



Event filters

You can filter events by properties and segments to focus on specific events that are occurring in your project.

Event filtering depends on the data type that is set up in the collections inside the source. In most cases, it will be:

  • Boolean
  • Dates/Timestamps
  • Integer (numbers)
  • String

For more advanced cases, we also support arrays, records, long and double filters.

If you feel something has been detected incorrectly, you can manually change the type by going to the collections in sources.

Boolean (true or false)

Possible values:

  • true
  • false

Dates and Timestamps

We detect several formats of string as dates and times

YYYY-MM-DD,
Date and date and time strings from the ISO8601 standard,

In detection, day and month are interchangeable so MM-DD-YYYY would be detected as a date.

Ten and Thirteen digit numbers are detected as timestamps if the property name includes "time" or "timestamp"

Filtering against that property will then show a date picker and allow filtering only:

Integer

We detect numeric properties and allow filtering by only:

  • equal
  • not equal
  • greater than
  • less than
  • greater than or equal
  • less than or equal

String (text)

We detect text content, If it is not true/false, numeric, or a date time. You can filter by:

  • equal
  • not equal
  • defined
  • not defined
  • containing



Event conditions and formula operators

Operators in the event editor allow you to define your event by using complex conditions. By clicking on AND/OR operators, you can specify how each event filter relates to the other. For example, if you have selected a purchase and add to cart events, you can create relations with an AND operator that will require both event filtering conditions to be valid. If you put the or operator here, it would mean that at least one filtering condition is sufficient to assign the user to the event.



Moving event sections

While creating an event, you can perform certain actions with the fields, such as:

  • Duplicate
  • Move above (when 2 or more fields are configured)
  • Move below (when 2 or more fields are configured)
  • Delete

To do so, on the right-hand side of the field, locate the Three dots button and click on it. A dropdown will appear with the available properties.


Event formula

Event formula dynamically displays the event definition. Letters in blue color show the created filtering conditions within the Event (e.g. A and B). Letters between the conditions display the formula conditions between the filters. Filtering conditions that are in the brackets indicate that they must be prioritized in the formula.