Connecting Medusa to Pinterest
Medusa is a Node commerce engine you extend in your own codebase, which makes the conversion event a piece of application code — and therefore something that can be tested rather than hoped for. 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 Medusa 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
Medusa to Pinterest CAPI: product IDs that match your catalog
Choose once whether Pinterest's feed item ID is the Medusa variant ID or SKU, and send the same in purchase content IDs. From the payment-captured subscriber, send paid total, currency, item count, epik from cart metadata, hashed email and checkout IP and user agent, using the order ID as event_id shared with the tag.
Pinterest's shopping features depend on events that name products the same way your catalog feed does. On Medusa, nothing generates that feed for you; it is usually a custom route or script over your products. Decide once whether the feed's item ID is the Medusa variant ID or the SKU, and send the same value in the purchase event's content IDs. Mixed identifiers are the most common reason Pinterest shows conversions but cannot tie them to products for retargeting and shopping ads.
For deduplication, the Medusa order ID makes a natural event_id. The storefront's order confirmation page knows it once the cart completes, so the Pinterest tag's checkout event and the server event from your payment-captured subscriber can both carry it. The subscriber should send the paid total, currency, item count and the epik value from cart metadata, plus hashed email. Send the client IP and user agent recorded at checkout rather than the server's own.
Payment capture versus order placement matters more on Pinterest than you would think. Pinterest volumes are small, so a handful of failed payments counted as checkouts visibly distorts cost per order. Fire the browser event on confirmation as usual, but treat the server event at capture as the record.
Medusa → Pinterest · what breaks
Why this join usually fails — Medusa → Pinterest
- 01
The epik click identifier never reaches Medusa
The storefront is separate from the backend, and the identifier must be attached to the cart before the order is created.
- 02
Firing on order placed rather than payment captured
They are different events and the gap between them contains every failed and pending payment. Order-placed is the easier hook and the wrong one.
- 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.
- 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.
Medusa → Pinterest · the fix
What working looks like — Medusa → 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
Medusa → Pinterest · architecture
How Medusa and Pinterest actually connect
- 1
Medusa holds the truth
Because you own the event handlers, the conversion can fire from the payment-captured event specifically rather than from whatever the frontend happened to render.
- 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
The identifier is the bridge
The epik click identifier, captured at the visit and carried into the Medusa order.
- 4
The event source decides reliability
Send orders at payment capture, at the paid total.
- 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.
Medusa → Pinterest · normal or broken
Working vs. broken, side by side — Medusa → Pinterest
Normal, not a fault
The epik click identifier present on the order
Sent from a Medusa subscriber on order payment capture
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 is separate from the backend, and the identifier must be attached to the cart before the order is created.
Sent from the browser
They are different events and the gap between them contains every failed and pending payment. Order-placed is the easier hook and the wrong one.
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
Medusa → Pinterest · diagnose
Diagnostic order — Medusa → Pinterest
- 01
Count orders carrying the epik click identifier
- 02
Follow one real conversion end to end
- 03
Check which event your subscriber listens to
One line of code, and it decides whether you are counting orders or counting money.
- 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.
- 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.
Medusa → Pinterest · prove
How it gets proven — Medusa → Pinterest
Source of truth
Medusa orders by payment status, emitted from your own subscriber code.
- 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.
- Payment-captured orders reconciled against imported conversions.
Medusa → Pinterest · free audit
What we check in the free audit
- Count orders carrying the epik click identifier
- Follow one real conversion end to end
- Check which event your subscriber listens to
- Check the event delivery and match reporting in Pinterest Ads Manager
- Read the match rate, not the success message
Checked against
Medusa orders by payment status, emitted from your own subscriber code.
Free30 minutesNo obligation
Medusa → Pinterest · when not to buy
When you don't need this — Medusa → Pinterest
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the epik click identifier.
- If every payment method you accept is instant, the two events nearly coincide and the distinction costs more than it returns.
- If Pinterest is a small test line on your media plan, the Conversions API is more work than the signal is worth this quarter.
Medusa → Pinterest · what we deliver
What gets built — Medusa → Pinterest
Identifier capture into Medusa
Write the identifier into cart metadata at first touch so it is carried onto the order automatically at completion.
Event source: a Medusa subscriber on order payment capture
Send orders at payment capture, at the paid total.
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 emit their own event and should reverse.
Written guarantee
95%+ tracking accuracy
Measured against Medusa orders by payment status, emitted from your own subscriber code.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Medusa → Pinterest questions, answered
The same ID used as the item ID in your Pinterest catalog feed, either variant ID or SKU. Pick one and use it in both.
Use the Medusa order ID as the event_id in both the tag's checkout event on the confirmation page and the server event from your subscriber.
Almost always because the epik click identifier never reached the Medusa order. The storefront is separate from the backend, and the identifier must be attached to the cart before the order is created. Measure coverage before debugging the dispatch.
The epik parameter, appended to your landing page URL and stored by the tag in the _epik cookie. Pinterest also matches on hashed email and phone. The complication is behavioural rather than technical: a Pin saved in October and acted on in December is completely normal, so a meaningful share of genuine Pinterest-driven revenue falls outside any click window and is structurally unattributable.
A Medusa subscriber on order payment capture. Send orders at payment capture, at the paid total.
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.
More on Medusa → Pinterest
- Pinterest · Lead → booked callHow to track lead to booked call for Pinterest Ads
- Pinterest · Booked call → closed wonHow to track booked call to closed won for Pinterest Ads
- Pinterest · Free trial → paidHow to track free trial to paid for Pinterest Ads
RELATED GUIDES
Where Medusa → Pinterest fits in the rest of your tracking
- Pinterest · Furniture ecommercePinterest Ads conversion tracking for furniture ecommerce brands
- Pinterest · Jewelry ecommercePinterest Ads conversion tracking for jewelry ecommerce brands
- Pinterest × Ecommerce OrdersHow to reconcile Pinterest Ads against your store's order table
- Pinterest · Abandoned cart → recoveredHow to track cart abandonment to recovered sale for Pinterest Ads
- OpenCart → PinterestConnecting OpenCart to Pinterest
- Medusa → LinkedInConnecting Medusa to LinkedIn Ads
- Furniture ecommerceConversion tracking for furniture ecommerce, measured after delivery
- Swell → PinterestConnecting Swell to Pinterest
Free · 30 min
Get Medusa and Pinterest joined properly
Free30 minutesNo obligation
