Background
The iOS app now honors a user's web preferences for opting-out of donation banners, T352306. We want to measure the effect that honoring this setting is having on banner impressions within the iOS app.
Requirements
- Measure each time an in-app banner is not displayed because we are honoring a logged-in user's preference from Web.
Tasks
- Analytics - Document how instrumentation should be updated
- Engineers update instrumentation based on specs from Shay
- Analytics - Data validation once in beta (or active campaign if necessary)
Due Date: this should be completed by end of September 2024, or before the next banner campaign (whichever comes first).
Engineering Notes
- Add logging method to the DonateFunnel. Also please rename this file to "DonateFunnel.swift", this was missed from a past class rename.
- Here in the ArticleViewController+Announcements extension, if isOptedIn = false, call logging method.
QA Notes
You can test this in Staging 7.5.9 (93).
- Fresh install Staging 7.5.9 (93). Log into account. On Desktop Wikipedia, make sure account has Preferences > Banners > Fundraising checkmark off.
- Go to developer settings menu, turn on wmflabs setting for analytics.
- Background app, foreground, pull to refresh on Explore.
- Visit article on EN Wikipedia.
- Confirm banner is not seen, but new analytics event indicating banner was suppressed appears in wmflabs analytics portal.