Skip to article
On this page

StackAdapt pixel explained: programmatic retargeting

NyXi

NyXi

6 min read

What the StackAdapt universal pixel is, why it usually arrives through a media agency rather than from your own team, what its opaque pixel ID identifies.

If Tag Explorer has surfaced StackAdapt on your site and you have never heard of it, that is the normal reaction. StackAdapt is a demand side platform, which is software that buys advertising space automatically across thousands of sites and apps, and its pixel is on your site so a campaign can retarget your visitors and count conversions. Paste your page into Tag Explorer to see this tag on your own site.

The important difference from a Meta or a Google tag is who put it there. Almost nobody sets up StackAdapt themselves. It arrives through a media agency or a marketing partner, which means the most useful thing this article can give you is the right question to ask the right person.

What it actually does

The universal pixel loads a script from tags.srv.stackadapt.com and exposes a function called saq(). The base call identifies your account and records the visit. Further calls mark specific actions as conversions, optionally with a value attached.

From that, the platform does two jobs.

  • Retargeting. Visitors to your site are recognised again later on other sites and apps, and shown your native, display or video ads there.
  • Conversion measurement. When someone who saw or clicked one of those ads later completes an enquiry or a purchase, the platform attributes it back to the campaign that paid for the impression.

Because programmatic buying is heavily weighted towards impressions rather than clicks, that second job carries more weight here than on a search platform. Without the pixel, a programmatic campaign can only report that ads were shown, which is not a result anyone can act on.

What the ID means

StackAdapt’s universal pixel carries a UID: an opaque string of letters and numbers with no prefix, no dashes to group it and nothing readable inside it. It is deliberately meaningless, unlike a G- measurement ID or a t2_ advertiser ID, so you cannot work out the account from the value.

There is normally one universal pixel per advertiser account, with individual conversions defined inside the platform rather than by adding new snippets to your site. That is why you usually see a single StackAdapt entry on a scan even when several campaigns are running.

The practical consequence is blunt: the ID identifies an account inside someone else’s platform login. If you do not have a StackAdapt seat, which is the usual arrangement when an agency runs the buying, you cannot look it up yourself. You have to ask.

The questions to ask your media agency

This is the part worth acting on. Send these, in writing, to whoever runs your paid media:

  1. Is this pixel still in use? Name the campaign it supports and the month it started.
  2. Whose StackAdapt account is it in, and do we have any access to it? Access usually sits with the agency, and that is normal, but you should know it rather than assume it.
  3. Which conversions are defined against it? If the answer is “page visits”, the campaign is being judged on traffic, not outcomes.
  4. What happens to the audience data if we stop working together? Retargeting audiences built from your visitors live in that account, not yours.
  5. When the campaign ends, who removes the pixel? Get a name. This is the step that never happens by itself.

What a leftover pixel actually costs

It does not break your site and it will not skew your analytics, so it is easy to shrug at. The real costs are quieter.

Every visitor pays a little page weight and an extra network request for a campaign that finished. Your visitors continue to be collected into an account belonging to a company you may no longer work with. And when you or a new agency later audit the site, an unexplained advertising tag is a question mark that has to be chased down again from scratch.

None of those is an emergency. Together they are a good enough reason to remove it the week a campaign ends rather than the year after.

What this looks like in Tag Explorer

Tag Explorer draws your page as a tree: each Google Tag Manager container is a branch, its tags are leaves beneath it, and anything hard coded into the page HTML sits under DIRECT ON PAGE.

StackAdapt is very often deployed as a Custom HTML tag rather than a built in template, so expect to find it under a Custom card as well as, or instead of, a clean Advertising card. A tag with no public ID shows the type as the card title and offers no copy button, which is normal rather than a fault.

The info icon on the card opens a short definition and the Learn more link that brought you here. A duplicate banner and a red attention badge appear if the same ID is found from two sources, and the insights panel below the tree raises softer advisories, including odd containers holding a single tag, which is exactly the shape an agency-installed container often takes.

Two limits worth knowing. The published container file carries the tag type and the tracking ID but never the human names you gave your tags, so a scan cannot tell you a tag is called “StackAdapt Q3 Campaign”. And the tool reads the published container only, so unpublished Tag Manager changes never appear.

A scan proves the pixel is installed. It cannot prove it fired. Tag Manager Preview mode and the browser DevTools Network tab do that.

What to do if it is missing, duplicated or dead

Missing. This case rarely applies, because almost nobody goes looking for a StackAdapt pixel they wanted and cannot find. If a campaign is genuinely about to launch and the pixel is absent, the fix is the same as any other tag: confirm it is in the container, that the trigger covers all pages, and that the version was published.

Duplicated. Two copies mean two sources, usually a snippet pasted into the page template and the same snippet later added properly to Tag Manager. Every visit and conversion is then counted twice, which makes the campaign look better than it was. Keep the Tag Manager copy and remove the hard coded one.

Dead or stale. This is the case that actually applies. If nobody can name the campaign this pixel supports, it is finished, and the tag should be removed from your container. Removing a tag in Tag Manager is reversible, so keep the snippet in a note before you delete and publish. If it turns out to be live, it takes minutes to restore.

Run the scan, then send the five questions above to whoever runs your media buying. If the answers do not come back, or they come back as a list of tags nobody owns, that is the moment to clean the container out properly. Tidying up an inherited setup is a normal part of our rebuilds and rescues work, and it is often one of the cheapest performance improvements available to a site.

Frequently asked questions

What is a demand side platform?

A demand side platform, or DSP, is software that buys advertising space automatically across many websites and apps at once, bidding in real time for each individual impression. StackAdapt is one of these. It is a buying tool rather than a single place people visit, which is why its ads can appear almost anywhere rather than on one recognisable network.

I never added a StackAdapt pixel. Why is it on my site?

Almost always because a media agency asked for it to be added, or added it themselves through your tag manager, so that a campaign they were running could retarget your visitors and measure conversions. That is a normal request. What is not normal is nobody at your business knowing it is there, which is worth fixing while you have the scan result in front of you.

Does a leftover StackAdapt pixel do any harm?

It does not break anything, but it is not free either. It loads for every visitor on every page, adds a request and a little weight to each one, and keeps collecting visitor data into a platform account you may no longer have any relationship with. If the campaign has ended, the pixel should go with it.

How do I know which agency the pixel belongs to?

The pixel ID is opaque, so it will not tell you. Ask whoever has had access to your tag manager: the container's change history records which account added the tag and when, and that date usually lines up with a campaign you can remember. If nobody claims it, treat it as ended and remove it.

More articles