Facebook and Instagram In-App Browser Tracking: Privacy Risks and How to Protect Yourself in 2026
Security researcher Felix Krause reveals that Facebook and Instagram use embedded browsers in their apps to track user activity on third-party sites, posing privacy risks. This article examines how these browsers work, the information they collect, and how Apple’s ATT helps to protect iOS users' data.
Ozan Ucar, Founder and CEO of Keepnet
Facebook and Instagram applications use embedded browsers that automatically open when you click on external links within the app, rather than opening your default browser. This behavior allows Meta to inject JavaScript code into visited websites, enabling tracking of user interactions including form inputs, button clicks, and purchases made on external sites. The practice was first documented in detail by security researcher Felix Krause in August 2022. By 2026, this tracking approach has attracted regulatory scrutiny under the EU Digital Markets Act (DMA), GDPR enforcement actions, and US state privacy laws. Meta was fined over 1.2 billion euros by Ireland's Data Protection Commission in 2023 in a related data transfer case, and regulators continue to examine the in-app browser's data collection practices.
Why Embedded Browsers are Used
Typically, when you click on a link within an app, it opens in a default web browser. However, Facebook and Instagram create a built in browsing experience by embedding an internal browser to display these sites. While this approach offers a seamless in app experience, it also allows the apps to run custom JavaScript code on any third party websites you visit through these browsers. This technique lets the host app observe user interactions such as clicks, scrolls, and even sensitive input like credit card information.
What Information Facebook and Instagram Can Track
When using the in app browser, Facebook and Instagram gain the ability to monitor a wide range of user interactions, including:
- Passwords entered on login pages,
- Home addresses or other sensitive details filled out in forms,
- Credit card information during online purchases,
- On screen selections or menus clicked, and
- Text inputs in any form fields.
This capability allows Facebook and Instagram to collect extensive user data, tracking your digital footprint across different websites without requiring your explicit consent.
The Role of JavaScript in Data Collection
Facebook and Instagram achieve this data collection by injecting JavaScript code into the web pages loaded through their embedded browsers. This script can track user interactions on these external sites. Any data entered on a page viewed in the in app browser can potentially be captured and sent back to Facebook or Instagram, allowing them to collect data about your browsing habits and behavior.
For example, if you click on an ad within Instagram and complete a purchase on the advertiser’s website, Facebook may collect information about that transaction directly through the embedded browser.
Apple’s Response: App Tracking Transparency (ATT)
To protect user privacy, Apple released the App Tracking Transparency (ATT) framework in iOS 14.5, requiring apps to request user permission before tracking activity across other companies' apps and websites. Meta reported a significant impact on its advertising revenue following ATT's rollout, estimating a $10 billion annual revenue reduction. However, ATT does not prevent in-app browser JavaScript injection, which operates within the app's own context. In 2025, Apple introduced additional privacy protections in iOS 18 that further restrict cross-app tracking, but the in-app browser data collection mechanism remains a separate privacy concern that ATT alone does not address.
How ATT Works to Block Data Collection
ATT requires that apps:
- Request permission from users before tracking them across third party websites.
- Offer transparency about the types of data they wish to collect and for what purpose.
If a user declines tracking, iOS restricts the app’s ability to gather data about their activity on other sites, providing users with more control over their privacy.
Despite ATT, however, Facebook and Instagram can still track user interactions within their embedded browsers, as this monitoring occurs directly in the app rather than across external applications. Therefore, while ATT mitigates some privacy concerns, embedded browsers remain a loophole for in app data collection.
How to Protect Yourself from In App Browser Tracking
Given the potential privacy risks, here are some steps to safeguard your data when using apps like Facebook and Instagram:
- Avoid clicking on external links within the app if possible.
- Copy links and open them in a separate browser like Safari or Chrome.
- Use iOS settings to manage permissions, opting out of app tracking requests when prompted.
- Stay informed about how apps collect and use data by regularly reviewing app privacy policies
While ATT has provided a layer of protection against cross-app tracking, users must still take active steps to protect their data when using in-app browsers. In 2026, privacy-conscious users should open external links in dedicated privacy-focused browsers, disable Meta's in-app browser where app settings allow, limit the personal information entered in pages accessed through social media apps, and review Meta's privacy settings to restrict data collection. Organizations should include in-app browser privacy risks in employee mobile security training, particularly for staff who access sensitive business information from mobile devices.
Editor's Note: This article was updated on June 1, 2026.