Skip to content

Unraveling the Mystery of Facebook's Eerily Accurate Ads

Posted on:March 18, 2025 at 03:22 PM

Introduction

How Facebook’s Ads Seem to Read Your Mind

Have you ever wondered why Facebook ads feel eerily accurate—almost too accurate? I had the same question for a while but never found the time to explore it. When I finally did, I realized that most of the available information was fragmented—making it hard to see the full picture. Recently, I took the time to dive deep into the mechanics of Facebook ads. By piecing together insights from multiple sources, I built a clear mental model of how everything works—and now, I’m sharing it with you.

Note

Facebook allows us to export a copy of data advertisers share about our activity on their platform with Facebook. I have exported my data in HTML form and shared its screenshots in the article. you can do it as well by exporting the data in Json form instead of HTML, converting it to CSV and perform your analysis either by sharing it with ChatGPT and use its data analysis tool Follow these steps if you want to perform the same analysis as I have done.

https://accountscenter.facebook.com/info_and_permissions > Your activity off Meta technologies > Recent Activity > Recent activity | Click on any business who has sent some data > Transparency > [num] interactions shared with us > download activity details > download or transfer information > select all (or choose one platform) > Next > Specific Types of information > Under Apps and websites off Facebook section (Apps that you own and activity that we receive from apps and websites off Facebook ) check Apps and websites off Facebook checkbox, under Ads information section check Ads information > Next > Next profile Instagram choose Apps and websites off Instagram > Apps and websites off Instagram click on Apps and websites off Instagram >Next > For data range select all time, for format choose HTML if you are non technical, choose JSON otherwise if you want to get raw data and analyze it yourself > Create Files, you can also setup scheduled transfers of this data to DropBox or Google Drive.

The Secret Behind those creepy Ads

Almost every website and mobile applications share our activities on their respective platform with Facebook through either a script on website called Meta Pixel, mobile SDKs or/and their Server-Side API. So, if you visit a website, it will share the exact URL you visited. If you buy the Netflix subscription, Netflix will share this data with Facebook.

Netflix sharing my subscription data with Facebook

If you use a ride hailing service like Careem( A subsidary of Uber), that ride hailing service will share when I open their app and book a ride with facebook.

Ride hailing service Careem sharing when I book a ride

If you order food online, that app will share what products you add to cart and buy with Facebook.

Food Delivery Service Foodpanda sharing what I order

These are all the companies sharing my data with facebook

