Skip to content

Scrappy A/B test of donation landing pages#2075

Merged
garethrees merged 2 commits intomasterfrom
donation-url-variants
Apr 24, 2026
Merged

Scrappy A/B test of donation landing pages#2075
garethrees merged 2 commits intomasterfrom
donation-url-variants

Conversation

@garethrees
Copy link
Copy Markdown
Member

Temporary override to the configuration variable to A/B test conversion of the service-specific donation page and the general organisation one.

This won't necessarily be a true 50:50 split (since sample is random and the various caching layers may have an impact, etc) but its the landing:conversion rate we're mostly interesting.

@garethrees garethrees force-pushed the donation-url-variants branch from 79f3a6d to 62b7e36 Compare February 5, 2026 10:25
@alicewilliams36
Copy link
Copy Markdown

Join us, and help....pdf

Thanks Gareth! OK I've mocked up what I think the WDTK donate page should look like here. I'm not precious about it so if you want to tweak layout/wording please feel free! I'm not sure what else you need to be able to make it work on the backend so please say if I need to do anything else?!

The photos that aren't ours are:
Photo by Element5 Digital: https://www.pexels.com/photo/gray-steel-file-cabinet-1370294/
Photo by deep Bhullar: https://www.pexels.com/photo/statue-of-lady-justice-with-scales-30483129/

But as I say, not precious if you want to change!

@garethrees
Copy link
Copy Markdown
Member Author

Looks great! We'll have to implement this on mysociety.org, not whatdotheyknow.com. That'll be a ticket for @lucascumsille , I think in https://github.com/mysociety/orgsites.

The specific page is https://www.mysociety.org/donate/support-whatdotheyknow-and-mysociety/. It'll be a bit much work to mirror the WhatDoTheyKnow banner & nav, but we can at least match the colours and maybe some other small tweaks so it's less of a jarring transition.

@lucascumsille
Copy link
Copy Markdown
Contributor

Hi @alicewilliams36 and @garethrees

I made the following page:

Screen.Recording.2026-03-30.at.12.59.19.mov

Let me know if you'd like me to make any changes. Btw please ignore the Mechelen picture, I couldn't find the one that Alice used.

@alicewilliams36
Copy link
Copy Markdown

alicewilliams36 commented Mar 30, 2026

This is fantastic thankyou Lucas! Just a couple of edits:

  1. Could you swap the wording 'Make Information Accessible To All' with 'Join the mySociety Supporter Network' so that the former is the larger title, and the latter is in the box above?
  2. Here are 2 options of images instead of Mechelen https://drive.google.com/drive/folders/1xXgDAKLMyxWdUUSN1TkSoNOUqfPA5xHo?usp=drive_link
  3. Is there any chance the text next to that image (starting 'when information is hidden') could be any larger?
  4. Do the donate buttons jump you down to the form? Could the button below the 3 boxes be a full width button? And the same for the 20 year impact button?
  5. Sorry now I've seen the scroll I think we need to move Maya's quote to below the form so you don't have to scroll too far to get to that.
    Thanks so much!

@lucascumsille
Copy link
Copy Markdown
Contributor

Thank you @alicewilliams36 =)
No probs I'll make those changes now, also if after that you are happy for me to deploy I can do.
I still need to add some javascript for the buttons though.

@lucascumsille
Copy link
Copy Markdown
Contributor

Here is a new version with the latest feedback:

Screen.Recording.2026-03-30.at.15.27.20.mov

Let me know if you'd like me to change anything else.

@lucascumsille
Copy link
Copy Markdown
Contributor

lucascumsille commented Mar 31, 2026

Thanks for all the feedback from yesterday, the new page is live here

Let me know if there is anything else I need to do

@garethrees
Copy link
Copy Markdown
Member Author

Will have a proper read through as soon as I can but looks way nicer! One thing I did just spot:

Provide support for the other countries using our code to run their own FOI site – from Jordan to Ukraine

There's no Alaveteli in Jordan https://alaveteli.org/deployments/

@alicewilliams36
Copy link
Copy Markdown

Oops! Sorry @lucascumsille - could you edit that to say 'from Ukraine to Colombia' (Trying to highlight the range whilst also naming countries people will care about!)

