WS 1870 - Expand Carousel CTA Experiment to Include Hindi and Russia #13571
+18
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves JIRA WS-1870 also related to WS-1677
Summary
The current Carousel CTA experiment (implemented in PR #13462) increases the size of the play button and duration display within carousels. It ran on the Pidgin service via Simorgh and Optimizely.
We want to run the experiment again, but this time also include
HindiandRussia.In Optimizley a new experiment(ruleset)
play_and_duration_size_increase_2has been created that copies the previous experiment but now with expanded logic to show the experiment if(mobile view && (pidgin || hindi || russia))to reflect this in Simorgh code to pick a
playDurationVariationhas been readded, along with code to send event metricsstyles and logic to change portrait video promos depending on the
playDurationVariationis already present from the last experiment, so didn't need to be added in this PR.Testing
visit the Russian homepage, Hindi hompage or Pidgin hompage
see that you have been placed into an experiment
newswb_ws_play_and_duration_size_increase_2in the console will show if you have been put into a variation e.g.[OPTIMIZELY] - INFO 2026-01-06T11:14:13.882Z DECISION_SERVICE: User 012ab26e-80bf-4484-aef5-ca12ba139a71 is in variation large of experiment newswb_ws_play_and_duration_size_increase_2.["optimizely.newswb_ws_play_and_duration_size_increase_2.large"]Useful Links