Field reference
transaction_id— the id of the order in your system. It must be stable and unique per purchase: Depict deduplicates purchase events on it, so accidentally sending the same order twice is safe, but reusing an id across different orders loses data.items— one entry per order line:item_id— the id this product was ingested with as its transaction product id. By default that is the SKU from your product data; on Shopify it is the variant’s SKU, or the variant id for variants without a SKU.price— the final per-unit price, after taxes and discounts. If a discount applies to a whole line, spread it across the units. Items with price0(for example free gifts) are excluded from purchase metrics.quantity— a whole number, at least 1.
currency— the ISO 4217 code the prices are denominated in (e.g.SEK,EUR). Revenue is converted for display in the portal, so the code must be correct.
Purchase events are sent from the browser. If your checkout completes on a
domain where DPC can’t run, or you’d rather report purchases
server-to-server, contact us — we’ll set it up
together.

