Find a course

Module 1: What Is a Digital Footprint?Lesson 2 of 814 min

How Your Data Gets Collected

See how cookies, trackers, location data and photo metadata collect information about you, how data brokers trade it, and why free apps aren't really free.

Step 1 of 11Learn

The shoes that followed you

You look at a pair of sneakers on a store's website for about thirty seconds. You don't buy them. Over the next week, those exact sneakers show up in ads on a gaming site, a news site, a video app and your social feed. It feels like the sneakers are following you around the internet.

They sort of are. Behind almost every website and app is a set of tools whose job is to recognize you, record what you do, and connect it to what you did elsewhere. That's how advertisers know you looked at those sneakers.

The main tools are:

  • Cookies: small files a website stores in your browser to remember you.
  • Trackers and pixels: tiny pieces of code from advertising and analytics companies embedded in many websites and apps, which report your visits back to those companies.
  • Device identifiers and fingerprinting: ways to recognize your phone or computer from its settings, even without cookies.
  • Location data from your phone's GPS, Wi-Fi and cell towers.
  • Account data: everything you do while logged in to a big platform.

None of this is secret, exactly. It's described in privacy policies and cookie banners that almost nobody reads. In this lesson, you'll find out how each tool works, so you can make smarter choices about what to allow.

How ads follow you: you view sneakers, a tracker records the visit, an ad network adds it to your profile, and the sneakers appear in ads on other sitesYou view sneakerson a store siteA tracker on thepage records itAd network adds itto your profileSame sneakers in adson other sitesThird-party trackers connect your visits acrossdifferent sites

Step 2 of 11Learn

Cookies: first-party and third-party

A cookie is a small piece of data a website saves in your browser. Cookies themselves aren't evil. They're what keep you logged in, remember what's in your shopping cart, and save your settings like dark mode or language.

The important difference is who sets the cookie:

  • First-party cookies come from the site you're actually visiting. When you visit a store, the store's cookie remembers your cart. Mostly useful and expected.
  • Third-party cookies come from other companies whose code is embedded in the page, usually ad networks and analytics services. Because the same ad company's code appears on thousands of sites, its cookie can recognize you on all of them and build a profile of your browsing across the web.

That's the sneaker effect: the store page included code from an ad company, which noted your visit, then recognized you when you went to other sites that use the same ad company.

Some browsers, such as Safari and Firefox, block many third-party cookies by default, and privacy laws in places like the European Union require websites to ask before setting non-essential cookies. That's why you see so many cookie banners. When you see one, look for options like Reject all or Necessary only. Choosing them still lets the site work while cutting down on tracking.

Step 3 of 11Practice · Sort into groups

Is each cookie most likely first-party or third-party?

Tap an item, then tap its group (or drag it there).

Step 4 of 11Compare

First-party vs third-party cookies

AspectFirst-party cookieThird-party cookie
Who sets itThe site in your address barAnother company with code on that page, often an ad network
Typical jobKeep you logged in, remember your cart and settingsRecognize you across many sites to build an ad profile
Follows you to other sites?NoYes, wherever that company's code runs
If you block itSites may log you out or forget settingsMost sites still work normally

Step 5 of 11Learn

Location data and photo metadata

Your phone almost always knows where it is, using GPS, nearby Wi-Fi networks and cell towers. Apps you give location permission to can record that position, sometimes many times an hour. Over weeks, location data reveals a lot: where you live (where your phone is every night), your school, your friends' houses, your job, the gym, the doctor, your place of worship. Researchers have shown that just a few location points are often enough to identify a specific person in a supposedly anonymous dataset.

Photos carry a hidden layer too. Most phone cameras save metadata, often in a format called EXIF, inside each photo file: the date and time, the phone model and, if location is on for the camera, the exact GPS coordinates where it was taken. Many big social platforms strip this data when you upload, but not every app, website or file-sharing method does. Sending an original photo file can share the exact location of your house.

To reduce location leaks:

  • Give apps location access only while using the app, and use approximate location when precise isn't needed.
  • Turn off location for your camera if you don't need it, or remove location before sharing.
  • Check which apps have location permission in your phone's privacy settings, and remove ones that don't need it.
  • Be careful with map features that show friends where you are in real time.
What weeks of location data can reveal: home, school, friends' houses, job, doctor and place of worshipYour phone'slocationHome(where it sleeps)SchoolFriends'housesDoctorPlace ofworshipJob or gym

Step 6 of 11Practice · What would you do?

What would you do?

Sam takes a photo of a new puppy in the backyard and emails the original file to an online pet contest run by a small website. Sam's camera has location turned on. What risk is Sam taking, and what's a safer move?

Step 7 of 11Learn

Data brokers and the business of free

Most of the apps you use every day are free. Building and running them costs huge amounts of money, so how do they pay for it? Mostly through advertising, and advertising pays more when ads can be targeted at people likely to respond. Your attention and your data are what makes that possible. A common saying sums it up: if you're not paying for the product, you might be the product.

Platforms use your activity to build an interest profile: your age range, interests, the kinds of videos you watch, places you go, things you might buy. Advertisers then pay to show ads to people matching certain profiles.

Beyond the apps themselves, there's a whole industry of data brokers: companies that collect, buy and combine information about people from many sources, including public records, loyalty cards, app data, location data and online activity, then sell profiles or lists to marketers and others. Most people have never heard of the brokers that hold information about them.

You can see a slice of this yourself. Many platforms have an ad preferences or Why am I seeing this ad? page showing the interests they've guessed for you. Looking at it can be surprising, sometimes funny, and sometimes a little unsettling.

In the US, a federal law called COPPA limits how websites collect personal data from children under 13 without parental consent, which is why many apps require users to be at least 13.

The business of free apps: you use a free app, your activity builds an interest profile, advertisers pay to target that profile, and the money pays for the appYou use afree appYour activityis recordedInterest profileis builtAdvertisers payto target itMoney keeps theapp runningFree?

Step 8 of 11Note

Step 9 of 11Practice · Match the pairs

Match each tracking tool to how it works.

Tap an answer, then tap the place where it belongs (or drag it there).

  1. Third-party cookie
  2. EXIF metadata
  3. Data broker
  4. Interest profile

Step 10 of 11Practice · Select all that apply

Which steps reduce how much passive data is collected about you? Select all that apply.

Select all that apply.

Step 11 of 11Practice · Choose one

Why do the sneakers you looked at once seem to follow you onto other websites?