Skip to main content
PandaCodeGen.
Back to Insights

Measurement and privacy

Meta Ad Tracking Not Working? Find Where Your Sales Go Missing

When ad tracking breaks, you keep paying for ads but can't see which ones bring customers. The ad platform then spends your budget on the wrong people, and you may cut a campaign that was working. If Meta reports fewer sales than your shop admin, the campaign is often fine and the data path is leaking. The leaks come in two kinds, and the difference decides what you are allowed to do about them. Some events are missing because the customer declined tracking, and no tool should recover those. Others are missing for ordinary technical reasons, an ad blocker, an expired browser cookie, a checkout page that stopped running your script, and those you can legitimately fix. Sort your losses into those two piles first. Everything else in this guide follows from which pile you are in.

Updated November 20, 2026. Meta, Shopify and WebKit details reviewed October 8, 2026.

Hassan Jamal·Published ·Updated ·14 min read

Hassan works on consent-aware measurement integrations and custom commerce systems.

The short answer

  • ✓
    Start with the order or lead system of record and a written event definition.
  • ✓
    Compare like with like: the same event, the same time zone, the same dates, the same test status, refunds handled the same way, and the same attribution window.
  • ✓
    Use Meta diagnostics, browser developer tools, and server logs to find where an event is lost or duplicated.
  • ✓
    If browser and server both send one occurrence, use the same event name and event ID for deduplication.
  • ✓
    Before you price any Conversions API work, check whether Meta will just switch it on for you. Meta-enabled Conversions API launched on April 15, 2026 as a one-click option. Confirm eligibility and validate the resulting events in Events Manager.
  • ✓
    Conversions API is another data path. It is not a consent bypass or a guarantee of recovered attribution.

First: fewer orders, or fewer recorded orders?

These are different problems with different fixes. Your store or payment system tells you what customers actually bought. The ad platform tells you which of those sales it can link to an ad. If real orders are flat and only the ad dashboard dropped, the problem is measurement. If real orders dropped too, look at the campaign, the offer and the checkout before anyone touches the tracking.

A first check you can do in one sitting

Open your store or payment report beside the ad dashboard. Pick two equal, finished periods with time for reporting to settle, line up the time zones, and compare paid orders and revenue after refunds. In the ad report, check which date conversions are counted on, the attribution window and the counting setting. Google Ads, for example, can report a sale on the date of the ad click, while your store records the purchase date. If sales hold steady while reported conversions fall, follow the rest of this guide. If sales fall too, inspect the buying journey and campaign performance alongside tracking.

Two common causes of rising ad cost have nothing to do with tracking. The first is the auction: what you pay depends on how many other advertisers want the same audience this month, so your cost per order can rise while your site and measurement stay unchanged. The second is creative fatigue: people who have seen the same ad seven times respond less. Rule both out before paying for tracking work, because better measurement fixes neither.

Why the browser pixel loses events in the first place

The pixel is a piece of JavaScript running inside someone else's browser, and browsers have spent several years taking away the things it relied on. It still loads, so a quick check looks fine, while a growing share of real customers never reach Meta.

  • ✓
    App Tracking Transparency. Since iOS 14.5 in 2021, Apple asks users whether an app may track them across other companies' apps and websites. When someone declines, the tracking you are permitted to do is restricted. This is a consent outcome, not a bug.
  • ✓
    Third-party cookies are blocked. Safari has blocked cookies for cross-site resources by default since version 13.1, and Firefox does the same. Matching that leaned on those cookies stops working.
  • ✓
    Safari's seven-day storage limit. WebKit deletes a site's script-writable storage, including cookies and local storage written by JavaScript, after seven days of Safari use without the visitor interacting with that site. Someone clicks your ad, comes back two weeks later and buys, and the link back to the click is already gone.
  • ✓
    Ad blockers and consent banners. An ad blocker stops the pixel's request before it leaves the browser. A consent banner holds it until someone clicks accept, and plenty never do. This is why a pixel can fire perfectly in your own incognito test and still miss real buyers.
  • ✓
    Shopify removed checkout.liquid. Shopify's documentation puts two dates on this: checkout.liquid and additional scripts were sunset on the Thank you and Order status pages on August 28, 2025 for all merchants, and script tags were sunset on those pages on August 28, 2025 for Plus stores and are sunset for non-Plus stores on August 26, 2026. Conversion tracking that lived on those pages stops firing.

