Cookie preferences

Choose which optional cookies EndFrame may use on this site. Analytics and advertising tools load only if you allow them, and you can change your mind any time from “Cookie settings” in the footer. Whatever you choose, this tab keeps the campaign labels from the link that brought you, and they are saved with your account if you sign up. Read the Cookie Policy.

Needed for the site to work, such as remembering this choice. Always on.

Lets us load analytics tools through Google Tag Manager, including Google Analytics and Microsoft Clarity session recordings, to understand how the site is used.

Allows advertising tags to measure our ad campaigns. None run on this site today. It also keeps ad click IDs from the page address for this tab, and saves them with your account if you sign up.

Skip to main content

In-App Browsers (Instagram, Facebook, TikTok) and What They Do to Your Tracking

A large share of social ad clicks never reach the visitor's normal browser. This guide explains what in-app browsers are, why they split one customer into two visitors, what Meta, TikTok and WebKit document about them, and the practical steps that keep attribution intact.

The EndFrame Team5 min read

Your Instagram and TikTok campaigns drive plenty of clicks, but the conversions they report look thin, and GA4 shows a suspicious amount of direct traffic buying the same products you advertised. A big part of the explanation is the in-app browser. When someone taps a link inside a social app, the page usually opens inside that app rather than in Safari or Chrome. That small detail changes how cookies, click IDs and attribution behave for the rest of the journey.

What an in-app browser is

An in-app browser is a web view built into another app. Instagram, Facebook, TikTok, LinkedIn and many email and messaging apps use one so that links open without leaving the app. On iOS these are built on Apple's WebKit engine; on Android they are typically built on the system web view. To the visitor it looks like a normal browser with a slim toolbar. To your tracking it is a separate browser with its own storage.

Apple's WebKit team has written about this directly. In its post introducing App-Bound Domains, WebKit explains that apps embedding web content in a WKWebView can monitor users across the sites they visit, and introduced a way for apps to opt in to limits on script injection and cookie access. The same post recommends SFSafariViewController, which runs outside the app, as the better choice for protecting user data. Whether a given social app uses those limits is its own choice, and that can change between app versions.

Because the in-app browser has its own storage, the visitor usually arrives there as a stranger to your site: not signed in to their account, without the basket they built last week in their main browser, and without whatever they had previously agreed to on your consent banner. They will see the banner again, and if they dismiss or decline it, any tags that wait for consent will not fire for that session. That is not a fault in your setup, but it is worth knowing when in-app sessions show lower tracked conversion rates than the same campaign's clicks would suggest.

Why it splits one customer into two visitors

The cookies your site sets during a visit in the Instagram browser belong to that web view, not to Safari or Chrome on the same phone. The typical journey looks like this.

  1. 1The visitor taps your ad in Instagram. The landing URL carries fbclid and your UTMs, and the page opens in Instagram's browser.
  2. 2Your tracking stores the click ID and campaign data in cookies inside that in-app browser.
  3. 3The visitor browses, adds to basket, then closes the app.
  4. 4That evening they type your address into Safari, or search for your brand, and buy.
  5. 5Safari has none of the earlier cookies. The purchase looks like direct or organic traffic, with no click ID to send back to Meta.

Nothing broke. Both browsers did exactly what they were designed to do. The result is still a conversion that analytics credits to the wrong channel and that the ad platform cannot attribute through browser cookies. This is one of the quieter reasons direct traffic looks so high in GA4.

What the platforms document about click IDs

PlatformClick ID on the landing URLWhat the docs say to do with it
MetafbclidFormat it as fbc and store it, either as an _fbc cookie or in your own backend, then send it with Conversions API events
TikTokttclidThe TikTok Pixel stores it as a first-party cookie; you can also read it from the URL and send it with Events API calls

Meta's documentation on the fbp and fbc parameters describes both options, including storing the formatted click ID on your server rather than only in a cookie. That server-side option matters for in-app traffic: a value stored in your backend against a lead or customer record survives even when the browser that saw the click is gone. Our explainer on fbclid, fbc and fbp covers the formats.

Cookie limits still apply inside the session

Even within the in-app browser, cookies may not last as long as you expect. WebKit's tracking prevention documentation describes Safari capping cookies set by JavaScript on a landing page reached through a link with click identifiers to 24 hours, and deleting script-writable storage after seven days without interaction. How those rules apply inside a particular app's web view depends on how that app configures it, so do not assume an in-app session will be recognised on a return visit days later. Our guide to Safari ITP and cookie lifetime explains the Safari rules in detail.

What you can do about it

  • Capture click IDs and UTMs on the first page view and store them server-side against the visitor, not only in browser cookies.
  • Ask for an email address early where it fits naturally, for example a discount sign-up or a saved basket. A known email links the in-app session to a later purchase in any browser.
  • Send conversions through server-side APIs with hashed email and phone, so the platform can match the purchase to the person even without the original browser cookies.
  • Keep the path short. Every extra step inside an in-app browser is a chance for the visitor to leave and come back somewhere else. Wallet payments and guest checkout help.
  • Make basket and account links work across browsers, for example a basket recovery email, so a visitor who switches browser can pick up where they left off.
  • Segment in-app traffic in your reports so you can see its conversion rate separately rather than averaging it into everything else.

None of this restores every lost conversion, and no honest tool can promise that. It narrows the gap by giving the platforms identifiers that survive the browser switch. When platform numbers and analytics still disagree, our guide to Meta Ads and GA4 conversion discrepancies covers the other reasons, and our comparison of server-side and client-side tracking explains why server delivery is less exposed to browser behaviour.

Testing your own site in an in-app browser

Post a tagged link to a private story, a direct message to yourself, or a test ad, and open it from inside each app you advertise on. Check that the UTMs and click ID survive any redirect, that your consent banner works and does not cover the checkout button, that forms submit, and that your conversion events reach each platform's test tool. Then try the browser switch: open the same site in Safari or Chrome and confirm what your tracking does and does not know about you.

Where EndFrame fits

EndFrame captures click IDs, UTMs and form submissions on the first visit and stores them against the visitor on the server, then delivers conversions to Meta's Conversions API, GA4 and TikTok's Events API with hashed identifiers, so less of the attribution depends on cookies inside a single in-app browser.

Frequently asked questions

How can I tell how much of my traffic uses in-app browsers?

GA4's browser dimension often shows in-app traffic under values such as Safari (in-app) or Android Webview, and your server logs record user agent strings that usually identify the host app. Compare those segments with landing pages from social campaigns to see the share for your own site.

Should I force visitors to open my site in their normal browser?

Be cautious. Tricks that try to break out of the in-app browser are unreliable, can change without notice, and add friction at the point the visitor showed interest. You will usually get more from making the in-app session count: capture identifiers early, keep checkout short, and use server-side conversion delivery.

Do in-app browsers block the Meta Pixel or TikTok Pixel?

The platforms' own documentation does not describe their in-app browsers blocking their own pixels. The bigger issue is continuity: whatever the pixel stores in the in-app browser stays there, so a later purchase in a different browser cannot be linked to it by browser cookies alone.

Try EndFrame

Add a server-side path for your conversions.

EndFrame collects events first-party and forwards conversions server-side to Meta, GA4, TikTok, and webhooks with event-ID deduplication — then credits each conversion to its campaign, with the visit-to-conversion path you can audit.

No credit card required

Keep reading