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

feat: 0% AB test to limit inline merch slots #884

Merged
merged 5 commits into from
May 30, 2023

Conversation

chrislomaxjones
Copy link
Contributor

@chrislomaxjones chrislomaxjones commented May 25, 2023

What does this change?

This PR adds an AB test, to match that introduced in this PR, that we'll use to test the impact of limiting the eligibility of rendering inline merchandising slots on articles.

We introduce the same AB test definition as on DCR, and use the canRun function to only enable the test on page views for which an inline merchandising ad slot is eligible. These pages are defined by the rules on this dashboard page (private link), which is reproduced at the time of writing below:

Pages will show an inline merchandising slot if you set up a LineItem in DFP with the following parameters:

  • Targets an im slot
  • Targets a tag of one of:
  • keyword: k
  • series: se
  • contributor: co

If we detect the pageview is in the variant of the test, then we override the value of hasInlineMerchandise and therefore never show such an ad, even on articles that would usually be considered eligible. If not in the test, or in the control, the behaviour will remain the same as previously.

We'll be able to assess the impact of this change by measuring metrics in the usual way, in order to see what impact blocking the inline merchandise has on things like ad-ratio and revenue per 1000 pageviews. Also, we can set up a line item for the control group (using targeting we already supply as part of our page targeting object) that will collect statistics about interactions with the inline merchandise ad.

Screenshots

Note in the variant, where we block the inline merch slot from rendering, the inline1 ad appears much higher up the page.

Control Variant
before after

Why?

We'd like to measure the tradeoffs when running an inline merchandising campaign. Running such a campaign and displaying an inline merchandising advert has the effect of pushing subsequent inlines further down the article. This can have an impact on ad-ratio (as less impressions may be recorded if a reader doesn't reach further down the page), and therefore on revenue.

To assess the impact, we'll run an AB test where inline merchandising is disabled for eligible pageviews in the variant, with no change in the control.

@chrislomaxjones chrislomaxjones changed the title Clj/limit inline merch test feat: Clj/limit inline merch test May 25, 2023
@github-actions
Copy link
Contributor

🚀 @guardian/commercial-bundle-v5.3.1-beta.0 published to npm as a beta release

@chrislomaxjones chrislomaxjones changed the title feat: Clj/limit inline merch test feat: AB test to limit inline merch slots May 25, 2023
@chrislomaxjones chrislomaxjones force-pushed the clj/limit-inline-merch-test branch 2 times, most recently from 75b196a to 1a162c7 Compare May 25, 2023 15:45
@chrislomaxjones chrislomaxjones changed the title feat: AB test to limit inline merch slots feat: 0% AB test to limit inline merch slots May 30, 2023
@chrislomaxjones chrislomaxjones marked this pull request as ready for review May 30, 2023 11:50
@chrislomaxjones chrislomaxjones requested a review from a team as a code owner May 30, 2023 11:50
Copy link
Contributor

@emma-imber emma-imber left a comment

Choose a reason for hiding this comment

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

LGTM!

@chrislomaxjones chrislomaxjones merged commit 39ad8bc into main May 30, 2023
20 checks passed
@chrislomaxjones chrislomaxjones deleted the clj/limit-inline-merch-test branch May 30, 2023 16:30
@github-actions
Copy link
Contributor

🎉 This PR is included in version @guardian/commercial-bundle-v5.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link
Contributor

🎉 This PR is included in version 8.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

None yet

2 participants