-
Notifications
You must be signed in to change notification settings - Fork 107
[PLTFRM-1777]: Add tracking to successful email sends #6615
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: develop
Are you sure you want to change the base?
Conversation
507d0a6 to
a471523
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #6615 +/- ##
=============================================
- Coverage 34.82% 34.81% -0.02%
- Complexity 5032 5048 +16
=============================================
Files 295 295
Lines 20743 20783 +40
=============================================
+ Hits 7224 7235 +11
- Misses 13519 13548 +29 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
a471523 to
655e284
Compare
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 tracking functionality for successful email sends in the VIP Mail system. The implementation integrates with Automattic's Tracks telemetry system to record email send events with relevant metadata.
- Adds tracking of successful email sends via the
wp_mail_succeededaction hook - Refactors mail blocking logic into a reusable
is_mail_blocked()method - Implements event data collection including user identification, email domain, and blog ID
|
|
Started looking at this w/ Rebecca over Slack, to address a few questions on how it should be implemented. I was given access to VIP to do tests, but it is EOD for me now and will resume tomorrow. |

Description
Adds tracking to successful email sends
Pre-review checklist
Please make sure the items below have been covered before requesting a review:
Pre-deploy checklist
Steps to Test
build_tracks_event_args(), add:ks sandbox logs -fin another screenwp_mail( '[email protected]', 'VIP Tracks Test', 'Hello world' );Expect to see in the sandbox logs: