On this page
What this issue is
A Meta Pixel is a snippet of code that sends visitor actions (page views, leads, purchases) to a numbered pixel in Meta's Events Manager. Each pixel belongs to a Business Manager (now called a Meta Business Portfolio). If your site loads the ID of a pixel from an old Business Manager, the browser still reports events happily, but they go to a pixel your current ad account cannot use.
Why it costs you leads or sales
Meta's ad delivery learns from the events your pixel reports. If your current pixel receives nothing, campaigns that optimise for leads or purchases have no signal. Reports show zero or very low conversions, audiences and retargeting lists stay empty, and the algorithm cannot find more people like your buyers.
- Ad clickVisitor arrives from your Meta ad
- Form or checkoutVisitor converts on your site
- Pixel firesEvent sent with the old pixel ID
- Current ad accountSees no conversion
- OptimisationNo data to learn from
Visitors convert normally, but the events reach a pixel your ad account does not use.
Example: the same 40 real leads per week, counted by a correct pixel versus an old pixel from a previous Business Manager.
How to check if your site has it
Note the correct pixel ID
In Meta Events Manager, open Data sources, select your current pixel and copy the numeric ID (usually 15 or 16 digits).
Use Meta Pixel Helper
Install the Meta Pixel Helper Chrome extension, open your key pages (home, landing page, form, thank-you page) and read the pixel ID it shows. A red or unexpected ID means a mismatch.
Check the network requests
Open browser DevTools, go to the Network tab, filter by 'facebook.com/tr' and look at the 'id=' parameter in each request. Every request should show your current ID.
Search the source
View page source and search for 'fbq(' and 'init'. Note every ID you find. Also check your tag manager for Meta tags.
Look in Events Manager
Open Test events in your current pixel and browse your site. If nothing shows up while Pixel Helper says events fire, they are going to a different pixel.
How to fix it
The goal is one pixel ID, the current one, installed in one place. Find every source of the old ID first, because it often hides in more than one spot.
Check your Meta plugin
If you use Meta's Facebook for WordPress plugin, PixelYourSite, or a similar one, open its settings and replace the pixel ID with the current one. Menu names vary by plugin.
Check theme and header scripts
Look in your theme options, a header/footer scripts plugin, and Appearance > Theme File Editor (header.php) for a hard-coded fbq('init', ...) call.
Check page builders and SEO plugins
Some builders and marketing plugins have their own pixel field. Clear any old ID there.
Update the Facebook & Instagram channel
In Shopify admin, open Sales channels > Facebook & Instagram > Settings > Data sharing and check which dataset (pixel) is connected. Reconnect the right one.
Check Customer events
Under Settings > Customer events, remove any custom pixel that uses the old ID.
Check theme code
In Online Store > Themes > Edit code, search theme.liquid for 'fbq' and remove old snippets.
Find the Meta tags
Search your container for 'fbq' and for tags using the Meta Pixel template or a Custom HTML tag.
Replace the ID
Edit the pixel ID in the init tag. Better, store it in a Constant variable so it is changed in one place.
Preview and publish
Use Preview mode to confirm events carry the new ID, then publish a new container version.
Check project custom code
Open Project settings > Custom code and look in Head code and Footer code for the old fbq init.
Check page-level code
Open Page settings for landing pages and remove or update custom code there, then republish.
Check funnel and website settings
Open the funnel or website, go to Settings and look for the Facebook Pixel ID field. Replace it with the current ID.
Check custom code blocks
Look in the header tracking code and any custom code elements on each page, then publish.
Check Marketing Integrations
In the Wix dashboard, open Marketing & SEO > Marketing Integrations > Meta Pixel and connect or replace the pixel ID.
Check Custom Code
Under Settings > Custom Code, remove any old Meta snippet, then publish.
Check the Meta Pixel setting
Open Settings > Advanced > External API Keys (or Marketing integrations, depending on version) and update the Meta Pixel ID.
Check code injection
Under Settings > Advanced > Code Injection, remove old fbq code from the Header and Footer.
Search the codebase
Search for the old ID and for 'fbq(' across templates, includes, build config and environment variables.
Use one config value
Keep the pixel ID in a single config or environment variable so staging and production cannot drift.
<script>
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,document,'script','https://connect.facebook.net/en_US/fbevents.js');
fbq('init', 'YOUR_PIXEL_ID');
fbq('track', 'PageView');
</script>How to confirm it's fixed
- Meta Pixel Helper shows only your current pixel ID on every key page
- Network requests to facebook.com/tr all carry the current id= value
- Events Manager > Test events shows PageView and your Lead or Purchase event arriving in the current pixel
- Searching page source and your tag manager for the old ID returns nothing
- Server-side (Conversions API) events, if used, are sent to the current dataset
- Within a day, Events Manager shows live activity on the current pixel
How to prevent it happening again
- Keep a written record of which pixel ID belongs to which site and Business Manager
- Store the pixel ID in one place only (plugin setting, tag manager constant or config variable)
- After agency handovers or migrations, audit all scripts for old IDs
- Use a staging pixel or test event code only on staging, never copied to production
- Re-check the live site after theme changes, plugin updates and new tag manager publishes
How FunnelGuard handles this
FunnelGuard detects this today. A robot visitor runs your real journey on a schedule, from the EU or the US, and compares the tracking IDs it sees in the Meta hits against the IDs you expect for your site. If a request goes to a pixel ID that does not match, the check fails.
A failure is re-checked from a second region before one alert goes out by email, Slack, Teams, WhatsApp, webhook or PagerDuty, with a screenshot and a likely cause. Test traffic is marked (utm_source=funnelguard, fg_test=1), never clicks real ads and stops before payment. The Free plan covers 1 site and 2 journeys with daily checks, and paid plans start with a 3-day free trial.
Questions people ask
Why is my Meta Pixel not showing conversions in Events Manager?
A common cause is that your site fires a different pixel ID than the one you are checking, often an old pixel from a previous Business Manager. Use Meta Pixel Helper to read the ID on your pages and compare it with the ID in Events Manager. If they differ, replace the old ID wherever it is installed.
How do I find which Meta Pixel ID is on my website?
Install the Meta Pixel Helper Chrome extension and open your page, or open DevTools, go to the Network tab and filter for facebook.com/tr. The id= value in those requests is the pixel ID your site is sending data to. You can also search page source for fbq('init'.
How do I change the Meta Pixel ID on my website?
Change it in whichever tool installs the pixel: your Meta plugin, theme settings, Shopify's Facebook & Instagram channel, Google Tag Manager, or custom code. Then remove any other copies of the old ID and test with Pixel Helper and Test events.
Can I keep the old pixel and add a new one?
You can, but it is rarely a good idea. Two pixels mean events are sent twice and your data is split across them. Unless you deliberately need both, keep only the current pixel on the site.
Will changing the pixel ID lose my audiences and history?
Audiences and learning belong to a pixel, so a new pixel starts with its own data and does not inherit the old one's. Events collected before the switch stay in the old pixel. Make the change soon, so your current pixel starts collecting.
Why is the old pixel still firing after I installed a new one?
The old ID is probably installed in a second place, such as a theme file, a header script plugin, a page-level custom code block or a tag manager tag. Search your source and tag manager for the old ID and remove every copy.
Does Conversions API also need updating?
Yes. If you send server-side events, check the dataset ID and access token used. They must belong to your current pixel, otherwise server events keep going to the old one.
Can FunnelGuard tell me if my site uses the wrong Meta Pixel ID?
Yes. FunnelGuard checks the tracking IDs in the Meta requests during a real journey and flags a mismatch with the ID you expect. You get one alert with a screenshot and a likely cause.
Related issues
- TRK-166Meta Pixel missing on funnel pageFix guide
- TRK-168Two Pixel IDs firing, events splitFix guide
- TRK-177Pixel init called with no ID or invalid IDFix guide
- TRK-180CAPI events missing entirelyFix guide
- TRK-189Test event code left on production pixelFix guide
- TRK-190Domain not verified in Business ManagerFix guide