META PURCHASES

Two Meta pixels on one Shopify store

Your store runs two Meta pixels, and your purchase numbers look wrong. Sometimes two pixels are the plan, for example one per ad account. Sometimes one is left over.

Why it happens

Several routes install a pixel. The Facebook and Instagram sales channel installs one. A theme setting, a code snippet, a tag manager container and other apps can add another. Each route works on its own, so nobody sees the second pixel until the numbers drift.

Both pixels get the same purchase. When two different pixels fire on the confirmation page, each counts the order in its own dataset. That is fine if each pixel feeds a separate ad account. It is a problem when one ad account reads both, or when you compare the pixel you look at with the full order count.

The same pixel is installed twice. If the same pixel ID loads from the sales channel and from a snippet, Meta may count each purchase twice, unless both senders share the same event ID.

Check it yourself

  1. 1In Shopify admin > Settings > Customer events, list the pixels the store runs, and open any custom pixel to read its code for a Meta pixel ID.
  2. 2In Shopify admin, open the Facebook and Instagram sales channel and note the pixel (dataset) it uses.
  3. 3In Meta Events Manager > Data sources, list the pixels your business owns. Open each one and note its ID under its name.
  4. 4In Meta Events Manager > Data sources > each pixel > Overview, set the last 7 full days and read the Purchase count. Compare it with the paid orders in Shopify admin > Orders, filtered by Sales channel with the online store kept and draft orders, point of sale and subscription renewals left out.
  5. 5In Meta Events Manager > Data sources > each pixel > Diagnostics, read the warnings for the Purchase event.
  6. 6In Meta Events Manager > Data sources > each pixel > Test events, make a test purchase and watch which pixel receives it and how many Purchase events arrive.
  7. 7In your theme code and tag manager, search for fbq and for the pixel IDs you found. Decide which pixel each ad account should use, and remove the ones that do not belong.

One pixel, one server sender: see the Meta Conversions API on Shopify.

Run the free diagnosis

FAQ

Is it wrong to have two pixels?

No. Some stores use one pixel per country or per ad account on purpose. It is a problem when it is an accident, or when both feed the same reporting.

Which pixel should my ads use?

The one your ad account is set to use, and the one that receives your purchases. Check the pixel in your ad set settings.

Will Meta merge purchases from two pixels?

No. Pixels are separate datasets. Merging happens only for events with the same pixel, name and event ID.

Does removing the second pixel lose data?

It stops the events it sent. Check what it fires beyond purchases before you remove it, and keep a copy of the code.

Related

Problem

Meta shows fewer purchases than Shopify

Meta's Purchase count is lower than your Shopify paid orders. Three common causes and a step by step check you can do in Events Manager today.

Problem

Meta counts purchases twice

Meta shows more purchases than you had Shopify orders. Why browser and server events double up, and how to find every sender in your store.

Problem

Low Event Match Quality for Purchase in Meta

Meta rates your Purchase event's Event Match Quality low. See why a Shopify store gets that score and how to check which customer data your purchases carry.

Problem

Which Shopify orders should count as purchases in Meta?

Your Shopify total includes orders that no ad could have led to. See which orders to leave out before you compare Shopify with Meta's Purchase count.

All tracking problems · All guides