Track conversions
A conversion is the moment that closes the loop — typically the order confirmation page.
The call
Place this on your order confirmation / thank-you page only, with values rendered by your backend:
window.thradTag("conversion", {
order_id: "order_123",
value: 99.99,
currency: "USD"
});You only need to provide three fields. The Tag handles attribution automatically using the click parameters captured from the original ad landing URL.
Where to fire it Place this on the confirmation page only. The server dedupes by
order_id, so a retry of the same order won’t double-count — but firing it on other pages risks sending the call without anorder_id(no dedup key → real duplicates) or with the wrong one (misattribution).
Fields
| Field | Required | Notes |
|---|---|---|
order_id | yes | Unique per order. Used for deduplication. |
value | recommended | Total order value. |
currency | recommended | 3-letter ISO (USD, EUR, …). |
That’s it for client-side conversions. If you’d rather send conversions from your backend (more reliable, survives ad-blockers), use the Conversion API.