FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [View Raw Code]   [Original HTTPS Page]

frontend/docs/05-commercial/03-commercial-javascript.md at test · devhttps/frontend · GitHub

Latest commit

 

History

History
7 lines (6 loc) · 727 Bytes

File metadata and controls

7 lines (6 loc) · 727 Bytes

Commercial javascript

  • Commercial scripts run under their own bundle, with the root script /bootstraps/commercial.js
  • The commercial bundle only runs if the browser passes the isModernBrowser check (i.e. not IE8)
  • We interface with Doubleclick for Publishers using the dfp-api.js module. Most advertising on The Guardian involves a roundtrip to DFP somehow.
  • Individual commercial features are switched on and off in the commercial-features.js module. You can see which features are on at any time by opening your console and viewing guardian.config.commercial.featuresDebug

See DFP Advertising for details on how we target, fetch and render adslots.


Back | FazBrowse Home | New Git URL