-
Notifications
You must be signed in to change notification settings - Fork 262
WS-222: [CANONICAL] - Delete dead/unused ATI code in Simorgh #13526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: latest
Are you sure you want to change the base?
Conversation
…anonicalATIAnalytics
5779395 to
d4cf896
Compare
Isabella-Mitchell
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove useReverb from https://github.com/bbc/simorgh/blob/WS-222-clean-up-CanonicalATIAnalytics/ws-nextjs-app/cypress/e2e/specialFeatures/atiAnalytics/assertions/index.ts#L186 (can see there were some recent changes here relating to homepage migration)
Isabella-Mitchell
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for going over this on the call earlier. I think still have some way to go to understanding this work completely, but it makes sense as far as I can tell!
WS-222: Fix flaxy atuserid/idclient e2e tests
This has been resolved via #13582. |
HarveyPeachey
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really great work on this Alex, just a couple of comments
| export const MIN_SIZE = 924; | ||
| export const MAX_SIZE = 1294; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
|
|
||
| export const assertBillboardComponentClick = ({ | ||
| pageIdentifier, | ||
| contentType, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this supposed to be removed from here?
Resolves JIRA: WS-222
Summary
Phase out the legacy ATI/Piano code from the Simorgh codebase following successful migration
of page and component tracking to Reverb.
Code changes
Audio, OnDemand TV and Topic Page to revert utility of
useReverbconfig for the Express app.atiAnalyticscomponent event tracking assertions for the Express app.atuserIde2es #13396 viacypress/e2e/specialFeatures/atiAnalytics/assertions/index.js
MIN_SIZEandMAX_SIZE.Media Asset Page, Photo Gallery Page and Story Page to revert utility of
useReverbconfig for the Next.js app.atiAnalyticscomponent event tracking assertions for the Next.js app.pageviewParamsprop fromAmpATIAnalyticstests.pageviewParamsprop fromCanonicalATIAnalytics.useReverbfrom event tracking hooks.xtortracking in the Lite site tracking code.useReverbfrom service config.useReverbfrom service config type definition.atiUrlfrom processClientDeviceAndSendStaticBeacon.- Update snapshots to reflect the year 2026.~ ~src/integration/pages/<page_type>/<service_name>/__snapshots__/<snapshot_name> ws-nextjs-app/integration/pages/<page_type>/<service_name>/__snapshots__/<snapshot_name>~ ~Resolved via New year, new snapshots #13580
Developer Checklist
Testing
Ready-For-Test, Local)Ready-For-Test, Test)Ready-For-Test, Preview)Ready-For-Test, Live)Additional Testing Steps
Tracking Requests
Data Persistence
via reports and data queries.
Useful Links