Company NameTotal Events SentTop Event by CountFirst Event DateLast Event Date
MongoDB885CUSTOM2023-07-182024-12-11
Indeed506CUSTOM2023-04-052024-01-01
inDrive. Save on city rides116CUSTOM2023-09-092024-11-07
LinkedIn: Jobs & Business News100ACTIVATE_APP2023-09-092024-06-01
Careem – rides, food & more76ACTIVATE_APP2023-09-142025-02-13
Spotify: Music and Podcasts74CUSTOM2023-09-152025-03-07
Opera Browser59ACTIVATE_APP2024-02-092025-02-04
inDrive - Book a Safe Car Ride57CUSTOM2024-11-102025-03-06
Opera browser with AI42ACTIVATE_APP2023-09-182024-01-06
upwork.com36CUSTOM2024-03-062025-02-04
foodpanda: food & groceries34LEVEL_ACHIEVED2023-09-092025-01-31
Firefox Fast & Private Browser31ACTIVATE_APP2023-09-092023-09-18
NayaPay19ACTIVATE_APP2024-05-152024-12-13
Cloudflare, Inc.16PAGE_VIEW2024-03-282024-06-16
Yango — different from a taxi13ACTIVATE_APP2024-10-182024-12-16
Yango: taxi, food, delivery9ACTIVATE_APP2025-01-012025-01-29
DealCart - Grocery Shopping7ACTIVATE_APP2023-10-012023-10-06
Krave Mart - Grocery Delivery6ACTIVATE_APP2023-11-032024-02-09
ticketwala.pk5PAGE_VIEW2025-01-082025-01-13
Bing: Chat with AI & GPT-45ACTIVATE_APP2023-09-102023-12-06
hbl.com3VIEW_CONTENT2025-02-112025-02-11
My Telenor3CUSTOM2025-01-102025-02-03
Shopify3START_TRIAL2024-01-252024-01-25
MAF Carrefour Online Shopping3ACTIVATE_APP2023-10-012023-10-01
mistore.pk3VIEW_CONTENT2023-10-012023-10-01
Blinkist: Big Ideas in 15 Min3ACTIVATE_APP2023-09-102023-09-16
springs.com.pk2PAGE_VIEW2024-12-192025-01-07
Springs Mart2PAGE_VIEW2024-12-172024-12-21
Temu: Shop Like a Billionaire2CUSTOM2024-12-142024-12-20
netflix.com2CUSTOM2024-09-272024-09-27
matwproject.org.uk2VIEW_CONTENT2024-03-312024-04-01
doola.com2PAGE_VIEW2023-12-192023-12-19
Wondershare EdrawMind MindMap2CUSTOM2023-11-062023-11-20
Be Good Pakistan2PAGE_VIEW2023-11-182023-11-18
begood.pk2VIEW_CONTENT2023-11-182023-11-18
taiwantrade.com2PAGE_VIEW2023-10-102023-10-10
Adobe Acrobat Reader: Edit PDF2ACTIVATE_APP2023-09-182023-09-29
IQAir AirVisual2CUSTOM2023-09-272023-09-27
futurism.com2PAGE_VIEW2023-06-272023-06-27
bata.com.pk1VIEW_CONTENT2025-02-182025-02-18
sehatyab.com1PAGE_VIEW2025-01-292025-01-29
oneindia.com1PAGE_VIEW2024-11-232024-11-23
alignerr.com1PAGE_VIEW2024-09-282024-09-28
uwaterloo.ca1PAGE_VIEW2024-09-272024-09-27
remarkable.com1PAGE_VIEW2024-09-262024-09-26
adminjs.co1PAGE_VIEW2024-09-262024-09-26
openinapp.co1VIEW_CONTENT2024-07-262024-07-26
Adobe1PAGE_VIEW2024-07-042024-07-04
10times.com1PAGE_VIEW2024-05-162024-05-16
searchenginejournal.com1PAGE_VIEW2024-03-102024-03-10
thesocialmanquiz.com1PAGE_VIEW2024-03-052024-03-05
atlassian.com1PAGE_VIEW2024-02-192024-02-19
Datadog1PAGE_VIEW2024-02-192024-02-19
Hotjar1CUSTOM2024-01-282024-01-28
investing.com1PAGE_VIEW2023-11-202023-11-20
manascookieco.com1PAGE_VIEW2023-11-182023-11-18
foodpanda.pk1CUSTOM2023-11-022023-11-02
reuters.com1PAGE_VIEW2023-10-132023-10-13
streaks.ai1PAGE_VIEW2023-10-062023-10-06
Al Fatah Online1ACTIVATE_APP2023-10-012023-10-01
appnebula.co1PAGE_VIEW2023-09-302023-09-30
shopgroove.pk1VIEW_CONTENT2023-09-262023-09-26
Daraz Online Shopping App1CUSTOM2023-09-232023-09-23
gazbofashion.com1PAGE_VIEW2023-09-102023-09-10
autogpt.net1PAGE_VIEW2023-09-042023-09-04
hiddenremote.com1PAGE_VIEW2023-08-292023-08-29
kylebenjaminturner.com1PAGE_VIEW2023-08-252023-08-25
hamzads.com1PAGE_VIEW2023-08-252023-08-25
7figureemailsystem.com1CUSTOM2023-08-252023-08-25
adobe.com1PAGE_VIEW2023-08-192023-08-19
moboreader.com1CUSTOM2023-08-192023-08-19
loom.com1PAGE_VIEW2023-08-082023-08-08
Netflix1PURCHASE2023-07-012023-07-01
nature.com1CUSTOM2023-06-272023-06-27
moltyfoam.com.pk1PAGE_VIEW2023-06-222023-06-22
insider.com1PAGE_VIEW2023-06-212023-06-21
space.com1PAGE_VIEW2023-06-192023-06-19
bizjournals.com1PAGE_VIEW2023-06-162023-06-16
appsumo.com1PAGE_VIEW2023-06-152023-06-15
saasmaster.link1PAGE_VIEW2023-06-152023-06-15
fullers.co.uk1PAGE_VIEW2023-06-032023-06-03
Wortspaß mit Freunden1CUSTOM2023-05-302023-05-30
xbox.com1PAGE_VIEW2023-05-202023-05-20
thedailybeast.com1PAGE_VIEW2023-04-232023-04-23
ladbible.com1CUSTOM2023-03-242023-03-24
thenation.com1PAGE_VIEW2023-03-202023-03-20
bigthink.com1PAGE_VIEW2023-03-172023-03-17
windowscentral.com1CUSTOM2023-03-142023-03-14

