Ad tracking is the process of collecting data about your online and mobile activity so advertisers can measure how their ads perform and show you ads based on your interests and behavior. It powers the vast majority of free websites and apps you use every day, funding them through targeted advertising instead of subscription fees. The methods range from small text files stored in your browser to invisible images embedded in web pages, and the technology is shifting rapidly as privacy rules tighten.
How Cookies Track Your Browsing
The most established form of ad tracking relies on cookies, which are small text files a website places on your device. First-party cookies come from the site you’re actually visiting. They remember things like your login status, language preference, or items in your shopping cart. These generally serve the site’s own functionality and aren’t controversial.
Third-party cookies are the ones that matter for advertising. These are set by a domain other than the one you’re visiting, typically an ad network or data company. When you browse a news site that runs ads from an advertising network, that network can drop a cookie on your device. Later, when you visit a completely different site that uses the same network, the cookie identifies you and tells the network which sites you’ve been browsing. Over time, this builds a profile of your interests, which advertisers use during the real-time bidding process to decide how much to pay to show you an ad. If you’ve ever searched for running shoes and then seen shoe ads on an unrelated recipe blog, third-party cookies were likely involved.
Tracking Pixels and Impression Measurement
A tracking pixel is a nearly invisible graphic, often just one pixel by one pixel, embedded in a webpage or email. When your browser loads the page, the pixel fires and sends information back to the advertiser’s server. That data can include whether you opened an email, visited a specific product page, or saw a particular ad.
Pixels serve two main purposes. First, they record ad impressions, confirming that an ad actually appeared on your screen. Second, they track conversions. If you click an ad for a jacket and later buy it, the pixel on the checkout page tells the advertiser their ad led to a sale. This connection between seeing an ad and completing a purchase is the foundation of digital ad measurement. Without it, advertisers would have no way to know which campaigns are working and which are wasting money.
Mobile Advertising IDs
On smartphones, tracking works differently because apps don’t use browser cookies. Instead, your phone’s operating system assigns a unique identifier specifically for advertising. Apple calls its version the Identifier for Advertisers (IDFA). Google’s Android equivalent is the Google Advertising ID (GAID). These are collectively known as mobile advertising IDs, or MAIDs.
A MAID lets advertisers, app developers, and data brokers link your activity across different apps on the same device. Because one person typically carries and uses a single phone, these IDs can also be tied to your physical location and daily habits. Data brokers can use MAIDs to build long-term behavioral profiles and sell that information to other businesses. The profile might include which apps you use, how often you open them, which stores you physically visit, and what you tend to buy.
You can reset your MAID in your device settings, which breaks the link between your past activity and future behavior. It doesn’t stop tracking entirely, but it forces advertisers to start building a new profile from scratch.
Why Businesses Track Ads
The core reason businesses invest in ad tracking is attribution: figuring out which ad, keyword, or campaign actually caused someone to buy something. Without tracking, a company running ads on five different platforms has no idea which one drove the sale.
Attribution models determine how much credit each ad interaction gets for a conversion. A simple “last click” model gives all the credit to the final ad someone clicked before purchasing. But a customer might have first seen a display ad, then clicked a social media ad, and finally searched on Google before buying. More sophisticated models spread credit across those touchpoints, helping businesses understand the full path a customer takes. Google Ads, for example, lets advertisers compare cost per conversion and return on ad spend across different attribution models to identify campaigns that are undervalued under simpler models.
This data directly feeds automated bidding. If a business uses a strategy like target cost per action or target return on ad spend, the attribution model shapes how much the system bids for each ad placement. Better tracking data means more efficient spending, which is why advertisers have fought hard to preserve tracking capabilities even as privacy rules have tightened.
Privacy Changes Reshaping the Industry
The biggest recent shift came from Apple’s App Tracking Transparency (ATT) framework, which requires apps to ask your permission before tracking you across other apps and websites. The impact has been significant: less than half of users opt in when asked. Games have the highest opt-in rate at around 39%, and fewer than 20% of apps track users through their data overall.
This change hit advertisers hard, particularly those who relied on cross-app tracking to measure campaign performance on mobile devices. Many companies have responded by redesigning their onboarding flows to better explain the benefits of sharing data, trying to persuade more users to tap “Allow.” Google’s Android platform has also moved toward giving users more control over their data, following Apple’s lead.
On the browser side, the industry has been moving away from third-party cookies for years. Chrome now offers a Privacy Sandbox framework that groups users into interest-based categories rather than tracking individuals. This lets advertisers target broad interest groups (people interested in fitness, for example) without following a specific person across the web.
How to Limit Ad Tracking
You have more control over ad tracking than you might expect, though no single setting eliminates it completely.
In Chrome, go to Settings, then Privacy and Security, then Ad Privacy. From there you can turn off ad topics (the interest categories Chrome assigns based on your browsing), block specific topics or entire categories, and prevent individual sites from suggesting ads based on your visits. Each of these controls limits a different dimension of how Chrome shares your browsing interests with advertisers.
On your phone, the most effective step is managing your mobile advertising ID. On iOS, you can disable tracking requests entirely under Settings, then Privacy and Security, then Tracking. On Android, you can reset or delete your advertising ID through your device’s privacy settings. Resetting the ID makes it harder for businesses to connect your past app usage, location history, and behavior with your future activity.
Beyond these built-in controls, you can install browser extensions that block tracking scripts, use browsers designed around privacy, or enable a VPN to mask your IP address. Each layer reduces how much data advertisers can collect, though the tradeoff is that some websites may not function properly and the ads you do see will be less relevant to your interests.