The pixel is a guest in someone else's browser. A server event is a message you send from your own house. That is the whole reason the second one is more reliable, and also the reason it is not a way around the first item on that list.

This sunset happened on 26 August 2026

That date has passed. Script tags on the Thank you and Order status pages were sunset for non-Plus stores on 26 August 2026, so if any part of your conversion tracking still lived there, it has already stopped rather than being about to. Shopify's documented replacement is Checkout Extensions, and for Meta specifically the native sales-channel integration is the supported path. Check this before you spend a week debugging attribution, because a script that no longer runs will not show up as a Meta problem.

Sort your losses into two piles

This is the step almost every guide skips, and skipping it is how people end up buying tools that promise something no tool is allowed to deliver.

✗
Consent loss: leave it alone
  • The customer declined tracking
  • No server integration recovers these, by design
  • Expect reported conversions to sit below your real order count, permanently
  • A vendor promising to close this gap is describing a compliance problem
✓
Technical loss: worth fixing
  • +An ad blocker stopped the browser request
  • +Safari cleared the browser state before the customer returned
  • +A checkout page stopped running your script
  • +A permitted event simply never arrived, and a server call would have carried it

Server-side delivery through the Conversions API addresses the right-hand column. It reduces avoidable loss among events you are already permitted to send, because a server call does not depend on the visitor's browser holding onto anything. It does nothing to the left-hand column, and should not.

If Meta reports fewer sales than your shop admin, the campaign is often fine. The data path is what is leaking.

Make sure you are comparing like with like

A storefront normally counts completed orders. A CRM may count qualified leads. Ads Manager applies its own attribution rules to events it can associate with ads. Those are different questions. A mismatch alone does not prove that the Pixel is broken or that one platform has hidden a fixed percentage of sales.

  • ✓
    Write the business event: for example, a paid order after test and canceled orders are excluded.
  • ✓
    Write down which system you are treating as the truth, the currency, the time zone, the order state, the dates, and when you compared them.
  • ✓
    Export event identifiers where permitted so individual records can be matched, not merely totals.
  • ✓
    Separate delivery from attribution: an event can arrive at Meta without being attributed to an ad.

Reconcile

Compare equivalent records under a documented scope.

Debug

Follow one event from consent to the server log.

Govern

Send only permitted data under current notices, choices, terms, and law.

A browser and server diagnostic sequence

Confirm the dataset identity first and remove stale or duplicate integrations, because everything downstream is unreadable until you know which pixel is firing. Then test the browser event and the server event separately, recording consent state, and verify the required parameters on each. An ad blocker, a consent choice, a navigation race or a duplicate tag can each affect a browser request, and none of them is a universal diagnosis.

  • ✓
    Confirm the expected Pixel or dataset ID and remove stale or duplicate integrations.
  • ✓
    Test with the Meta Pixel Helper Chrome extension for the browser event and the Test Events tool in Events Manager for the server event, alongside the browser network panel. Record consent state and test mode. Meta documents that test_event_code is for testing only and must be removed from the production payload.
  • ✓
    Check the exact event name, when it fired, the value, the currency, which page it came from, and its event ID.
  • ✓
    For server events, confirm the parameters Meta lists as required are present, action_source, event_source_url and client_user_agent, and log request acceptance and rejected parameters without logging prohibited personal data.
  • ✓
    Repeat a controlled test for denial, acceptance, returning visitor, checkout, and any relevant refund or cancellation state.
  • ✓
    Make sure your live tags are not firing from preview, staging, bots, your own staff or automated tests, unless you have deliberately separated those.

An ad blocker, browser policy, consent choice, navigation race, script error, integration update, or duplicate tag can affect a browser request. None is a universal diagnosis. Evidence from the affected session should decide the next step.

← Swipe to see more →

