Find a course

Module 2: How Tracking WorksLesson 3 of 1112 min

Cookies, Pixels and Fingerprinting

Understand first- and third-party cookies, tracking pixels and browser fingerprinting, and learn which browser settings really reduce tracking.

Step 1 of 12Learn

Why the shoes follow you

You look at a pair of hiking boots on a store website, leave without buying, and for the next week those boots appear in ads on news sites, recipe blogs and social media. That isn't a coincidence. It's tracking.

A cookie is a small text file a website asks your browser to store. When you return, the browser sends it back, so the site recognizes you. That's how a site keeps you logged in and remembers your cart. These are first-party cookies, set by the site you're actually visiting, and most of them are useful.

A third-party cookie is set by a different company whose code is embedded in the page, usually an ad network or analytics service. If the same ad network's code sits on the boot store, the news site and the recipe blog, its cookie lets it recognize your browser on all three. It can then build a history of your visits across the web and show you the boots everywhere.

Some browsers, including Safari and Firefox, block most third-party tracking cookies by default. Others let you block them in settings. Blocking third-party cookies rarely breaks sites and cuts one of the oldest cross-site tracking methods.

A tracker from one ad company embedded on three different websites links your visits into one profileNews siteShoe storeHealth blogTrackerone profile

Step 2 of 12Practice · Sort into groups

Sort each cookie or tracker by who sets it.

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

Step 3 of 12Learn

Pixels and fingerprints

Cookies are only one tool. Two others are harder to see.

A tracking pixel (also called a web beacon) is a tiny, often invisible image or script loaded from a tracking company's server. When your browser fetches it, the company learns that this device opened this page or email, at this time, from this IP address. Pixels in marketing emails tell the sender whether and when you opened the message and sometimes roughly where you were. Pixels on websites report purchases and sign-ups back to ad platforms.

Browser fingerprinting doesn't store anything on your device. Instead, a script collects many small details your browser reveals: screen size, installed fonts, time zone, language, graphics card behavior, browser version and more. Each detail is common, but the combination is often unique enough to recognize you again, even after you clear cookies or use a private window.

Because fingerprinting leaves nothing to delete, the main defenses are browsers that limit or standardize what they reveal (several have built-in fingerprinting protection) and reputable content blockers that stop the tracking scripts from loading at all.

Step 4 of 12Practice · Match the pairs

Match each tracking method with how it works.

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

  1. First-party cookie
  2. Third-party cookie
  3. Tracking pixel
  4. Fingerprinting

Step 5 of 12Diagram

How the boots follow you

How the boots follow youProcess diagram: You view boots in a store → Ad network code loads → Cookie ID saved → You visit a news site → Boots ad appears.You view boots in astoreAd network codeloadsCookie ID savedYou visit a news siteBoots ad appears

Tap a shape with to see more.

You view boots in a store
Ad network code loads

The store embeds the network's script or pixel.

Cookie ID saved

A third-party cookie tags your browser with an ID.

You visit a news site

The same ad network has code here too.

Boots ad appears

The network recognizes the ID and bids to show you the boots.

Step 6 of 12Practice · True or false

Clearing your cookies is enough to stop browser fingerprinting.

Step 7 of 12Diagram

What makes up a browser fingerprint

Each detail is common on its own. Together they can single out your browser, with no cookie needed.

What makes up a browser fingerprintParts diagram: Browser fingerprint, Screen size, Installed fonts, Time zone and language, Graphics card, Browser and OS version, Settings and extensions.BrowserfingerprintScreen sizeInstalled fontsTime zone andlanguageGraphics cardBrowser and OSversionSettings andextensions

Tap a shape with to see more.

Browser fingerprint
Screen size
Installed fonts
Time zone and language
Graphics card

Drawing a hidden image reveals tiny hardware differences.

Browser and OS version
Settings and extensions

Step 8 of 12Learn

Consent banners and what to click

Since privacy laws in Europe and some US states took effect, many sites show a cookie consent banner. The design is often tilted: a bright "Accept all" button and a gray, smaller "Manage options" link that leads to dozens of toggles. Designs that push you toward the choice that benefits the company are called dark patterns.

What actually matters:

  • "Reject all" or "Necessary only" blocks advertising and analytics cookies on that site while keeping logins and carts working. If the button exists, it's the quickest privacy-friendly choice.
  • "Legitimate interest" toggles hidden in the settings can stay on even after you reject consent. Some banners list them separately.
  • Global Privacy Control (GPC) is a browser signal that tells sites you don't want your data sold or shared. Some browsers send it automatically or through a setting, and certain US state laws, including California's, require businesses to treat it as an opt-out request.

The banner only controls that one site. Browser-level protections (blocking third-party cookies, tracker blocking, GPC) work on every site at once, so they save far more clicks.

Step 9 of 12Tap to reveal

What one page load can send

  1. The page you asked for

    Your browser requests the article from the news site. This part is expected.

  2. Ad auction scripts

    Code from ad exchanges loads and announces an ad slot along with details about your device, location and interests so advertisers can bid in milliseconds. Many companies receive that bid request even though only one wins.

  3. Analytics

    Scripts record how far you scroll, where you click and how long you stay, then send it to an analytics provider.

  4. Social widgets

    Share and like buttons load from social networks, which can link the visit to your account if you are logged in, even if you never click them.

  5. Pixels

    Marketing pixels report the visit to ad platforms so they can retarget you later with the same product.

Step 10 of 12Note

Step 11 of 12Practice · What would you do?

What would you do?

Lena opens a recipe site. The banner shows a large green Accept all button and a small gray link, Manage choices. She wants recipes, not tracking. What should she do?

Step 12 of 12Practice · Choose one

Which protection works across every website without clicking each banner?