Facebook Pixel on Shopify Not Working? 7 Fixes to Check (2026)

Facebook pixel on Shopify not firing? Check the app connection, duplicate installs, data sharing level, consent banner, testing method, domain verification and diagnostics, in that order.

By AdZippy TeamPublished 6 min read

Facebook Pixel on Shopify Not Working? 7 Fixes to Check (2026) - AdZippy blog cover

If your Facebook pixel on Shopify is not working, the cause is almost always one of five things: the pixel was never connected through the Facebook & Instagram app, it is installed twice, the data sharing level is set too low, a cookie banner is blocking it, or you are testing the wrong way. This guide walks through each one in the order worth checking, so you can fix tracking before you spend another dollar on ads.

This post is about the pixel not firing or not receiving events at all. If events arrive but the purchase numbers in Ads Manager do not match Shopify, read why Meta ads purchases do not match Shopify instead.

Why a broken pixel costs more than reporting

A pixel that does not send events does more damage than a messy dashboard. Meta's delivery system optimises toward the event you choose, usually Purchase. If Purchase events never arrive, the campaign has nothing to learn from, so it optimises on weaker signals or stays stuck in learning. That is why fixing tracking comes before testing new creatives or audiences.

Step 1: Confirm how the pixel is installed

On Shopify there are two common ways the Meta pixel ends up on a store:

  • The Facebook & Instagram app (Meta's official sales channel). This is the recommended route. You connect your Business portfolio, ad account and pixel inside the app, and it handles browser events and server events for you.
  • Manual code. Older stores often have pixel code pasted into theme.liquid, the checkout's additional scripts box, or a third-party tracking app.

Open Shopify admin, go to the Facebook & Instagram sales channel and check its settings. Note which pixel (dataset) ID is connected. Then compare it with the pixel your ad sets use in Ads Manager. A surprising number of "pixel not working" problems are simply two different pixels: the store sends events to one, the campaigns optimise on another.

Step 2: Remove duplicate installs

If the app is connected and there is also pixel code in your theme or a tracking app, you will usually see one of two symptoms: every event shows up twice, or events behave erratically because two scripts fight over the same page.

Fix it by keeping one source of truth:

  1. Search your theme code for "fbq(" and remove old pixel snippets.
  2. Check any tracking or analytics apps and turn off their Meta pixel feature if the official app already covers it.
  3. Check Customer events in Shopify settings for custom pixels you no longer need.

Keep the official app connection and remove the rest, unless a developer set up a custom server-side integration on purpose.

Step 3: Check the data sharing level

In the Facebook & Instagram app settings there is a customer data sharing option. The lower levels send fewer events and less customer information, and the higher levels add server-side events through the Conversions API. If sharing is set to the lowest level, or turned off, Meta can miss a large part of your events, especially on browsers that block third-party scripts.

For most stores the right move is to choose the highest level you are comfortable with under your privacy policy, so browser and server events both reach Meta and can be deduplicated.

If you use a cookie consent banner, the pixel may only fire after a visitor accepts marketing cookies. That is often exactly what the law in your selling region requires, so do not simply remove it. But it explains a common situation: the pixel works when you test it after clicking Accept, and looks broken for real visitors who ignore the banner.

Check Shopify's customer privacy settings and your consent app. Make sure marketing consent, once given, actually allows the pixel to load, and that the banner is not broken on mobile.

Step 5: Test it the right way

Do not judge a pixel by refreshing Ads Manager. Use these instead:

  • Test Events in Events Manager. Open your pixel in Events Manager, go to Test Events, enter your store URL and browse in the window it opens. You should see PageView, ViewContent, AddToCart and InitiateCheckout arrive within seconds.
  • The Meta Pixel Helper browser extension. It shows which pixel IDs fire on a page and flags errors such as duplicate pixels or missing parameters.
  • A real test order. Place an order with a discount code or a cheap product, then check that a Purchase event appears, with a value and currency.

If ViewContent and AddToCart fire but Purchase does not, the problem sits at checkout or the thank-you page. Old checkout scripts that were never migrated are a frequent cause on stores that upgraded their checkout.

Step 6: Verify your domain

In your Business portfolio settings, under Brand safety, verify your store's domain. Verification ties the domain to your business, which helps Meta trust and attribute the events coming from it. If you sell on a myshopify.com address and a custom domain, verify the custom domain your shoppers actually see.

Step 7: Read the diagnostics tab

Events Manager has a Diagnostics tab for each pixel. It lists problems Meta has detected, such as events missing a value, duplicate events that are not deduplicated, or a sudden drop in events. Work through anything listed there before you assume the issue is on Shopify's side.

Quick checklist

  • One pixel ID connected in the Facebook & Instagram app, and the same ID selected in your ad sets
  • No leftover pixel code in the theme, apps or custom pixels
  • Data sharing set to a level that includes server events
  • Consent banner works and allows the pixel after acceptance
  • Test Events shows the full funnel, and a test order shows Purchase with value and currency
  • Domain verified in your Business portfolio
  • Diagnostics tab clear

After tracking works: give Meta enough to test

Once Purchase events arrive reliably, the next limit is usually creative volume. Meta's system learns faster when it has several real variations to choose from, not one ad per ad set. Our guide on how many ads to put in an ad set covers the structure, and Facebook ads for a Shopify store walks through the campaign setup. If you also want clean attribution per ad, add UTM parameters to your Facebook ads.

Launching many variations by hand in Ads Manager is slow, which is why many Shopify brands stop at two or three ads. AdZippy is an official Meta Business Partner tool that lets you bulk upload Facebook ads: drop in your creatives and copy, and it builds the ads across your ad sets in minutes, created paused so you can review before anything spends.

Not sure where your ad account is losing money? Take the quiz