What happensPixel onlyPixel plus server events
Customer declined trackingRestricted, correctlyStill restricted. This is not the thing it fixes
Ad blocker stops the requestEvent never leaves the browserThe server copy still sends
Delayed purchase after Safari clears storageLink back to the click is goneServer events do not depend on browser storage
Checkout page stops running scriptsTracking silently stopsThe order still fires from your system
Risk of counting one sale twiceLow, there is only one pathReal, and the reason deduplication below is not optional

How browser and server event deduplication works

Sending both paths can improve resilience, but two copies of one purchase must not become two purchases. Meta's current documentation describes using matching event names and event IDs so corresponding browser and server events can be deduplicated. Generate one stable ID for the business occurrence, pass it through both paths, and do not reuse it for a different occurrence. For what building and operating both paths involves as a project, see our breakdown of a what a Conversions API setup costs, from the free route upward.

Do not infer success from HTTP acceptance

An accepted request does not prove correct attribution, consent, deduplication, value, or downstream reporting. Verify the event in diagnostics and reconcile it against the system of record.

Event Match Quality is a diagnostic, not a guarantee

Event Match Quality reflects how customer information parameters may help Meta associate events. It is not a universal minimum score and does not promise lower acquisition cost, recovered revenue, or a particular attribution result. Send only fields that are accurate, permitted, and formatted for the current interface.

For context on what a good score looks like in practice, the screenshot below is from a store we run ourselves rather than a client, which is the only reason we can publish the interface at all.

Owner-provided Meta Events Manager screenshot showing a Lead event diagnostic and Event Match Quality
What a healthy Lead event looks like in Events Manager: Event Match Quality of 9.0 out of 10, with a Meta estimate for the selected seven-day view. Disclosure: this is Panda Patches, an owned store rather than a client. It is owned and operated by Imran Raza Ladhani, a PandaCodeGen co-founder, and PandaCodeGen built and maintains the platform, so treat it as our own operating data rather than an independent reference. The capture does not independently show its year, and one store's diagnostic is not a benchmark, a causal result, or a number you should expect to reproduce.

Conversions API does not remove privacy duties

Meta's Business Tools Terms cover technologies including the Pixel and Conversions API and impose notice, choice, and data-use obligations. The current Data Processing Terms address applicable processing arrangements, but legal roles depend on the product, data flow, jurisdiction, and parties. Hashing an identifier for transmission does not by itself make the collection anonymous or eliminate consent and disclosure requirements. Where the tracking code lives and who controls it belongs to the wider question covered in who owns your website and its code.

  • ✓
    Map each field from collection through browser, server, Meta, storage, access, retention, and deletion.
  • ✓
    Align tag and server behavior with the site's actual consent choices and regional configuration.
  • ✓
    Avoid sending prohibited or unnecessary data in URLs, custom parameters, logs, or event names.
  • ✓
    Keep vendor terms, privacy notices, data-processing terms, and deletion procedures current.
  • ✓
    Get qualified legal advice for the jurisdictions and data involved instead of treating this guide as legal advice.

Shopify and other managed integrations

A native sales-channel integration may manage parts of browser and server delivery, but labels, availability, consent behavior, and supported events change. Use the current Shopify and Meta administration screens and documentation for the installed integration. Verify its data-sharing setting, test events, IDs, values, deduplication, and privacy behavior. Do not assume that installing an app reproduces another store's diagnostics. If you are weighing a managed integration against a storefront you control, compare the two models in Shopify compared with a custom website and in our guide to headless Shopify architecture.

Is there a free route before any of this?

Often, yes, and it is worth ruling in or out before anybody quotes you. Meta announced Meta-enabled Conversions API on April 15, 2026, a one-click option it describes as needing no technical expertise, no costs and no ongoing maintenance, but eligibility and actual event coverage still need validation. Check the resulting events, parameters and deduplication in Events Manager; the announcement does not prove that every event or integration requirement is covered. The four routes and what each one actually costs are set out in what a Conversions API setup costs, cheapest route first.

