Including rich, granular data in your SDK integration allows for enhanced targeting and better personalization capabilities—leading to more revenue and better customer experience. You should define these attributes as part of your Web, iOS, Android, or React Native integrations.
You can find the full list of predefined Rokt attributes in the sections below. You can also define any custom attributes to complement the standard integration.
To ensure the reliability of our services, our platform validates Rokt-specific IDs and client data attributes integrated by partners via API SDK integrations, and/or browsers. Validation ensures that data is formatted to meet Rokt platform processing requirements, for example checking for empty strings, or if data types are parseable. Other validation checks look for the correctness and appropriate values, for example, dates of birth being between a specific range or if a phone number is valid.
cartItems represent all of the data associated with the customer cart, including, for each product, the product name, product category, quantity, price, SKU, etc. Supports any complex data type containing cart data and should include the following properties for each product in the cart.
Description
Attribute name
Format
Payload example
The major category of the product, also known as the first level of the product taxonomy.
majorCat
string
Apparel & Accessories
The major product category ID.
majorCatID
string
123456
The minor category of the product, also known as the second level of the product taxonomy.
minorCat1
string
Clothing
The minor category product ID.
minorCat1ID
string
123456
The third level of the product taxonomy.
minorCat2
string
Activewear
The fourth level of the product taxonomy.
minorCat3
string
Bicycle Activewear
The fifth level of the product taxonomy.
minorCat4
string
Bicycle Tights
The product SKU
sku
string
1234
The product name of the product.
productName
string
Viper Red Women’s Cycling Tights
The quantity of each product in the cart.
quantity
number
3
The price of the product.
price
number
89.9
The total number of products purchased.
numberOfProducts
number
1
The description of the product.
productDescription
string
Sporting a reflective design, our long cycling pants for…