Today, pixel install
Shopify allows custom HTML in Settings → Checkout → Order status page → Additional scripts. Paste the clickt snippet there:
<script async
src="https://pixel.clickt.link/p.js"
data-workspace="YOUR_WORKSPACE_PUBLIC_ID"></script>
<script>
window.clickt = window.clickt || function(){(window.clickt.q=window.clickt.q||[]).push(arguments)};
window.clickt('track', {
event: 'conversion',
transaction_id: "{{ order.order_number }}",
amount: {{ order.total_price | divided_by: 100.0 }},
currency: "{{ shop.currency }}",
email: "{{ checkout.email }}"
});
</script>
Shopify's Liquid template fills in the order number, amount, currency, and email at render time. clickt then attributes the order back to the originating video, even if your buyer started on one device and finished on another.
Phase 2, server-side Order webhook
We're adding a direct Shopify Order webhook integration. When that lands:
- Refunds + returns reflect in net revenue per video.
- Order edits / upgrades roll into the right video.
- Replays + retries are handled idempotently (we dedupe by
order_id).
Until then, the standard install captures first orders cleanly.
What you'll see in the dashboard
- Per-video Shopify revenue
- Average order value per video
- Refund rate per video (phase 2)
- Time-to-purchase
- New vs returning customer attribution (phase 2, via Customers API)
If you run a content-led DTC brand on Shopify with YouTube as a top funnel, the per-video AOV number is usually the most actionable, it tells you which content drives high-intent buyers vs window-shoppers.