BigCommerce Troubleshooting

Meta counts one purchase multiple times

Meta reports two or three Purchase events per order; find every Purchase sender, keep one browser and one server source, and align event IDs so Meta deduplicates.

Last updated · SEO, analytics and marketing · Applies to: BigCommerce stores using the native Meta Pixel connection, theme or Script Manager pixel code, tag managers or third-party Conversions API services

Symptoms

  • Meta Ads Manager or Events Manager reports two or three Purchase conversions for an order that BigCommerce shows only once.
  • Meta's purchase count or purchase value is consistently higher than the order count and revenue in BigCommerce for the same period.
  • The doubling started after you added a theme, an app, a tag manager container or a server-side tracking service, or after you connected Meta Pixel in BigCommerce while older pixel code was still in place.
  • Return on ad spend in Meta looks better than your store's sales can explain.

A small gap between Meta and BigCommerce is normal. BigCommerce notes that Meta credits conversions differently from the store's Marketing report, so compare order counts for the same orders rather than attributed totals.

Cause

The most common cause is more than one integration sending Purchase to the same Meta pixel. Typical senders are the native connection under Settings > Data Solutions, pixel code hard-coded in a theme, a script in Script Manager, a tag manager container, a marketplace app and a separate server-side Conversions API service.

The second cause is browser and server events that Meta cannot pair. Meta only removes a duplicate when the browser event and the server event share the same event name and the same event ID. Meta also states that duplicates from a single source, such as two browser Purchase events, are not deduplicated.

Resolution

  1. List every sender. Write down each place that can fire Purchase: Settings > Data Solutions > Meta Pixel, any storefront-level Meta Pixel connection under Channel Manager, theme templates (look for fbq( in the order confirmation template and in scripts included on every page), Script Manager, your tag manager, installed apps and any server-side tracking vendor.
  2. Check which pixel each sender uses. Note the pixel ID for each one. Two senders on the same pixel ID are the problem. A sender on a different pixel inflates that other pixel instead.
  3. Pick one browser sender and at most one server sender. If you use the native BigCommerce connection, it already sends both. BigCommerce's Meta Pixel article says the JavaScript pixel fires Purchase on the order confirmation page and the Conversions API acts as a fallback when data is not sent by the pixel. It also sends Purchase for storefront orders even if the shopper never reaches the confirmation page, and each event carries a randomly generated event ID. In that setup, extra theme code or tag manager Purchase tags are redundant.
  4. Disable redundant senders one at a time. Pause a tag, disable a script or unpublish a theme change rather than deleting it, so you can roll back. Keep a note of what you changed and when.
  5. If you keep a custom browser and server pair, align the IDs. Per Meta's deduplication guide, the pixel's eventID must equal the server's event_id, and the pixel event must equal the server event_name (Purchase on both). Meta only pairs events sent to the same pixel ID within 48 hours of the first event with that ID, so send the server event promptly and give each order its own unique ID.
  6. Verify with a test order. Place one order and check the Purchase event in Meta Events Manager. You should see one counted Purchase for that order, even if both a browser and a server event arrived. Then compare a few days of Meta purchase counts with BigCommerce order counts.

If the count is still high, look at the remaining copies for one affected order and note whether each came from the browser or the server and which event ID it carried. That tells you, or your developer or app vendor, which sender is left.

How to prevent it

  • Keep one written list of every tracking integration, its owner and its pixel ID.
  • Before installing a new theme or tracking app, check whether it adds its own Meta pixel, and turn that off if the native connection is active.
  • After any theme upgrade, retest a Purchase, because older templates can bring back hard-coded pixel code.
  • Use separate pixels only on purpose, for example one per storefront, and document why.

B2B and multi-storefront notes

By default the pixel set in Settings > Data Solutions is global across storefronts, and BigCommerce lets you override it per storefront under Channel Manager. A global pixel plus a storefront override plus theme code can multiply events quickly, so check each storefront separately.

BigCommerce says the native Conversions API sends Purchase whenever an order is placed, but limits this to orders placed through the online storefront. Orders that an ERP connector, quote tool or sales rep creates through the API or control panel should not come from the native connection. If those orders do appear in Meta, a third-party server-side service is likely sending them, and you should decide whether you want them counted as ad conversions.

More in the BigCommerce knowledge base, including every article on SEO, analytics and marketing.