- 17 Oct 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Computed fields
- Updated on 17 Oct 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Computed fields allow aggregating data about your customer and fill their profile in with additional info based on their user behavior.
For example, such fields can help you identify what products, categories, or vendors your customer buys or views most frequently.
Computed fields can be used as any other custom fields, e. g. for segmentation, campaigns, promotions, etc.
Creating a computed field
You can create up to 10 fields 3 of which can be recalculated daily.
- Go to the Settings tab → System settings → Custom fields and click "Create computed field":
- Fill in the settings:
Currently you are able to calculate your customer's most frequently viewed or purchased product or category.
New functions to be added.
- General settings
- Name — the same as displayed in filters or campaigns
- Brand
- System name — is used in integrations and the message template engine
- Recalculating
- Frequency is daily or just once (per all the time the field exists)
- Period is the data time frame you want to use in your report.
- General settings
- Which events to collect data for: views or orders
- Which entity to search in processed data: product or product category
Find the most frequently purchased product:
Find the most frequently purchased category of the four selected:
- Minimum views/orders for this product is the action number threshold for the value to be filled in the field.
- Click "Save"
Done:
Filed computing is launched at night.
Customer search
Custom and computed fields are located in the same tab in your customer card:
You can use filters to filter out the customers with the filed value needed:
Display in the campaign
Computed field parameters are listed in Recipient.CustomField
To display products for a customer, use a parameter of this type: Recipient.CustomField.{Filed system name}.
It contains all the product fields: