On this page
What this issue is
The Instagram and Facebook apps open links in their own built-in browser, called an in-app browser or webview. It is not Safari or Chrome. It has its own cookie storage, its own handling of redirects and new tabs, and sometimes its own tracking limits.
The Meta Pixel is a script that runs in the visitor's browser and sends events such as PageView, Lead and Purchase to Meta. In an in-app browser, some of those events never arrive. Common causes are scripts blocked or slow to load, cookies such as _fbp and _fbc not being saved, the visitor closing the page before the event is sent, and the visitor leaving the app browser to finish in their normal browser, which looks like a new, unrelated visit.
Why it costs you leads or sales
The visitor may still fill in your form and pay. What you lose is the signal. Meta sees fewer conversions than really happened, so reports under-count results and the delivery system has less data to learn which people convert. Cost per result looks worse than it is, and good ads may get paused.
If your traffic is mostly from Instagram and Facebook ads, a large share of your visitors are in these browsers, so the gap can be significant.
- Ad tapVisitor taps ad in Instagram
- In-app browserPage opens in the webview
- Pixel eventScript blocked, cookie lost or page closed
- Meta Events ManagerConversion not recorded
- Ad optimisationLearns from incomplete data
The sale happens, but Meta never hears about it.
Example: 100 leads came from Meta ads in a week. Browser-only tracking reported fewer than the server-backed setup.
How to check if your site has it
The most reliable check is to compare what your CRM or order system says with what Meta reports, then test inside the apps themselves.
Get a test event code
In Meta Events Manager, open your Pixel, then Test events. Copy the test code and the browser test link or keep the tab open.
Open your page from inside the app
Send yourself your landing page link in Instagram or Facebook Messenger (or post it in a private story) and tap it, so it opens in the in-app browser. Use both an iPhone and an Android phone if you can.
Complete the journey
Submit the form or run the checkout in test mode. Do not enter real card details.
Watch Test events
Check whether PageView and your conversion event appear, and whether they show as Browser, Server or both. Compare with the same journey in Chrome or Safari.
Compare totals over time
In Events Manager, compare Browser and Server event counts and the Overview diagnostics. Compare leads in your CRM against Lead events for the same dates, split by source if you can.
| What you see | Likely meaning |
|---|---|
| PageView arrives, Lead does not | Page closed or script interrupted before the event was sent |
| Nothing arrives in the app, works in Chrome | Pixel script or cookies blocked in the webview |
| Events arrive but without _fbc or _fbp | Cookies not saved, lower match quality |
| Server events fine, browser events low | Browser side is dropping; CAPI is covering it |
How to fix it
You cannot control the in-app browser, so the fix is to stop depending on it alone. Send key events from your server with the Conversions API, deduplicate them against the browser events, and make the page lighter so the Pixel fires early.
Set up the Conversions API
Send Lead, Purchase and other key events from your server or tag server to Meta, alongside the Pixel.
Send the same event_id from both sides
Give each browser event and its server twin the same event_name and event_id so Meta counts it once.
Pass fbc and fbp to the server
Read the
_fbcand_fbpcookies when present and include them in the server event. If_fbcis missing but the URL has fbclid, build it from the fbclid value.Add customer data
Send hashed email and phone from your form to improve matching when cookies are missing.
Fire events as early as possible
Fire the conversion on form submit success, not after a slow redirect. Load the Pixel early and avoid heavy scripts before it.
Keep the visitor in one browser
Avoid links that push people out to an external browser mid-funnel, and keep the whole journey on one domain.
Use the Meta plugin
Install Facebook for WordPress (official) and in its settings turn on Conversions API with Automatic Advanced Matching. Check it supports your form plugin or WooCommerce.
Confirm in Events Manager
Look for events labelled Server and deduplicated.
Use the Facebook & Instagram channel
In Shopify admin, open Sales channels, then Facebook & Instagram, then Data sharing, and choose the maximum level, which includes the Conversions API.
Check Events Manager
Confirm Purchase shows both Browser and Server.
Use a server container
Set up a server-side GTM container and add a Meta Conversions API tag, or use a web tag that forwards to it.
Reuse the event_id
Create a data layer variable for event_id and pass it to both the Pixel tag and the CAPI tag.
Send form data to a server endpoint
Use a webhook or an automation tool to receive form submissions and post a Lead event to the Conversions API with the same event_id as the browser event.
Use the Facebook Conversion API option
In your workflow or funnel settings, look for the Facebook Conversion API integration (the name and location depend on your version) and connect your Pixel and token.
Connect Meta in Marketing integrations
In Wix, open Marketing Integrations, connect Facebook Pixel and Conversions API, and choose the events to send.
Check the built-in option
Squarespace supports the Meta Pixel in Marketing settings. If server-side sending is not offered on your plan, send events from a form handler or automation tool.
Post to the Graph API
From your backend, send a POST to the Pixel's /events endpoint with the same event_id. See the snippet below.
// Browser
const eventId = crypto.randomUUID();
fbq('track', 'Lead', {}, { eventID: eventId });
// Send eventId with the form post, then on the server (Node 18+):
await fetch('https://graph.facebook.com/v19.0/PIXEL_ID/events?access_token=ACCESS_TOKEN', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
data: [{
event_name: 'Lead',
event_time: Math.floor(Date.now() / 1000),
event_id: eventId,
action_source: 'website',
event_source_url: 'https://example.com/thank-you',
user_data: { em: [hashedEmail], fbc: fbc, fbp: fbp, client_user_agent: userAgent }
}]
})
});How to confirm it's fixed
- Repeat the in-app test on iPhone and Android and see the conversion in Test events.
- The event shows as received from both Browser and Server, and is deduplicated.
- Server events include fbp, and fbc when the visit came from an ad click.
- Event Match Quality improves in Events Manager over the following days.
- Meta's reported leads sit closer to your CRM count for the same dates.
Pixel only
- Events lost when the webview blocks or closes early
- Meta under-counts conversions
- Poor matching without cookies
Pixel + Conversions API
- Server sends the event even if the browser fails
- Deduplicated by event_id
- Email and phone improve matching
How to prevent it happening again
- Test new landing pages inside Instagram and Facebook before launching ad spend.
- Review Events Manager diagnostics weekly for drops in Browser or Server events.
- Compare CRM leads with Meta Lead counts each month.
- Re-test after app updates, theme changes or new consent tools.
- Keep your Conversions API access token valid and documented.
How FunnelGuard handles this
FunnelGuard does not check this yet. Its robot visitor does not currently use an Instagram or Facebook in-app browser user agent, so it cannot reproduce what happens inside the apps. An in-app check is a possible future addition.
What FunnelGuard does check nearby: it runs your real journeys on a schedule, and confirms that the Meta tracking hits are sent on a normal browser run and that test leads reach your inbox and CRM. That tells you the Pixel and your form basically work, so a gap that only appears for in-app visitors points to this issue. Failures are re-checked from a second region before one alert is sent.
Until then, watch for it manually: run the in-app test above after each change, compare Browser and Server counts in Events Manager, and compare Meta conversions with your CRM. You can start with the free plan (1 site, 2 journeys, daily checks, no card) or ask for the free read-only website audit.
Questions people ask
Why is my Meta Pixel not firing in the Instagram browser?
The Instagram in-app browser is a webview with its own cookie storage and loading behaviour. Scripts can be blocked or interrupted, cookies may not be saved, and the visitor can close the page before the event is sent. Sending the event through the Conversions API as well makes it reliable.
Do Instagram and Facebook in-app browsers block the Meta Pixel?
Not always, and it varies by app version, operating system and the visitor's privacy settings. Some events get through and some are lost. Test on real iPhone and Android devices to see what happens on your own pages.
How do I test my Meta Pixel in the Instagram in-app browser?
Open Events Manager, go to Test events and copy your test code. Then send yourself your page link in Instagram or Messenger, tap it so it opens in the app, complete the form and see which events appear. Compare with the same journey in Chrome or Safari.
Does the Conversions API fix in-app browser tracking?
It fixes most of the loss because the event is sent from your server and does not depend on the webview running the Pixel. You must send the same event_id from both sides so Meta deduplicates, and pass fbp, fbc and hashed customer data for good matching.
Why do my Meta conversions not match my CRM leads?
Common reasons are in-app browser loss, ad blockers, consent choices, duplicate or missing events and attribution windows. Check Browser versus Server counts in Events Manager and test the in-app journey to see whether the webview is part of the gap.
Should I send people out of the in-app browser to Chrome or Safari?
Usually no. A forced switch creates a new session without the original cookies and can lose attribution. It is better to keep the visitor on one page and domain and make tracking work server-side.
Does FunnelGuard detect in-app browser pixel problems?
No, not yet. FunnelGuard does not currently run its checks with an Instagram or Facebook in-app user agent. It does check your funnels and Meta tracking hits in a normal browser run, so it can show whether the basic setup works.
Related issues
- TRK-186_fbp cookie not setFix guide
- TRK-187_fbc cookie not set after fbclid landingFix guide
- TRK-188fbclid stripped by redirectFix guide
- TRK-178event_id missing on browser eventsFix guide
- TRK-179CAPI not deduplicating with browser event (event_id mismatch)Fix guide
- TRK-180CAPI events missing entirelyFix guide