How do ads load trackers?

Ads load trackers through a chain: the website loads one ad script or tag manager, and that script loads third-party trackers from other companies. Header bidding, ad exchanges and retargeting pixels each add their own requests. One ad on a page can therefore send your visit to many companies.

By Christian Branbergen Updated 6 min read

On this page
  1. How do ads load third-party trackers?
  2. What does a tag manager do?
  3. What happens in an ad auction?
  4. How do retargeting pixels follow you?
  5. How can you see who loaded a tracker?
  6. Frequently asked questions

How do ads load third-party trackers?

Ads load third-party trackers by adding new scripts to the page after it opens. The website places one script in its own HTML. That script asks your browser to load files from other companies. Those files can load more files, and so on.

Every script in this chain has an initiator: the script or page that asked for it. A tracker that the website placed itself has the website as its initiator. A tracker that an ad script added has that ad script as its initiator. The website owner often does not know every company at the end of the chain.

This matters for your privacy. A cookie banner or privacy policy usually names the partners the website chose. The companies further down the chain are chosen by those partners, not by the website. Each of them still receives your IP address, the page address and the identifiers in its cookies.

The page loads one script. That script brings the other companies.

What does a tag manager do?

A tag manager is a script that loads other scripts, called tags, from one central place. The website adds the tag manager once. The marketing team then adds analytics, advertising and conversion tags in a web interface, without changing the website code. Google Tag Manager is the best known example.

For you as a visitor, a tag manager hides who is on the page. The HTML of the website shows only the tag manager. The trackers it loads appear only when the page runs in your browser. One line of code can therefore bring ten or more companies onto a page.

Tags can also depend on each other. A tag manager can fire an analytics tag on every page and an advertising tag only after a purchase. The list of tags can change on any day without a new version of the website. A page that loaded three trackers last week can load eight today.

What happens in an ad auction?

In an ad auction, many advertising companies bid for the ad space in the moment you open a page. This is called real-time bidding. The website, or the ad exchange it uses, sends a bid request to each bidder. A bid request describes the page and the visitor, so each bidder can decide what you are worth.

Header bidding moves part of this auction into your browser. A script on the page, often the open-source library Prebid.js, contacts several bidders at once. Each bidder is a separate third-party request, and each one learns that you visited the page. Only one company wins the ad, but every bidder received the data.

The winning ad brings its own scripts as well. It loads the image or video from the advertiser's ad server. It often adds a measurement script that checks whether the ad was visible. Those scripts have the ad as their initiator, not the website you visit.

The table shows the companies a single ad slot can bring.

Service Usually loaded by What it does
Tag manager The website Loads the other tags
Header bidding script The website or the tag manager Asks several bidders for a price
Ad exchange The header bidding script or ad server Runs the auction and delivers the winning ad
Retargeting pixel The tag manager or the ad exchange Marks you for ads on other websites
Measurement script The winning ad Checks that the ad was seen and by whom

How do retargeting pixels follow you?

A retargeting pixel marks you as a visitor of a shop, so ads for that shop follow you elsewhere. The shop loads the pixel through its tag manager. The pixel stores an identifier in a cookie or reads one that already exists. When a news site later runs an ad auction, the retargeting company recognises that identifier and bids high.

Advertising companies also share identifiers with each other. This is called cookie syncing. One tracker redirects your browser to another, with its own identifier in the address. Both companies now know that their two identifiers belong to the same browser. The request looks like this:

https://sync.partner.example/match?partner=exchange&id=a71c09fe

The partner tells which company sent you. The id is that company's identifier for your browser. Each sync is another third-party request that the website never placed itself.

How can you see who loaded a tracker?

You see who loaded a tracker by looking at the initiator of each request. Browser developer tools show this in the Network panel, in the Initiator column of Chrome and Edge and the Cause column of Firefox. That works, but it shows hundreds of requests without saying which company is behind them.

A tracker blocker that groups requests per company is easier to read. It shows the chain from the website to the tag manager to each tracker. Blocking the first script in a chain often stops everything that script would load.

The chain differs per visit. A different bidder can win the auction, and a different retargeting company can follow. Open the same news site twice and you will often see different companies at the end of the chain. That is why a fixed list per website says little, and a live view per visit says more.

See which service loaded each tracker

UltraBlock shows every tracker on a website, who loaded it and where it is hosted.

See where your data goes

Frequently asked questions

What is a tracking initiator?

The initiator is the page or script that asked your browser to load a tracker. A tracker in the HTML of the website has the website as its initiator. A tracker added by an ad script has that ad script as its initiator.

Does the website know which trackers its ads load?

Not always. The website chooses its tag manager and its advertising partners. Those partners choose the bidders, exchanges and pixels further down the chain, and that choice can change with every visit.

Does blocking a tag manager stop the trackers it loads?

Usually it does, because the trackers it would load never get the request to start. Some websites break without their tag manager, so a blocker may need to allow it and block the trackers it loads instead.

Can I block a single tracker and keep the rest?

Yes. In the UltraBlock popup you can block extra hostnames and allow a single service again. UltraBlock blocks 128 advertising, analytics and social trackers from 113 companies (2 December 2026).