Instructions
-
MoEngage accepts the following datatypes for attributes:
- Integer, Float, Double, Long, Boolean, String, Datetime, Array
<Long>, Array<Int>, Array<Double>, Array<Short>, Array<Float>, Array<String>, Object, Array of Objects.
- Integer, Float, Double, Long, Boolean, String, Datetime, Array
- Each array element can be a maximum of 512 characters, with up to 50 elements in each array.
- Attribute values sent as dictionary data types will be rejected.
-
For attributes of the datetime data type,
- When sending data through MoEngage Data APIs, use the ISO 8601 date format (for example, 2020-05-31T16:33:35Z).
- When sending data through SDK, use the SDK’s date functions.
- If an attribute value is a URL and exceeds the 512-character limit, it will be rejected to prevent issues with image and URL personalization.
- Arrays must be homogeneous (all values in an array must be of the same datatype). Data typecasting is supported at the array level.
- Event names used with periods create an additional space. For example, event.name will be ingested as event. Name (with a space). It is recommended to use “_” (hyphens) instead of ”.” (period).
- You can create up to 100 unique event attributes for a single event.
-
The following table lists the limit values for events and attribute names: