Developers · Docs

From npm i to attributed revenue, in an afternoon.

No tag managers, no checkout extensions to babysit. Install one package, add one webhook handler, and let Headless Builds handle identity, the cross-domain handoff, and multi-touch credit.

Install in seconds.

The SDK is tiny, typed, and framework-aware. Pick your adapter and the right defaults come along for the ride.

terminal
$ npm i @headlessbuilds/shopify
 
added 1 package in 0.8s
 
→ next: connect a store at headlessbuilds.com

Four steps to your first stitched order.

  1. 1

    Install the SDK

    Add @headlessbuilds/shopify to your storefront and import the collector.

  2. 2

    Connect your store

    Authorize Headless Builds with a Shopify access token — no theme edits.

  3. 3

    Add the webhook

    Forward orders/create to hb.attribute() in one resource route.

  4. 4

    Watch it stitch

    Open your dashboard and see touches resolve into attributed revenue.

Ready to instrument your store?

Spin up an account, grab your key, and ship attribution your finance team will actually believe.