Re:The Baseline Costs of JavaScript Frameworks
by was_boring on Wednesday November 28, 2018 @12:01PM
(#18553206)
Why is JavaScript required for ads?
[ Parent
| on HN ]
Re:The Baseline Costs of JavaScript Frameworks
by reaperducer on Wednesday November 28, 2018 @12:06PM
(#18553242)
It's not. It's required for tracking.
I run several websites where advertisers pay to be on the website so that their brand can be associated with the content, and get viewed — just like a billboard or a TV commercial. None of them have Javascript. They're just plain images and links.
Re:The Baseline Costs of JavaScript Frameworks
by samfisher83 on Wednesday November 28, 2018 @12:11PM
(#18553283)
You don't need javascript for tracking. You could just use an invisible pixel.
Re:The Baseline Costs of JavaScript Frameworks
by pritambaral on Wednesday November 28, 2018 @01:33PM
(#18554220)
Some advertisers don't like to trust hits if they can't verify the hit came from a real, live browser. Like the difference between the original recaptcha (read the letters in this image) and the new ones (mouse, keyboard, and browser behaviour looks like a human browsing on a real browser).
Re:The Baseline Costs of JavaScript Frameworks
by giobox on Wednesday November 28, 2018 @12:10PM
(#18553270)
In an absolute technical sense of course it isn’t, but virtually all the major players in web ads (Google Adsense etc) typically use JS to ship ads/tracking to your page.
Re:The Baseline Costs of JavaScript Frameworks
by nine_k on Wednesday November 28, 2018 @12:24PM
(#18553397)
It is not strictly required, but most ad networks want to know about you as much as possible, from display resolution to browsing history (if they can). This requires JS.
Also, a lot of ad content is "rich", animated, etc, also scripted.
In 1990s and early 2000s ads were mostly just images ("banners") served by an ad network, or even text links, without any scripting.
Re:The Baseline Costs of JavaScript Frameworks
by jazzyjackson on Wednesday November 28, 2018 @07:56PM
(#18557243)
Because most ads are auctioned at the time the page is loading. The clientside scripts identifies the user however best it can and then contacts ad delivery networks to see who is willing to pay the most to place the ad (this is second hand recalling, I might be wrong)