-
Notifications
You must be signed in to change notification settings - Fork 5
fix: Add matomo for message banner #2042
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
Conversation
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.
Pull request overview
This PR adds Matomo analytics tracking to message banner interactions in the Infomaniak Mail iOS app. The changes introduce a centralized approach for tracking user interactions with various message banners (spam, display content, encryption, unsubscribe, acknowledgement, and schedule).
Key Changes:
- Added a new
messageBannerevent category to Matomo tracking - Introduced a
matomoNamecomputed property to theMessageBannerenum for consistent event naming - Implemented analytics tracking across all message banner user interactions
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| MailCore/Utils/Matomo+Extension.swift | Adds new messageBanner event category for analytics |
| MailCore/Models/MessageBanner.swift | Adds matomoName computed property returning analytics event names for each banner type |
| Mail/Views/Thread/Message/MessageScheduleHeaderView.swift | Tracks analytics when user changes schedule date |
| Mail/Views/Thread/Message/MessageEncryptionHeaderView.swift | Tracks analytics when user views concerned recipients for encrypted messages |
| Mail/Views/Thread/Message/MessageBannerHeaderView.swift | Adds helper method and tracking for display content, spam, unsubscribe, and acknowledge banner actions |
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.
Just a few comments, great work
5fb6ad5 to
25d24ee
Compare
25d24ee to
323814c
Compare
|



This pull request adds Matomo analytics tracking to all message banner actions in the Mail app, enabling better monitoring of user interactions with banners.
The changes introduce a new
matomoNameproperty to theMessageBannerenum for consistent event naming, and ensure that analytics events are sent when users interact with these banners.