Measure data type

Last update: 2025-01-29
  • Topics:
  • Schemas
    View more on this topic
  • Created for:
  • Developer

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.

measure image
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:

On this page