Facebook does not share all the data these advertisers share with Facebook which includes more granular details about each tracking event like name and pricing of products.

Since I live in Pakistan, most are local businesses but if you analyze your own data, this table would be different.

In general, not are we just being tracked by almost every website and app we visit, but the more serious problem is the centralization of this data by individual players like Facebook and Google. Facebook knows which products I buy, which apps I use, what food do I order online and which streaming platforms I use.

How Facebook Connects Tracking Data to You

How does Facebook link all the events sent from different platforms back to you? The answer is third-party cookies (on the web), the Android Advertising ID (for Android), and Apple’s Identifier for Advertisers (IDFA) (for iOS). However, with iOS 14.5, Apple introduced App Tracking Transparency (ATT), requiring apps to ask users for permission before tracking their data across other apps and websites owned by companies like Facebook. While the tracking methods vary, they all serve the same purpose: identifying you across different apps and websites.

If you use multiple devices and stay logged into Facebook on all of them, Facebook can now track you across devices. For example, it can see what you searched for on your laptop and then track your browsing on mobile.

But tracking doesn’t stop online. Many brick-and-mortar stores share customer details with Facebook—even if you never even visit their website. I personally avoid sharing my contact details at physical stores, which might be why I don’t see this data linked to me. Facebook even provides extensive documentation on how businesses can track “offline” events.

What still doesn’t make sense to me, though, is how websites continue to track me despite my use of multiple privacy tools like uBlock Origin (which recently stopped working), Privacy Badger, and Firefox on mobile.

Retargeting ads

Ever searched for a product online, clicked on a website, and browsed a few items—only to start seeing ads for those same products everywhere? That’s retargeting.

Here’s how it works: When you visit a website and view a product, that website shares your activity (such as product views or items added to cart) with Facebook. Facebook shares this data back with advertisers about people who have added products in their cart but have not bought them. Advertisers can then define an audience based on this criteria and run a new campaign to remind people to buy items in their cart. They can also just target people who have clicked on their ad previously but didn’t buy.

Why businesses share our data with Facebook?

Businesses share our data with Facebook to improve ad targeting and retargeting, the more data they share, the more facebook knows about us and it lowers their customer acquisition cost. So, everyone is incentivized to share more and more data about us with facebook. Facebook uses this data to continuously optimize its ads.

Circumventing Ad blockers

If you think you can block this tracking by using browser extensions? it does noy work, I use two browser extensions, u block origin and privacy badger but how am I still getting tracked?

Server Side Tracking

The concept is simple: Ad blockers prevent tracking by blocking network requests from websites to known tracking URLs like Facebook. They also block third-party cookies, which are commonly used for tracking.But what if, we send conversion data directly from our server to Facebook? For example, when a user clicks a link or adds a product to their cart on my website, a javaScript script sends this data to an API hosted on my domain and then my web server forwards it to facebook instead.

Since this data transfer to trackers happen between servers, not in the browser, ad blockers running on a user’s device can’t detect or block it because my domain is not a known tracker.

