I already searched in the theme.liquid for a leftover code also in gtm also tried different browsers i cleared the cache and i manually check with a test on facebook and i can see it counts the view event as 2 on live.I use the facebook&instagram app only for my pixel
Hey @Kristiyan14456 ,
It sounds like your Meta Pixel is firing twice on the same page, which can happen due to several reasons. Since you already checked the theme.liquid, GTM, cache, and different browsers, here are some other things to investigate:
Steps to Fix Duplicate Meta Pixel Events:
- Check for Duplicate Installations in Shopify Apps:
- Since you’re using the Facebook & Instagram Shopify app, ensure that you haven’t also manually added the Pixel in Online Store > Preferences. If so, remove the manual installation.
- Use the Meta Pixel Helper (Chrome Extension):
-
Install the Meta Pixel Helper and inspect the page.
-
Check if the Pixel is firing twice and note which scripts are triggering it.
- Inspect Network Requests in DevTools:
-
Open your Shopify store.
-
Right-click > Inspect > Go to Network Tab.
-
Filter by “pixel” and reload the page.
-
Look for duplicate requests to www.facebook.com/tr/—this indicates multiple pixel fires.
- Check the Facebook & Instagram App:
- Ensure you haven’t set up the Pixel multiple times in Sales Channels > Facebook & Instagram > Data Sharing Settings.
- Check for Additional Scripts in Sections:
-
Go to Online Store > Themes > Edit Code.
-
Look in theme.liquid, header.liquid, and any footer.liquid files for additional fbq(‘track’, ‘PageView’); scripts.
- Check Your Next.js App:
-
If your store is headless (Next.js + Shopify), verify that your Meta Pixel is not being fired twice—once in Shopify and once in your frontend code.
-
Look for Meta Pixel-related code inside _app.js, _document.js, or useEffect() in components.
- Test in an Incognito Window:
- Some browser extensions (like ad blockers) or cache issues can cause duplicate events.
Possible Fixes:
-
If the duplication is from Shopify’s theme.liquid and the Facebook & Instagram app, remove the manually inserted code.
-
If it’s in Next.js, ensure you’re not firing the event in both the backend and frontend.
Let me know what you find after checking these!
Best Regard,
Rajat
tried all of these but sadly nothing
Check Test Events in Facebook Events Manager—are both events firing at the exact same time or with a delay? Also, use Chrome DevTools > Network (filter facebook.com/tr) to see where the duplicate request is coming from. If still unresolved, try removing & reinstalling the Facebook Pixel in Shopify. Let me know what you find!
yes its a browser event one is with id and the other has no id and they fire at the same time and i already reinstalled the app and installed it same issue
is it possible to be from the cookie banner because i use the native one from shopify ?
Since one event has an ID and the other doesn’t, it likely means:
-
One is from Shopify’s automatic Pixel integration.
-
The other is from an extra script firing in the browser.
Fix it:
- Check for duplicate scripts in your theme code:
-
Go to Online Store > Themes > Edit Code
-
Search for fbq(‘track’, ‘PageView’) in theme.liquid, header.liquid, and any custom JS files.
- Check if Next.js is firing the event (if headless):
- Make sure fbq(‘track’, ‘PageView’) isn’t inside a useEffect() running twice.
- Temporarily disable Shopify’s built-in Pixel:
-
Go to Online Store > Preferences > Disable Pixel
-
Check if only one event fires now.
- Use Meta Pixel Helper (Chrome Extension)
- It can show what scripts are triggering the duplicate event.
If the extra event is still firing, check the Meta Pixel Helper extension to see what’s triggering it. If you need more help, just reach out!
The website is www.cirkashop.com
It looks like Webpixels Manager is injected by an app or Shopify’s built-in scripts. You can check Shopify Admin > Settings > Customer Events to disable it or search for webpixels in your theme code. If it’s coming from an app, try disabling tracking/analytics apps. For a quick fix, you can hide it with:
#web-pixels-manager { display: none !important; }
Let me know if you want help to implement this—please feel free to reach out so I can find where it’s coming from! I can help pinpoint the issue better.
if found that web-pixels-manager_setup code is Shopify’s built-in pixel manager script. In other words, it’s part of Shopify’s native analytics system, not a leftover snippet you added yourself. Shopify injects it automatically to manage various pixels (including the Facebook/Meta Pixel) and analytics.


