Event parameters and enrichment

Event parameters are additional pieces of information about a customer activity the event describes. For example, a page.visit event can be described by parameters such as:

  • IP (IP address from which a user visited the website)
  • UTM source (the UTM source from which a user was referred to the website)
  • device (the device from which a user accessed the website)
  • and more

For a product.buy (an event that describes a purchase of a product) the list of parameters can be long and include:

  • name (name of the product)
  • finalUnitPrice (the final price of the product)
  • currency (the currency of the product)
  • quantity (the quantity of a product)
  • og:url (a page address towards which all shares, likes, and so on, will be counted)
  • and more

Events and their parameters can be used to prepare analyses of various kinds, for example, users can create a metric that counts visits to particular subdomains or they can create an aggregate that calculates the value of abandoned cart for a specific customer.

Creating event parameters


Important: If you send an event by using the SDK/API, its parameters (the params object) are saved to the database and added to the event’s definition automatically. By default, they are visible in analytics. In such a case, you don’t need to add the parameters according to the instructions in this article. If needed, you can edit the parameters to add names, descriptions, or enable event enrichment.
  1. Go to Data Management icon Data Management > Event parameters > Create event parameter.
    Result: A pop-up appears.

    Form for creating event parameters
    Form for creating an event parameter
  2. In the Source parameter field, enter the name of the parameter as it is sent by the SDKs/API.

  3. In the Display name field, enter a human-readable label for display in the Synerise portal.

  4. Optionally, in the Description field, you can add an explanation about the purpose of this parameter.

  5. From the Type dropdown list, select the format of the property value as sent by the SDKs/API.

  6. To show this parameter in filters in the Analytics and Automation modules, leave the Availability in Analytics and Automation toggle enabled.

  7. To complete the process, click Create.
    Result: The parameter is saved on the list of event parameters.

Managing event parameters

Event parameters can be used across multiple events within Synerise, and you can manage them centrally from a single location. This centralized management lets you view all events where a parameter appears and configure global settings such as its display name, description, and visibility in filter lists throughout the Synerise platform.

The name parameter which appears in multiple events
The name parameter appears in multiple events - you can change how it's displayed across the filters

Additionally, you can customize a parameter’s title and visibility in analytics specifically for each event it is associated with by using the event parameter override feature. This ensures precise control over how parameters are presented and filtered based on their context.

In the filters, when you hover a mouse cursor over the event parameter name for which overwriting is enabled, you can see the source name (original name) of that parameter (as presented on the screen below).

The name parameter which appears in two events: page.visit and client.removeTag
The name parameter which is attached to two events: page.visit and client.removeTag, for the page.visit event this parameter is displayed in the filters as pageTitle and for client.removeTag as tagName
  1. Go to Data Management icon Data Management > Event parameters.
  2. Open the details of a parameter.
  3. In the Event-level parameter configuration section, click Define.
    Result: A list of events to which this event parameter is attached appears.
  4. To add this parameter to an event, click Include event parameter and configure override.
    Result: A pop-up appears.

Adding parameters to events

The Include event parameter and configure override pop-up
The Include event parameter and configure override pop-up
  1. From the Choose event dropdown list, select the event to which you want to attach the event parameter. If this event is not on the list, you must create its definition in the Synerise platform.
  2. If you want to:
  • use the parameter’s original settings, click Add.
  • apply custom settings for the event parameter in the context of the selected event, proceed to Overriding parameter settings.

Overriding parameter settings

The Include event parameter and configure override pop-up
Configuration form for overriding parameter settings for the specific event
  1. Enable Override settings for this event.
  2. In the Display name field, define the name of the parameter which will appear on the filter list across the Synerise platform for the selected event.
  3. In the Description override field, provide the description for this overridden parameter version. You can provide an explanation or purpose of the override, providing context for other workspace users. This helps collaborators understand what changes have been made and why.
  4. From the Value type override dropdown list, select the value type of the overridden parameter version.
  5. Use the Visibility override (Show parameter) toggle to define the visibility of the overridden parameter version in the filter lists for the selected event.
  6. Confirm the choice by clicking Apply.
Tip: See the explanation of the table in the event parameter details.

Defining parameter visibility in filters

By default, each event parameter is visible in across the filters in the Synerise platform.

Important: An event parameter can be used across multiple events, with custom settings — including visibility — assigned for each event. We recommend reviewing the Event-level parameter configuration section in the event parameter details to verify its visibility in the events where it is assigned.
  1. Go to Data Management icon Data Management > Event parameters.
  2. Open the details of a parameter.
  3. In the Overview tab, enable or disable the Availability in Analytics and Automation toggle.
  4. Confirm your choice by clicking Apply.

User interface of the parameter manager

Table in the list of event parameters

This section explains the event parameter list. The list is available in Data Management > Event parameters.

A fragment of event parameter list available in Data Management > Event parameters
A fragment of event parameter list available in Data Management > Event parameters
Column name Description
Name Lists the event(s) that include the event parameter. For each event, it shows two versions of the event name: the Display Name (shown at the top) which is user-friendly, and the Source Name (shown below) which is the original technical identifier used internally.
Description Contains a description explaining the purpose of the event parameters, providing context for other workspace users.
PII status If you enabled protection of personally identifiable information for your workspace, you can mark the parameter as containing personal data. If yo do, the PII iconicon will appear in the column. If not, the space is empty.
Visibility Shows you the visibility of the event parameter in the filter lists across the Synerise platform.
Important: An event parameter can be used across multiple events, with custom settings— including visibility—assigned for each event. We recommend reviewing the Event-level parameter configuration section in the event parameter details to verify its visibility in the events where it is assigned.

Table in the event parameter details

This section explains the tables in Event-level parameter configuration section within the details of the event parameter.

The Event-level parameter configuration section for the .directedBy event parameter with enabled overwriting
The Event-level parameter configuration section in the details of the event parameters - example .directedBy parameter with enabled overwriting
Column name Description
Name Lists the event(s) that include the event parameter. For each event, it shows two versions of the event name: the Display Name (shown at the top) which is user-friendly, and the Source Name (shown below) which is the original technical identifier used internally.
Overwritten Indicates whether the event parameter uses the default settings inherited from its global settings (OFF), or if custom settings are applied specifically for this parameter within the selected event context (ON). For example, in the screenshot, the name parameter of the client.addTag event is overwritten to appear as the tagName parameter. You can change state of this setting by clicking Three dot icon > Edit override and enabling Override settings for this event toggle
The Override settings for this events toggle
Display name & value type override Shows the custom name and data type used to replace the original event parameter name. For example, the original parameter name is overwritten and displayed as tagName; this column also specifies the data type (e.g., string, number) assigned to the overwritten parameter.
Description override Contains a custom description explaining the reason or purpose of the overwrite, providing context for other workspace users. This helps collaborators understand what changes have been made and why.
Visibility override Displays the current visibility status of the event parameter within filter lists across the Synerise platform. The status is expressed by the eye icon. The color reflects the parameter’s overwriting state: greyed-out means disabled, active means enabled
Parameter visibility legend

When overwriting is enabled for a specific event parameter, you can manage its visibility using the Visibility override (Show parameter) toggle. To access this option, click the Three dot icon icon and select Edit override.

Enriching events with data from catalogs

You can add data from catalogs to an event automatically. This can be used, for example, to automatically add product data to a product-related event without sending that data with the event every time.

The data is added to an event from a catalog when the value of the source parameter matches a value in the catalog’s key. The data of the object identified by that key is added to the event.

Tip: The name of the property linked to the catalog does not need to be related to the name of the column that stores the keys. Only one such column exists and the enrichment mechanism detects it automatically.

While defining the trigger of an in-app message, you must use only the original parameters of the event which is selected as the trigger. Parameters that are added by enrichment aren’t supported.

WARNING: Due to the caching, you may need to wait up to one hour until the parameter you want to enrich the event with is added.

Requirements


  1. Create a definition of an event whose information you will enrich. This event must have at least one event parameter.
    To see if the event definition exists, go to Data Management > Events.
  2. Create a catalog which contains data you want to enrich event information with. You can include as many columns as you need, but for the enrichment process, you’ll be limited to using only 5 columns.

Enrichment limits


  • You can enrich up to 8 events per workspace.
  • You can enrich an event with data from maximum 2 catalogs.
    See the “Conflict resolution” section in this article to see what happens when the parameter names from 2 catalogs overlap.
  • You can use up to 5 parameters from a catalog to enrich events.

Procedure


  1. Go to Data Management icon Data Management > Events.

  2. On the list of events, find an event you want to enrich with data from a catalog.

  3. Click Three dot icon.

    An example event on the list of events
    An example event on the list of events
  4. From the dropdown list, select the Manage enrichment button.
    Result: A pop-up with enrichment settings appears.

    A blank form for enriching an event
    A blank form for enriching an event
  5. In the Linked catalogs section, from the Catalog list, select a catalog whose data you want to use to enrich event information.
    Result: The Catalog item key and Event parameter fields appear.

    Catalog item key and Event parameter fields
    Catalog item key and Event parameter fields
  6. In this step, from the Event parameter dropdown list, match the event parameter with the primary key of the catalog. By clicking the eye icon next to Primary key, you can preview values from the primary key column.
    When the value of the selected parameter is the same as the value in the primary key column of the catalog, the event will be enriched with data available in the corresponding row of the catalog. Result: The List of parameters section appears.

  7. To add the next catalog for data enrichment, click Add catalog and repeat steps 5 and 6.
    If you want to enrich an event with information from two catalogs at the same time, the event must include the event parameters linked to the primary key of each catalog if the catalogs don’t have the same primary key.

  8. In the List of parameters and Show as JSON sections, you can see the lists:

    • Enriching parameters tab: event parameters with which the event will be enriched,
    • Default event parameters tab: event parameters before enriching,
    • All parameters tab: all event parameters after enriching.
    Complete Manage enrichment configuration form
    Complete Manage enrichment configuration form
  9. If you want to:

    • add a prefix to the event parameters coming from enrichment,
    • select or exclude catalog parameters from enriching,
    • rename the enriched event parameters,
      click Manage list.
  10. If you want to differentiate event parameters added through enrichment in the event information, you can add a prefix to them. To do so, select the Add a prefix to the name option and provide the prefix.
    As a result, the system adds [prefix value]. to the name of the event parameters from enrichment in the event information. For example, you define movies as the prefix and the catalog with which you enrich the event information contains the genre column. As a result of enrichment, the event information will contain the movies.genre parameter.

  11. In the List of catalog properties section, you are shown the list of available parameters in the catalog. By default, the first 5 parameters are sent to enrich the event.

  12. To change the selection of attributes which will enrich the event:

    1. Enable Show bulk actions.
    2. To select a catalog parameter for enrichment, next to the parameter name in the Catalog parameter name column, select the checkbox.
    3. Set the icon between the columns to Data Management icon; this way, this parameter will be used for event enrichment.
    4. To exclude the parameter from enrichment, set the icon between columns to Data Management icon
  13. To change the name under which the parameter will be displayed in the event information, in the Event parameter name column, replace the name of the parameter with a new one.
    The name in the catalog will remain the same.

  14. To resolve parameter name conflicts, click Check for name conflicts and follow the instructions on the interface.

  15. Confirm the changes by clicking Save in the upper right corner.

  16. Save the enrichment settings for the event by clicking Apply.

Example result


When the event parameter value mapped to the catalog’s primary key column matches a value in this catalog column, the event information will be enriched with values from the corresponding row in the catalog. The enriched parameters will be available in the params object.

For example, if you want to enrich a video.watched event (which is a custom event) with data about the video that a customer watched, you can send the following event when that video is played, using the data from the example catalog below.

The example catalog with video information
The example catalog with video information

Using the below tabs, check the event before and after enriching with data from the example catalog. The parameters added as a result of enrichment are prefixed by a string defined in the the Add a prefix to the name option in enrichment settings or . if you left this option unconfigured.

{
  "action": "video.watched",
  ...
  "params": {
    "videoID": "2"
  }
}

Conflict resolution

Conflicts may appear while using two catalogs for event enrichment and both of them contain columns with the same name. You can resolve the conflicts by clicking the Check for name conflicts option and replacing the overlapping catalog’s column name.

The Check for name conflicts option
The Check for name conflicts option

If you don’t rename the overlapping parameters, then the names from the catalog in the A tab will be applied during event enrichment. If the parameter from the catalog A is empty, then the value from catalog B for the corresponding parameter is used.

The genre parameter overlaps
The genre parameter overlaps
😕

We are sorry to hear that

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

😉

Awesome!

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

Close modal icon Placeholder alt for modal to satisfy link checker