Replacement for third party trackers?

While Server-Side Tracking bypasses ad blockers, it doesn’t fully replace third-party cookies when it comes to tracking users across different websites and apps. Identifying users across domains is much simpler with cookies. Additionally, it can’t track conversions unless the user arrives at your website from a Facebook ad—otherwise, you could just pass a query parameter in the URL and send it to Facebook.

So, what is Facebook relying on now?

Your personally identifiable information (PII) — such as your email, phone number, and even IP address. When you make a purchase and the website shares your email with Facebook, Facebook can match it against its database and attribute the purchase to you.

This method also enables Facebook to track offline purchases. If you buy something in a physical store and provide your email or phone number (e.g., for a receipt or loyalty program), that business is likely to share this data with Facebook, linking your offline activity to your online profile.

Hashing – An Illusion of Privacy?

Facebook requires advertisers to hash personally identifiable information (PII), such as your email and phone number, before sharing it. Hashing is a one-way process, meaning if I share my hashed email with you, you can’t reverse it to reveal my actual email.

However, the reality is different in Facebook’s case. Since Facebook already has both your raw email and its hashed version, matching new data points to your profile is trivial. If a website shares new information along with your hashed email, Facebook can easily link it back to you. The only potential issue is hash collisions, but with SHA-256, these are highly unlikely. Additionally, Facebook explicitly instructs advertisers not to hash IP addresses, which can further help resolve any collisions.

Looking at my own data, I found that several businesses share my hashed email and/or phone number with Facebook. For example, Adobe appears to be excluding me from their ads—likely because I’ve already signed up for one of their services, making additional ads unnecessary.

Businesses shared my (hashed) email with Facebook)

Deleting facebook does not stop the tracking

Many privacy-conscious users delete Facebook, assuming it stops tracking—but this misunderstands how modern tracking works.

Websites share data with Facebook whether you have an account or not. Here’s how:

  1. You visit Website A, which loads an image or script from Facebook. This saves a cookie in your browser.
  2. Later, you visit Website B, which also loads a resource from Facebook. Now, the cookie from Website A is shared with Website B.

This is how third-party cookies work, enabling Facebook to track users and even create shadow profiles of people who never signed up for an account.

A similar method is used by mobile apps, which share device identifiers instead of cookies.

And it’s not just Facebook—there’s an entire industry operating in the shadows:

These companies build detailed user profiles, then either sell real-time data to brokers or sell ad space directly to advertisers. In short, tracking extends far beyond Facebook—and quitting the platform doesn’t mean you’re invisible.

Device Fingerprinting with First party storage

This is purely hypothetical—I have no evidence that Facebook is actively using this method. However, I’ve been testing it and have seen mixed results.

Server-side tracking and hashed PII can link your interactions on a website only when you’re logged in. (You might notice an increasing number of websites asking you to log in unnecessarily in the coming months.) But Facebook can’t track anonymous actions and tie them back to you—unless it uses a different approach.

One possible method is browser fingerprinting, which allows websites to generate a unique identifiers for your device. A script (like Facebook Pixel) could create this fingerprint and store it as a first-party cookie. The website could then send this cookie with every interaction.

Fingerprinting is already used by many websites but I don’t know if any advertising pixel is using it in a first party context. That is, the fingerprinting script is hosted on the merchant’s domain which calculates a unique identifier for each device regardless of the merchant. If multiple websites use this tracking method, they would generate the same device identifier. Since websites share their conversion data with a single platform (e.g., Facebook), this theoretical tracking system could invisibly track users across the internet—even without third-party cookies.

Currently, no ad blocker can stop this. The only real protection would have to come from browser-level defenses against fingerprinting.

Conclusion

I just wanted to share this for anyone looking to understand how Facebook ads work but struggling to find a clear resource to build a solid mental model.

I hope you found it valuable! That said, I’m not an expert in Facebook marketing, so if you spot any factual errors, please let me know—I’m always open to learning and correcting mistakes.

If you have any questions or feedback, feel free to reach out at [email protected] .