In the same announcement, Meta states that “advertisers with a Conversions API setup for web events saw an average 17.8% lower cost per result compared to those without Conversions API”. That compares two groups of advertisers. It is not a before-and-after on one account, and advertisers who set up server tracking differ from those who did not in more ways than the tracking, so don't write it into a forecast.

Why is Shopify's setup simpler than a custom build?

Because the sales channel already knows what a purchase is. On a custom-engineered stack you define the event contract yourself: which server action counts as a conversion, which identifiers you are permitted to send, how the event ID is generated so browser and server copies deduplicate, and where that code runs. Shopify's integration makes those decisions for you for its own standard events. That is genuinely less work, and it is also less control. You inherit whichever events, parameters and consent behavior the integration currently supports, and those change without your involvement.

Why aren't my Shopify sales showing in Meta Ads Manager?

Work through the short answer at the top of this article in order rather than reinstalling anything. Confirm the order exists in Shopify admin. Confirm an event was actually sent for it, using Meta's Test Events tool on a real transaction rather than a preview. Confirm the event was accepted rather than dropped or deduplicated away. Only then look at attribution: the sale may be recorded correctly but assigned outside the reporting window, to a different channel, or to a view-through the model does not credit. A missing sale in Ads Manager is far more often an attribution or consent outcome than a broken integration.

What about tracking after the iOS privacy changes?

Server events do not restore visibility into people who declined tracking, and no integration does. What server-side delivery can improve is the completeness of events you are already permitted to send, because a server call does not depend on the browser holding state. Treat it as reducing avoidable loss rather than recovering opted-out users, and expect reported conversions to stay below your order count in the system of record. Any vendor promising to recover the gap is describing something the consent framework does not allow.

What to demand when someone hands this over

Ask for a handover your next developer can use: a list of tracked actions and where their data goes, permission checks, examples of browser and server messages with personal details removed, duplicate and refund tests, and a comparison with your business records. It should distinguish data reaching Meta from Meta attributing a sale, and name who investigates failures.

  • ✓
    A dated event dictionary and data-flow map.
  • ✓
    Consent-state test results for representative regions and journeys.
  • ✓
    Browser and server request evidence with secrets and personal data redacted.
  • ✓
    Deduplication, value, currency, timestamp, refund, and test-traffic checks.
  • ✓
    A report comparing what reached Meta, which sales Meta attributed to ads, and the orders in your own records.
  • ✓
    Named owners for monitoring, vendor changes, incident response, retention, and deletion.

If the person who built it cannot produce that list, you do not own the integration, you are renting an arrangement only they understand. Be equally wary of the report that comes back: any measurement worth acting on carries the date it was taken, what was in scope, and what it cannot tell you. Nobody can honestly promise that a technical change will return a fixed share of your conversions.

What broken tracking looked like for one school

A Step Above Medical teaches phlebotomy and IV therapy classes. When we rebuilt its website and booking system, we also looked at its Google Ads account. This was Google Ads, not Meta, but the fault is the same one this guide is about: the ad platform was optimising for the wrong event.

The old campaigns bid for conversions, but the only conversion they counted was a view of the homepage: 559 in the month before launch, and none of them was a booking. So Google bought the cheapest homepage visits it could find. Registrations, form fills and calls weren't measured at all. Their Performance Max campaign targeted the whole United States across Google's display and video network, for a school that teaches in a handful of cities. We replaced them with three search campaigns, for phlebotomy classes, IV therapy classes and the school's own name, each targeting a 40-mile radius around the cities where it teaches, with keywords people type when looking for a class, such as "phlebotomy classes near me" and "iv therapy course". Each paid registration is now sent to Google Ads from the server, by the same Supabase backend that runs the bookings, so the tracking doesn't depend on the visitor's browser and refunds are adjusted automatically. The old campaigns ran for part of the first month before they were paused.

Meta's Conversions API works on the same principle: your server reports the real sale, so the report doesn't depend on the visitor's browser. We are not claiming the new ads produced the school's bookings. What changed is that every paid registration is now counted, so the ad budget is judged on real sales. The full project is in the A Step Above Medical case study.

If you run Google Ads as well

