Event data is a core component of B2C marketing because it allows us to understand the customer, their preferences and their behaviors. You can import event data by uploading historical data and syncing real-time data.
Here are some helpful links:
- Events fields reference – Review your existing default and custom order fields.
- Create custom fields – Create and review custom events fields.
An event has two parts, an Event Type and an Action. The Event Type is a categorical name associated with the event. An Action is an activity a customer did. For example, 'order' and 'product' are event types while 'purchase', 'return' and 'add_to_cart' are actions. You provide both parts when you send event data to Data Core Service (DCS).
Upload historical event data
You can import historical order information from a CSV file with the following steps:
- Go to Account Settings > Integrations > Upload CSV.
- Drag and drop a CSV file into the Drag & Drop area or click browse to locate the file elsewhere. Follow the file formatting guidelines outlined below to ensure the information is imported correctly.
Format your data correctly
Begin the file name with zaius_orders and use the CSV UTF-8 format with a header row of field names. Use an identifier field, such as order ID, to properly associate the event with a customer profile.
Import custom information
You need to create custom fields if your import contains information that does not align with existing DCS fields. Once you have created a suitable field, import the associated information by including the field name as a header in your import.
Integrate real-time events data
Send event data using the Events API.
Send events data using the JS method shown here: