Data mapping is the process of connecting data from your systems, such as Salesforce, with data collected by Pendo, such as account type or visitor role. Mappings are split into account-level and visitor-level metadata.
It's important to select the correct type of data that you're sending to Pendo for a data mapping. A data type is defined by the values it can take: text, boolean, numbers, and so on. Selecting the appropriate data type ensures that the data displays correctly in Pendo and can be used correctly in segmentation rules.
To view your data mappings, navigate to Settings > Data Mappings, where you can see the names and types of data Pendo uses for analytics.
From this page, you can select the data type for any specific piece of visitor or account metadata. For more information, see Visitor and account metadata.
Available data types
There are currently six data types available in Pendo. The data you send to Pendo through the install script (commonly referred to as "the snippet") must match the format of the data type you want to map the data to. This section outlines each data type and provides an example of data that matches that type.
Text is the most basic data type in Pendo and is intended for any fields that should be represented as simple text in Pendo, such as an email address:
The boolean data type is used for setting a value to either true or false, such as whether a visitor is an admin user:
Integers are whole numbers – a type of numerical data without a decimal point, such as a dashboard count:
Floating-point numbers are a type of numerical data that can have a decimal point, such as a percent storage used:
Date is used for any date that you pass to Pendo, such as subscription start:
The date values you pass must be in a supported format. For information about supported date formats, see Visitor and account metadata. For a list of supported date formats, see the Engage API documentation.
List is used for data fields that might contain more than one value, such as roles:
roles: ['admin', 'end-user', 'super-user'],
This data type is only available for agent metadata.
Segmentation rules for data types
Each data type in Pendo has associated segmentation rules that can be used with it. For example, a date field can have segmentation rules that relate to dates (before, after) while a number field can have rules that relate to numbers (equal to, not equal to).
|Data Mapping Type||Available Segmentation Rules|
|Number (float)||equal to
not equal to
less or equal to
greater or equal to
is not empty
not within last
not within next
is not empty