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