Create Events
Body
Identifier associated with the API integration
Market identifier
If retrying creating events, this should be set to a unique value common across all requests with the same event
Type of event
page_view
, click
, add_to_cart
, purchase
, element_visible
, ws_click
, recommendations_inserted
, native_shopify_collection_click
, native_shopify_collection_view
Customer identifier
Session identifier
Populated for integrations performed by Depict.ai only. Depict.ai Session Id
1
A/B test group identifier. Not required.
Main product identifier
Identifiers of variants for this product. Not required.
Key-value object containing additional identifiers for the product
The value of document.location.href
in the user's browser
Current price of product. Not required.
Currency of product (ISO 4217 code). Not required.
The value of document.referrer
in the user's browser
The value of document.width
in the user's browser
Keyword specifying what led to this event. Not required.
Unique identifier returned from the /recommend
endpoint
Unique identifier of the search result.
Unique identifier of the product listing result.
Keyword specifying what element was clicked. Not required.
The URL of the product page visited
The type of recommendations inserted
The handle of the shopify collection the click originates from
The id of the shopify collection the click originates from
Response
The response is of type any
.
Was this page helpful?