4 ms·
Typically there'll be a CMS flag available to powerful users (editors). That's how it works at the Guardian. It sets a boolean (shouldHideAdverts) in our conte
by cantlin 11y ago
Typically there'll be a CMS flag available to powerful users (editors). That's how it works at the Guardian.
It sets a boolean (shouldHideAdverts) in our content API[0], which we use in templates[1] to suppress commercial logic.
There are obvious business reasons for this. It's common for it not to be in the advertiser or reader's interest to show commercial messages against some content.
[0] http://content.guardianapis.com/world/live/2015/mar/24/germanwings-airbus-a320-crashes-in-french-alps-live-updates?show-fields=shouldHideAdverts&api-key=throwaway-2450987 http://content.guardianapis.com/world/live/2015/mar/24/germa...
[1] https://github.com/guardian/frontend/blob/4cb7e07c15a03568c20c4d623f5d252bd4d8c315/common/app/views/fragments/contentFooter.scala.html#L10 https://github.com/guardian/frontend/blob/4cb7e07c15a03568c2...
- maxerickson 11y agoI wonder if the NYT meta header is just a similar flag leaking out, or if it is something that can be abused client side to never have ads. It's totally unsurprising that it would be a CMS feature, I'm a little taken aback each time I see a crass juxtaposition on smaller sites (more out of surprise at them not doing it than any particular personal sensitivity to it).
- soneil 11y agoI took a look at the first result that popped up (http://www.nytimes.com/2015/03/26/world/europe/germanwings-airbus-crash.html?_r=0 http://www.nytimes.com/2015/03/26/world/europe/germanwings-a...) and interestingly, this ad_sensitivity tag is set to "tragedy". I'm curious to know what other options there are now - whether this is boolean, or a sliding scale.
- krishy 11y agoThe options are: - Show ads - No ads - Tragedy
- breakingcups 11y agoDo you know the difference between tha latter two?
- nkozyra 11y agoWell I can think of another readily-available client-side option to avoid seeing ads. It's unlikely that the meta tag itself has any real relevance - some aspect of the CMS might be coopted for this purpose and I imagine its original intent was for injecting meta tags.