@lucascumsille
Copy link
Copy Markdown
Contributor

@alicewilliams36 I just deployed that change =)

@garethrees
Copy link
Copy Markdown
Member Author

This is looking great. Got two minor suggestions.

  1. The "Donate £5 monthly" button in the header pre-fills the donation form with the correct options. "Other amount" doesn't. Would be nice if it did if it's an easy fix, but wouldn't worry about it if it would take hours.
  2. Might be worth calling out a key phrase in the first paragraph to make it a little more scannable? One of these perhaps? Don't feel strongly about this at all though.
Screenshot 2026-04-02 at 09 45 39 Screenshot 2026-04-02 at 09 46 43

@garethrees garethrees marked this pull request as ready for review April 2, 2026 08:52
@garethrees
Copy link
Copy Markdown
Member Author

garethrees commented Apr 2, 2026

@gbp can you have a quick look at the code side of this (i.e. this PR)? TL;DR is that we want to A/B test the performance of the general and service-specific donation pages. I've hacked this in by just overriding AlaveteliConfiguration#donation_url with hard coded values and sampling from them. Think this should be fine, but LMK if you think there would be issues. Only problem I can think of is that it wouldn't be obvious that the configured value in config/general.yml would get ignored if we were to change it.

@garethrees garethrees requested a review from gbp April 2, 2026 08:55
@garethrees garethrees added the awaiting-review Complete but waiting for review (mainly for pull requests) label Apr 2, 2026
@alicewilliams36
Copy link
Copy Markdown

@lucascumsille Just checking if you saw those little edit suggestions from Gareth? On making the text bold I think that's a good idea and think option 2 above is the best. (Your donation...)

On the donation form, relooking at that could we please change the amounts to £5, £10 and £40? And on prepopulating the form', if it's easy to prep-populate 'other amount' to £10 monthly then great but not to worry if that's a complex change as Gareth says!

@garethrees
Copy link
Copy Markdown
Member Author

On the donation form, relooking at that could we please change the amounts to £5, £10 and £40?

Any reason to deviate from the main donate page? I'd have thought that might skew the results a bit (though tbf probably close enough that its not a huge concern)

@lucascumsille
Copy link
Copy Markdown
Contributor

@alicewilliams36 and @garethrees thank you both I just made the changes requested:

  • Bold -> Your donation helps ensure that information remains accessible to everyone — not just the powerful.
  • Now "Other amount" prefills £10 monthly)

Regarding:

On the donation form, relooking at that could we please change the amounts to £5, £10 and £40?

Let me know if you'd rather stick to what we currently have or display these options instead. I think it should be easy to change, but not super sure, because I haven't done it before. It might be just changing the array for donations.

@alicewilliams36
Copy link
Copy Markdown

Thanks so much Lucas! Yes please, I've done a bit of research into donation amounts so think offering £5, £10 and £40 will be more fruitful than the current options!

@lucascumsille
Copy link
Copy Markdown
Contributor

@alicewilliams36 After our talk from yesterday I have updated the donations to 5,10,40 for WDTK and Support mySociety, I also added Climate because I think it would be a bit odd to be the only one with the past values.

@alicewilliams36
Copy link
Copy Markdown

Makes sense thankyou! I'm not understanding the github notes above re the unsuccessful check - is that where @garethrees is actioning the testing function?

@garethrees
Copy link
Copy Markdown
Member Author

I'm not understanding the github notes above re the unsuccessful check - is that where @garethrees is actioning the testing function?

Its some automated testing – the breakage is unrelated to this change. Will resolve.

Will be adding a customisation that means this value won't be empty via
the defaults which makes this test fail. Even without the customisation,
being explicit here makes for a clearer test.
Temporary override to the configuration variable to A/B test conversion
of the service-specific donation page and the general organisation one.
@garethrees garethrees force-pushed the donation-url-variants branch from 62b7e36 to 65924a2 Compare April 24, 2026 08:19
@garethrees garethrees merged commit 84eadfa into master Apr 24, 2026
1 of 2 checks passed
@garethrees garethrees deleted the donation-url-variants branch April 24, 2026 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-review Complete but waiting for review (mainly for pull requests)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants