Test alternative text for Transition navigation #1871
Merged
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.
We want to test whether changing the text on the banner navigation improves click through rate. We want to keep the test simple, so we've just chosen a single, high traffic page as
victim.
The displayed navigation is determined in govuk_publishing_components, however we know how it works. If a certain taxonomy content_id is found in the taxon links of a content item, then a step by step banner (colloquially a "super breadcrumb") will be displayed using the title of the taxon.
If we intercept the content item before it is passed to the component, then we can tweak what is displayed.
https://trello.com/c/igPWXPvz/482-put-new-transition-taxon-live
Examples
This should show "The UK and EU transition: new rules for 2021"
This isn't tagged to Brexit so should just show its step by step header
This is tagged to Brexit, so should show "Transition period"
Before
After
Merged changes are automatically deployed to staging and production.
Make sure you follow the guidance for deployments before you merge.
Check your branch is being deployed in the Release app, after merging.