Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show affiliate links on all eligible galleries #27071

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

emma-imber
Copy link
Contributor

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

Adding affiliate links to more galleries will increase the number of affiliate links on the site, so will have a revenue benefit associated.

What does this change?

We now want to launch skimlinks on all eligible galleries, and no longer use an allowlist for gallery content. We now pass in a contentType parameter to the shouldAddAffiliateLinks check, and if the contentType is gallery, we don't perform the allowlist or cut off date check. Note that we still need these checks for DCR rendered articles with affiliate links, as we're still in the process of finding the best way to insert the DCR disclaimer so that it doesn't clash with other page elements, so we're only making affiliate links available on a limited number of DCR pages. The gallery disclaimer design is simpler as it's contained about the main page content, so we don't have the same issues.

Screenshots

Disclaimer now being added to a gallery which isn't on the allowlist and is published after the cut-off date.

Screenshot 2024-04-23 at 18 33 22

@emma-imber emma-imber requested a review from a team as a code owner April 24, 2024 11:09
Copy link
Contributor

@SiAdcock SiAdcock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work @emma-imber 🎉 This is actually a 👍 from me!

⛔ To anyone reading: please don't merge until comms are sent 😄

UPDATE: we are good to merge on Monday 29th April

@emma-imber emma-imber merged commit 91b5017 into main Apr 29, 2024
2 checks passed
@emma-imber emma-imber deleted the ei/affiliate-links-galleries branch April 29, 2024 10:46
@prout-bot
Copy link
Collaborator

Seen on FRONTS-PROD (merged by @emma-imber 19 minutes and 31 seconds ago)

@prout-bot
Copy link
Collaborator

Seen on ADMIN-PROD (merged by @emma-imber 19 minutes and 36 seconds ago)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants