Repository navigation
Add Support the Guardian and Help centre links to puzzle game pages - #29335
Conversation
|
@guardian/puzzles for review |
There was a problem hiding this comment.
🟢 Approval recommended
The changes match the stated link and tracking requirements, preserve experiment gating, and have no identified blocking issues.
No open issues 🎉
What changed in this PR
Aligns puzzle game pages’ useful links with the hub and adds tracking to distinguish support referrals.
Changes:
- Shares Support the Guardian and Help centre links across game pages.
- Adds separate hub and game-page UTM values.
- Updates controller tests while preserving crossword experiment gating.
| File | Description |
|---|---|
| applications/test/PuzzlesPageControllerTest.scala | Verifies game links with and without the newsletter. |
| applications/conf/puzzles-layout.json | Adds hub-specific support tracking. |
| applications/app/controllers/PuzzlesPageController.scala | Supplies shared game links. |
| applications/app/controllers/PuzzlesNewsletters.scala | Defines shared links and game-page tracking. |
| applications/app/controllers/CrosswordsController.scala | Uses shared links behind the existing experiment. |
Review effort: Balanced
andresilva-guardian
left a comment
There was a problem hiding this comment.
LGTM 👍
Small, focused change. The tests cover both the new useful links and the Cluesletter still showing. Since the crossword pages are still behind PuzzlesHubV1Experiment, the risk is low.
Two non-blocking notes:
- This replaces the "Crossword setter A-Z" and "Crossword blog" links on crossword pages rather than just adding to them. It looks intentional, as the goal is to match the hub, but could you confirm with product/design and mention it in the PR description?
- The hub UTM URL lives in
puzzles-layout.jsonand the game page one lives in Scala, so any future change to the params has to be made in two places. Fine to leave as is.
Approving.
|
Seen on ADMIN-PROD (merged by @DanielCliftonGuardian 6 minutes and 53 seconds ago)
|
|
Seen on FRONTS-PROD (merged by @DanielCliftonGuardian 8 minutes and 8 seconds ago)
|
What is the value of this and can you measure success?
The Puzzles & games hub and individual game pages now show the same useful links. The "Support the Guardian" links now have UTM codes, so Acquisitions can track contributions from P&G and tell the hub apart from game pages.
What does this change?
https://support.theguardian.com?utm_medium=ACQUISITIONS_EDITORIAL_LINK&utm_campaign=puzzles_games&utm_content=puzzles_hub&utm_term=puzzles_hub&utm_source=GUARDIAN_WEBhttps://support.theguardian.com?utm_medium=ACQUISITIONS_EDITORIAL_LINK&utm_campaign=puzzles_games&utm_content=puzzles_hub_game_page&utm_term=puzzles_hub_game_page&utm_source=GUARDIAN_WEBCrossword pages are still behind
PuzzlesHubV1Experiment