Skip to main content
Saleor → PinterestIntegration guide

Connecting Saleor to Pinterest

Saleor is headless and GraphQL-first, which means the storefront and the commerce engine are separate applications and the identifier has to survive a boundary that traditional platforms do not have. Pinterest is a save-now-buy-later platform, which makes its attribution window the loosest of any network here and its conversion data the most delayed. The join between them succeeds or fails on one thing: whether the epik click identifier reaches the Saleor order before the conversion happens, because Pinterest can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Saleor to Pinterest: epik into metadata, checkout from the webhook

On a custom Saleor storefront, call Pinterest's checkout event explicitly on the client-side confirmation route, generating an event_id there and writing it into order metadata. Store the epik at checkout too, then send the Conversions API event from the paid-order webhook with that event_id, hashed email, net total, currency and product IDs matching your Pinterest catalog feed.

Pinterest suits Saleor stores selling home, fashion or design goods, and those builds tend to have heavily custom storefronts where Pinterest's tag is wired into a JavaScript framework by hand. The tag's checkout event on a client-side confirmation route needs an explicit call; nothing fires on a route change by default. Generate the event_id in the storefront at that moment and also write it into order metadata, so the server can reuse it.

On the server, the epik from the landing URL or _epik cookie goes into order metadata at checkout, and the paid-order webhook triggers the Conversions API event with the same event_id, hashed email, net total, currency and product IDs that match your Pinterest catalog. That last point matters because Pinterest shopping reporting is item-level, and the Saleor variant ID or SKU you send must be the one your catalog feed uses.

Pinterest order volume on a smaller headless store may be low, so test deduplication with a real order rather than reading trends. Refunds and cancellations need handling in your own reporting; decide up front which figure you compare against Pinterest, and use paid orders from Saleor's API as the reference.

Saleor → Pinterest · what breaks

Why this join usually fails — Saleor → Pinterest

  1. 01

    The epik click identifier never reaches Saleor

    The storefront holds the browser session; the commerce API holds the order. Nothing carries between them unless the storefront puts it there.

  2. 02

    A storefront that knows the click and an API that holds the money

    Headless architectures split exactly the two things attribution needs to join. If the storefront does not deliberately write the identifier into order metadata, the connection does not exist anywhere.

  3. 03

    The save-now-buy-later gap

    Pinterest's whole behaviour model is saving something for later. A share of the revenue it genuinely drives arrives months after the click and outside any attribution window, and no build changes that. Say it before anyone sets a target.

  4. 04

    Nothing reconciles afterwards

    Pinterest Ads Manager reports events received and their match status. A successful API call is not a matched conversion — reconcile Pinterest's reported conversions against your own records for the same window and expect a structural gap from the save-then-buy delay.

Saleor → Pinterest · the fix

What working looks like — Saleor → Pinterest

  • The epik click identifier on every order

  • Conversions arriving in Pinterest

    Conversions appear in Pinterest Ads Manager against the campaign, with the value you sent, and become usable for optimization.

  • Reconciled against the source

Saleor → Pinterest · architecture

How Saleor and Pinterest actually connect

  1. 1

    Saleor holds the truth

    In a headless setup the storefront is one of several possible clients. Attributing from it means measuring one channel of a system designed to have many.

  2. 2

    Pinterest needs a click to match

    Pinterest matches server events using the click identifier where present and hashed customer information otherwise. Confirm current endpoint and field names against Pinterest's own documentation — its Conversions API has been through more than one revision.

  3. 3

    The identifier is the bridge

    The epik click identifier, captured at the visit and carried into the Saleor order.

  4. 4

    The event source decides reliability

    Send fully paid orders at their net total, sourced from the API.

  5. 5

    Deduplication at the destination

    Pinterest deduplicates on event_id, so the tag and the server event must carry the same value for the same conversion. Pinterest volumes are often low enough that a doubling reads as a good week rather than a bug, which is why this needs testing deliberately rather than assuming.

Saleor → Pinterest · normal or broken

Working vs. broken, side by side — Saleor → Pinterest

Normal, not a fault

  • The epik click identifier present on the order

  • Sent from the Saleor order webhook

  • Deduplicated correctly

    Pinterest deduplicates on event_id, so the tag and the server event must carry the same value for the same conversion. Pinterest volumes are often low enough that a doubling reads as a good week rather than a bug, which is why this needs testing deliberately rather than assuming.

  • Reconciles with the source

Actually broken

  • The epik click identifier missing on most records

    The storefront holds the browser session; the commerce API holds the order. Nothing carries between them unless the storefront puts it there.

  • Sent from the browser

    Headless architectures split exactly the two things attribution needs to join. If the storefront does not deliberately write the identifier into order metadata, the connection does not exist anywhere.

  • Counted twice, or not at all

    Pinterest's whole behaviour model is saving something for later. A share of the revenue it genuinely drives arrives months after the click and outside any attribution window, and no build changes that. Say it before anyone sets a target.

  • Nobody has reconciled it

Saleor → Pinterest · diagnose

Diagnostic order — Saleor → Pinterest

  1. 01

    Count orders carrying the epik click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Inspect order metadata on a live order for the identifier

    Either it is on the order or the attribution is guesswork. There is no middle state.

  4. 04

    Check the event delivery and match reporting in Pinterest Ads Manager

    Not the API response code. A 200 means Pinterest accepted the payload, not that it matched it to a click.

  5. 05

    Read the match rate, not the success message

    Pinterest Ads Manager reports events received and their match status. A successful API call is not a matched conversion — reconcile Pinterest's reported conversions against your own records for the same window and expect a structural gap from the save-then-buy delay.

Saleor → Pinterest · prove

How it gets proven — Saleor → Pinterest

Source of truth

Saleor orders by payment status, read from the API rather than inferred from the storefront.

  • The epik click identifier confirmed present on a live order.
  • Deduplication confirmed on a real conversion, and the attribution window your reporting uses stated explicitly.
  • Paid orders reconciled from the API against imported conversions.

Saleor → Pinterest · free audit

What we check in the free audit

  • Count orders carrying the epik click identifier
  • Follow one real conversion end to end
  • Inspect order metadata on a live order for the identifier
  • Check the event delivery and match reporting in Pinterest Ads Manager
  • Read the match rate, not the success message

Checked against

Saleor orders by payment status, read from the API rather than inferred from the storefront.

Get my free conversion tracking audit

Free30 minutesNo obligation

Saleor → Pinterest · when not to buy

When you don't need this — Saleor → Pinterest

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the epik click identifier.
  • If you run a single storefront and no other clients, the added complexity of headless attribution buys you nothing over a standard integration.
  • If Pinterest is a small test line on your media plan, the Conversions API is more work than the signal is worth this quarter.

Saleor → Pinterest · what we deliver

What gets built — Saleor → Pinterest

  • Identifier capture into Saleor

    Capture in the storefront and write the identifier into order metadata through the API at checkout, so it lives on the order rather than in a session.

  • Event source: the Saleor order webhook

    Send fully paid orders at their net total, sourced from the API.

  • Dispatch to Pinterest

    Server events to the Pinterest Conversions API with the click identifier, hashed customer data and a matched event_id.

  • Reversals where they exist

    Refunds and cancellations reverse.

Written guarantee

95%+ tracking accuracy

Measured against Saleor orders by payment status, read from the API rather than inferred from the storefront.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Saleor → Pinterest questions, answered

Load the base tag in your app shell and call the checkout event explicitly on the confirmation route, with an event_id you also save to the order.

Free · 30 min

Get Saleor and Pinterest joined properly

Free30 minutesNo obligation