Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.depict.ai/llms.txt

Use this file to discover all available pages before exploring further.

This page does not apply to installs made in 2025 or later of the Depict Shopify apps
For attribution of purchases to work properly, the product ID used in setProductId and addToCart events must be the same type of id that is returned in the displays by our API as product_id. For an example of valid product IDs, see the bottom table on the “Tracking status” tab on app.depict.ai.
Every time after navigating to a page representing a product on your website, you need to send a setProductId event to register which product id is currently viewed.
dpq("setProductId", "PRODUCT_ID_FOR_CURRENT_PDP");