Add push notification setup tracking events#16711
Open
Conversation
Collaborator
Generated by 🚫 Danger |
Collaborator
|
|
a76dd97 to
dc0c7fa
Compare
Instrument 8 analytics events for the push notification setup flow: card view, settings tap, introduction view/buttons, flow success/error, flow button taps, and flow close. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
191025c to
d8ebf78
Compare
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix extra spaces in analytics factory method calls - Remove unused SetupButton.done enum case - Rename noMissingRequirements to setupNotRequired - Remove setup_not_required analytics tracking (not a real error) - Add pushNotificationsSetupIntroductionLinkTap event for whatIsWPCom - Replace duplicated assertEqual helpers with MockAnalyticsProvider.assertReceived Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
adborbas
commented
Feb 24, 2026
| Localization.tryAgain | ||
| } | ||
|
|
||
| var isShowingDoneButton: Bool { |
Contributor
Author
There was a problem hiding this comment.
Done button was not used on the UI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Closes WOOMOB-2279
Description
Adds analytics tracking for the WPCom push notification setup flow defined in pe5sF9-4Xn-p2
Test Steps
Run the app on a simulator and monitor the Xcode debug console for tracked events.
push_notifications_card_viewsettings_push_notifications_button_tappush_notifications_setup_introduction_viewpush_notifications_setup_introduction_button_tapbutton_label:continue|not_now|update_pluginpush_notifications_setup_introduction_link_tappush_notifications_setup_introduction_errorerror_type:no_permission|genericpush_notifications_setup_flow_successstep:connect_wpcom|plugin_compatibility|enable_push_notificationspush_notifications_setup_flow_button_tapbutton_label:go_to_my_store|try_again|update_pluginpush_notifications_setup_flow_closepush_notifications_setup_flow_errorstep:connect_wpcom|plugin_compatibility|enable_push_notificationsScreenshots
N/A
RELEASE-NOTES.txtif necessary.