0

I just installed Ghostery on my browser, and when accessing any random page, I see a lot of advertising trackers that, however, don't appear in the page's source code.

For example, let's take http://www.latimes.com: according to Ghostery, one of the ad trackers it loads is by AppNexus, and the URLs it shows are of the form http://secure.adnxs.com. And yet, if I do "view source", I don't see that URL anywhere in the page. At least in the case of Google and Doubleclick's trackers, I can find them in the source (and conversely, when I read the page, all the ads I see come from Google/Doubleclick).

Obviously these trackers are being loaded through Javascript... but where? Which code is redirecting and loading those trackers? The only way I can think of is if they come from the Doubleclick code... but, aren't AppNexus (and all the other ad networks) supposed to be Doubleclick's competition? Why would Doubleclick load their competition's trackers? How does that even work?

(I know about real time bidding, supply side platforms and so on, at least in theory. I'm just trying to understand how it all works, using this practical example).

5
  • "ad trackers" could be images, not only JavaScript Commented Mar 22, 2018 at 17:46
  • 1
    You have this in the javascript code: var ensightenUrl="//nexus.ensighten.com/tronc/latimesarc" Commented Mar 22, 2018 at 17:47
  • @PatrickMevzek: if they were images, I'd have found their URLs looking through the source code, wouldn't I? That's why I thought those trackers were being loaded dinamically through Javascript.
    – PaulJ
    Commented Mar 22, 2018 at 19:27
  • Not necessarily. Think about DNS CNAME and HTTP redirection... I am not saying they are not through JavaScript, I am saying there are multiple ways. You should launch a local proxy capturing all URLs and headers and browse through it to capture things. Your browser "Developer Tool" could show you which resources (HTML/JS/CSS/etc.) are loaded when but not what triggers them. Commented Mar 22, 2018 at 19:29
  • Stylesheets and fonts could be used as well to track... basically anything accessed remotely. Commented Mar 22, 2018 at 19:30

1 Answer 1

2

There's a few explanations that I can think of off the top of my head.

The first is ad waterfalls, which it sounds like you know about from the real time bidding. It's quite possible that AppNexus is loading during the DoubleClick bidding waterfall. While they may be competitors, it can be quite common to load several ad networks through DoubleClick and have them compete against each other.

From what I understand, DoubleClick isn't adsense. It's an ad waterfall real time bidding solution in which you can put your own ad networks into the DoubleClick script. This allows for you to have ad networks bidding against each other for the spot.

Next is as you say, it's possible that the AppNexus is loading through javascript somewhere in the .js files. Often times it can be difficult to thoroughly navigate through what the .js files are doing on a large site. This is especially the case if the .js files are large and well obfuscated. It's even more complicated once .js files start calling other .js files and having to track through all of that can be very difficult if the source code is scrambled well.

The other possibility is that there is alternate language on the page that isn't Javascript, and that is what is calling the AppNexus data. Data can be passed through many different types of languages as well as many different types of objects. It's possible to be tracked by remote servers even through images loading on a page, as well as any other type of flash, java, or other object that is loaded into the browser.

2
  • Thanks for your response. I thought about it, and I have another idea: those sites are all using Doubleclick for Publishers to handle their ad inventory, hence the tags in the source code. Then, DFP is configured to ask for bids from different ad networks, and it loads trackers from them. Could it be that?
    – PaulJ
    Commented Mar 22, 2018 at 19:29
  • 1
    Yes, dfp could load nexus in its waterfall and so you'll see that in the network waterfall of developer tools
    – Michael d
    Commented Mar 23, 2018 at 1:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.