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.


Data type
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.
The quantifiable value of this measure.

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