Google describes enhanced conversions for web as adding hashed first-party customer data to your existing conversion tracking. In April 2026 Google began merging the web and lead settings, so check your current account rather than an older tutorial. Google's consent mode also needs testing: the default consent state must be set before any measurement runs, and updated when a visitor accepts, rejects or changes their choice. Test a first visit, acceptance, rejection, a return visit and a withdrawn choice, and check the actual network requests, not just the banner.

How we help

Tracking breaks most often when the booking or payment happens somewhere you don't control: a third-party checkout page, a payment link sent by email, or a form that only sends an enquiry. When booking and payment run on your own site, your server knows the moment a real sale happens and can report it to Meta and Google directly, with refunds adjusted. That is how we build websites and booking systems for training providers and online stores. Server-side events are included when the agreed scope names the events, the systems and how consent is handled. We don't promise a cost-per-sale or revenue result. Project tiers are on the pricing page, and you can get in touch about a specific account.

Primary sources

Get your measurement integration plan

We will map the event path, inspect the current integration, and define a consent-aware, testable scope. Any implementation, outcome, and support commitment belongs in the accepted statement of work.

Questions & answers

Frequently Asked Questions

Why do Meta and my store show different conversion totals?
They may answer different questions. Reconcile the same event definition, time zone, date range, order state, test and refund treatment, and attribution window. Separate event delivery from ad attribution before calling the integration broken.
Why is my Meta Pixel not firing?
Check consent state, the expected Pixel or dataset ID, duplicate or stale integrations, browser requests, script errors, navigation timing, extensions and vendor diagnostics. Diagnose the affected session instead of assuming one universal cause.
Does Conversions API bypass consent or browser privacy choices?
No. It is a server data path, not a consent bypass. Configure collection and sharing under applicable law, current notices and choices, Meta terms, and your actual data-processing roles. Hashing an identifier does not by itself remove those duties.
How do I prevent duplicate browser and server events?
For one business occurrence, Meta's current documentation describes sending matching event names and event IDs through the browser and server paths. Verify the result in diagnostics and never reuse the occurrence ID for a different event.
What does Event Match Quality prove?
It is a Meta diagnostic about customer information parameters that may help matching. It is not a universal minimum and does not guarantee attribution, lower acquisition cost, conversion lift, or revenue.
Will server-side tracking recover all missing conversions?
No. It may improve event delivery when correctly implemented, but consent, data availability, event quality, deduplication, attribution rules and platform systems still affect reporting. Measure the result under a defined scope.
How should I test a Shopify Meta integration?
Use current Shopify and Meta documentation for the installed sales-channel integration. Verify data-sharing and consent settings, then test event names, IDs, values, currency, deduplication and diagnostics. Do not assume an app install or another store's result proves your setup.
Why are my ads getting clicks but no conversions?
Separate three failures before touching the integration. Delivery: confirm the event actually reached Meta using the Test Events tool in Events Manager, not a preview. Deduplication: Meta discards a duplicate when the browser eventID matches the server event_id and the browser event matches the server event_name on the same dataset within 48 hours, so a mismatched ID can hide a real sale. Mapping: confirm the standard event your campaign optimises for is the same one your site sends. Only then look at attribution, because a sale can be recorded correctly and still fall outside the reporting window or be credited elsewhere. Consent declines also stay uncounted by design.
Why are my ad costs going up but my orders staying flat?
The cause could be auction costs, audience, offer, product availability, site experience, checkout, measurement loss, or several together. Compare spend, clicks, sessions, orders and revenue by account, market, device and date before blaming the tracking.
What happens to my ad budget when tracking counts the wrong thing?
The ad platform optimises for whatever you tell it is a conversion. A Step Above Medical's old Google Ads campaigns counted a view of the homepage as a conversion: 559 in the month before its new website launched, none of them a booking. Google kept buying cheap homepage visits. Counting each paid registration from the server fixed what the campaigns were judged on.
Is server-side ad tracking included in a PandaCodeGen build?
It can be, when the agreed scope names the platforms, events, data sources, consent behaviour and how it will be tested. It is not automatically included in every package, and PandaCodeGen does not promise an attribution, cost-per-sale or revenue result.