Interactions
Event Types
Clickstream
Conversion (e-commerce)
Consumption (content media)
Feedback signals
Custom
Uploading Interactions
Syntax
miso.api.interactions.upload(event);
Parameters
Return value
A Promise
without a value. In general, you don't need to wait for the response.
Example
const event = {
type: 'add_to_cart',
product_ids: ['a001', 'a002'],
quantities: [3, 5],
user_id: '...'
};
miso.api.interactions.upload(event);
For more information, see REST API.