Property types
Amplitude uses type checking for event and user property values, so it can detect when event data doesn't match the specified type. You can set and edit the data type of an event or user property, for example, from a string to a Boolean. This helps as your data and analysis needs shift and expand over time.
To edit the data type of a user property, follow these steps:
Click the property's name to open the details panel.
Select the property's new data type from the Type drop-down. Options include:
String: A string value.Number: Numerical values (like 12345).Boolean: Values representing Boolean states ("true"/ "false", "yes" / "no", "0" / "1").Array: A collection of values stored in a single property (for example, ["apple", "banana", "strawberry"] or [1, 2, 3]).Enum: One of a set of possible values (for example, property fruit is one of [apple, banana, strawberry]).Const: Set as a constant.Any: Any value.
Was this helpful?