TagTrack conversions

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 an order_id (no dedup key → real duplicates) or with the wrong one (misattribution).

Fields

FieldRequiredNotes
order_idyesUnique per order. Used for deduplication.
valuerecommendedTotal order value.
currencyrecommended3-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.