Measure data type

Measure is a standard Experience Data Model (XDM) data type that contains a concrete quantifiable data point of a particular metric. A measure is composed of a unique identifier and a value.

{width="500"}

Property
Data type
Description
id
String
The unique identifier of this measure. In cases of data collection using lossy communication channels, such as mobile apps or websites with offline functionality where transmission of measures cannot be ensured, this property contains a client-generated, unique ID of the measure taken. It is best practice to make this sufficiently long to ensure enough randomness.

If information such as timestamp, device ID, IP, MAC address, or other potentially user-identifying values are incorporated in the generation of the id, the result should be hashed. This ensures that no PII is encoded in the value, as the goal is not to identify a user or device, but the specific measure in time.
value
Double
The quantifiable value of this measure.

For more details on the data type, refer to the public XDM repository:

recommendation-more-help
62e9ffd9-1c74-4cef-8f47-0d00af32fc07