guardian / frontend

The Guardian DotCom.
https://theguardian.com
Other
5.82k stars 556 forks source link

make more articles eligible for affiliate links #27197

Closed dskamiotis closed 1 month ago

dskamiotis commented 1 month ago

What is the value of this and can you measure success?

To expose more articles and make them eligible for affiliate links (hence more revenue) This is a result of the Disclaimer message being reduced in length PR here, so we can now reduce the minimum char length of the 2nd paragraph.

Success will be measured by reducing the minimum char length and displaying the disclaimer, whilst also ensuring the whitespace around potential paragraphs are not too extreme.

What does this change?

We have a logic to detect the character length of the 2nd paragraph in an "affiliatable" article, currently set at 250. Please see slides for different lengths

Screenshots

https://m.code.dev-theguardian.com/fashion/2024/apr/13/sali-hughes-top-50-beauty-products-for-under-20-pounds

Column 1
Screenshot 2024-06-05 at 12 13 48

Checklist

github-actions[bot] commented 1 month ago

Deploy build 2042 of dotcom:frontend-all to CODE

All deployment options - [Deploy build 2042 of `dotcom:frontend-all` to CODE](https://riffraff.gutools.co.uk/deployment/deployAgain?project=dotcom%3Afrontend-all&build=2042&stage=CODE&updateStrategy=MostlyHarmless&action=deploy) - [Deploy parts of build 2042 to CODE by previewing it first](https://riffraff.gutools.co.uk/preview/yaml?project=dotcom%3Afrontend-all&build=2042&stage=CODE&updateStrategy=MostlyHarmless) - [What's on CODE right now?](https://riffraff.gutools.co.uk/deployment/history?projectName=dotcom%3Afrontend-all&stage=CODE)

From guardian/actions-riff-raff.

prout-bot commented 1 month ago

Seen on ADMIN-PROD (merged by @dskamiotis 10 minutes and 49 seconds ago)

prout-bot commented 1 month ago

Seen on FRONTS-PROD (merged by @dskamiotis 12 minutes and 58 seconds ago)