What is a tracking pixel?
A tracking pixel is a small snippet that reports activity to an analytics or advertising platform. The name comes from the original method: an invisible image one pixel square. Loading the image meant sending a request to a server, and that request carried information. Most modern pixels are JavaScript tags, but the idea and the name have stuck.
Ad platforms each have their own, such as the Meta Pixel, the LinkedIn Insight Tag and the Google tag.
How does a tracking pixel work?
- You add the platform's code to your site, directly or through a tag manager.
- A visitor loads a page and their browser runs the code.
- The code sends a request to the platform with details such as the page address, time, device and a cookie or other identifier.
- Extra events fire on key actions: a form submission, a signup, a purchase with its value.
- The platform matches the visit to a person who saw or clicked an ad, where it can.
What are tracking pixels used for?
| Use | What the pixel does |
|---|---|
| Conversion tracking | Reports which ads led to signups or sales |
| Retargeting | Adds visitors to an audience to advertise to later |
| Optimisation | Teaches the platform which people convert, so it finds more |
| Lookalike audiences | Supplies the seed list of converters |
| Email opens | A pixel in an email records when it is displayed |
| Analytics | Counts page views and events |
Pixel vs cookie
A pixel sends data and a cookie stores it. The pixel is the messenger that fires when something happens. The cookie is a small file in the browser that holds an identifier, so the next pixel request can be recognised as the same visitor.
Limits of tracking pixels
Tracking pixels miss a growing share of activity. Ad blockers stop them loading, browsers restrict the cookies they rely on, and visitors who decline consent should not be tracked at all. Email open pixels are unreliable too, since some mail apps load images automatically and others block them.
For this reason many advertisers now add server-side tracking, where their own server sends conversion data to the ad platform directly. It runs alongside the pixel, not instead of it.
Privacy rules
Pixels collect personal data, so privacy law applies. In the EU and UK, non-essential tracking needs consent before the pixel fires. Several US states give people the right to opt out. Load pixels through a consent tool, list them in your privacy policy, and never send sensitive data such as health details through one.