On a specific platform? Skip this page and use a guide:Paste this block just before the closingOtherwise (direct JavaScript), follow the snippet below.
- Google Tag Manager — recommended for most e-commerce sites.
- Shopify — storefront + Custom Pixel for checkout.
- Framer — Site Settings → Custom Code.
</head> of every page — typically in your site’s base template or layout file.
layout.html
<YOUR_TAG_ID> with the tag ID Thrad sent you (format: adv_<name>_<id>).
That’s the whole install. The SDK takes care of page_viewed and dwell time on any page reached via a Thrad ad click — see Track events for what gets emitted automatically and what you’d fire yourself.
From here:
- Track other events — content views, items added, leads, etc.
- Track conversions — fired on the order confirmation page.
