Changes proposed in this Pull Request
This PR implements an A/B experiment whose goal is to determine if showing a clearer total discount in the Jetpack pricing page (for the yearly term) increases click rate.
Fixes 1196108640073826-as-1200317017749670
Implementation notes
Unlike previous experiments, we didn’t use getCurrentCROIterationName
. The easiest way to get the variation with the new ExPlat framework is to use hooks, which isn’t compatible with the aforementioned function.
Testing instructions
- Download the PR and run cloud
- Visit
/pricing
- Check that the discount message in the product cards is
* You Save 40%
for both monthly and yearly terms
- Check that the original and discount prices are the same as in production, for both terms
- Change the variation of the
calypso_jetpack_yearly_total_discount
experiment to treatment
(you’ll find the experiment in the Hypothesis Link field of the linked task – ping me if you need further help with that)
- Visit
/pricing
- Check that the discount message in the product cards is
* Save XX% for the first year
for the yearly term, and hasn’t change for the monthly term
- When the yearly term is selected, check that the struck-through price is the original monthly price (in other words, the discount percentage should represent the discount between the actual price and the struck-through price)
Screenshots
Control
Treatment
Unfortunately, no screenshots were provided by the developer.