Skip to main content
Magento → PinterestIntegration guide

Connecting Magento to Pinterest

Magento is self-hosted and endlessly customisable, which means every installation is different and full-page caching is always in the way. 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 Magento 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

Magento to Pinterest: matching configurable products to the catalog

Check whether Pinterest's Adobe Commerce extension covers your tag, catalog and server events first. Make catalog and checkout events use the same product identifier, parent or child SKU, or configurable-product matching breaks. Send checkout from the order placement observer with stored epik, hashed email and the tag's event_id, and reconcile over a window long enough for saved-Pin delays.

Pinterest's value for a Magento store is shopping: a product catalog, dynamic retargeting and checkout events tied to the items in that catalog. Check whether the Pinterest extension for Adobe Commerce fits your Magento version and what it covers, tag, catalog and server events, before building your own Conversions API feed.

The Magento-specific breakage is configurable products. A shopper views a parent product, picks size and color, and buys a child SKU. If your Pinterest catalog lists child SKUs but checkout events send the parent's ID, or the reverse, Pinterest receives the events and cannot tie them to catalog items, so product-level reporting and retargeting quietly degrade. Pick one identifier, make the feed and the events use it, and check the catalog's event matching diagnostics.

Send checkout from the order placement observer with the stored epik and hashed email, using the same event_id the tag uses on the success page. Expect Pinterest to keep crediting orders long after the click; a Magento store selling furniture, décor or gifts will see some orders weeks after the Pin was saved. Reconcile over a closed window long enough to cover that delay.

Magento → Pinterest · what breaks

Why this join usually fails — Magento → Pinterest

  1. 01

    The epik click identifier never reaches Magento

    Magento's full-page cache serves a stored render to the visitor, which means anything relying on dynamically rendered values can silently fail — and in Magento this has historically included serving one customer's cached block to another, which is a data problem as well as a tracking one.

  2. 02

    Full-page cache between the visitor and your code

    The page the customer saw is not the page your code assumed. This is the defining Magento tracking failure and it produces intermittent, hard-to-reproduce loss.

  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.

Magento → Pinterest · the fix

What working looks like — Magento → 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

Magento → Pinterest · architecture

How Magento and Pinterest actually connect

  1. 1

    Magento holds the truth

    You own the database, so the truth is as good as the query. Pin down which order statuses count as revenue — processing, complete, or both — because that choice moves the number substantially.

  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 Magento order.

  4. 4

    The event source decides reliability

    Fire server-side from the observer rather than from the success page template, which is cached and may not execute anything.

  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.

Magento → Pinterest · normal or broken

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

Normal, not a fault

  • The epik click identifier present on the order

  • Sent from the Magento order placement observer

  • 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

    Magento's full-page cache serves a stored render to the visitor, which means anything relying on dynamically rendered values can silently fail — and in Magento this has historically included serving one customer's cached block to another, which is a data problem as well as a tracking one.

  • Sent from the browser

    The page the customer saw is not the page your code assumed. This is the defining Magento tracking failure and it produces intermittent, hard-to-reproduce loss.

  • 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

Magento → Pinterest · diagnose

Diagnostic order — Magento → Pinterest

  1. 01

    Count orders carrying the epik click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Place a test order as an anonymous visitor through cache

    Not as an admin, which bypasses it. If the order data is missing on the cached path, caching is your cause.

  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.

Magento → Pinterest · prove

How it gets proven — Magento → Pinterest

Source of truth

Magento's sales order records in your own database, for the same window and order status set.

  • 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.
  • Order data confirmed populated on an order placed through a fully warmed cache.

Magento → Pinterest · free audit

What we check in the free audit

  • Count orders carrying the epik click identifier
  • Follow one real conversion end to end
  • Place a test order as an anonymous visitor through cache
  • Check the event delivery and match reporting in Pinterest Ads Manager
  • Read the match rate, not the success message

Checked against

Magento's sales order records in your own database, for the same window and order status set.

Get my free conversion tracking audit

Free30 minutesNo obligation

Magento → Pinterest · when not to buy

When you don't need this — Magento → Pinterest

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the epik click identifier.
  • If your Magento build has heavy customisation by another team, scope their availability first — the build is usually blocked there.
  • If Pinterest is a small test line on your media plan, the Conversions API is more work than the signal is worth this quarter.

Magento → Pinterest · what we deliver

What gets built — Magento → Pinterest

  • Identifier capture into Magento

    Capture the identifier and persist it as order data through an observer on order placement, server-side, so it never depends on what the cache served.

  • Event source: the Magento order placement observer

    Fire server-side from the observer rather than from the success page template, which is cached and may not execute anything.

  • 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

    Credit memos are recorded against the original order and should reduce the reported figure.

Written guarantee

95%+ tracking accuracy

Measured against Magento's sales order records in your own database, for the same window and order status set.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Magento → Pinterest questions, answered

Pinterest offers an extension for Adobe Commerce. Check compatibility with your Magento version and which events it sends server-side before adding custom code.

Free · 30 min

Get Magento and Pinterest joined properly

Free30 minutesNo obligation