Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions apps/notifications/src/email/notifications/sendEmail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,16 @@ export const sendNotificationEmail = async ({
subject: emailSubject,
asm: {
groupId: NOTIFICATION_EMAIL_UNSUBSCRIBE_GROUP_ID
},
// Explicitly enable click tracking so SendGrid rewrites links and emits
// `click` events (consumed by the notifications-dashboard webhook for
// email engagement analytics) rather than relying on the account-global
// toggle. Open tracking is disabled: Apple Mail Privacy Protection
// pre-fetches the open pixel for ~half of traffic, making opens noise —
// clicks are the trustworthy email signal.
trackingSettings: {
clickTracking: { enable: true, enableText: true },
openTracking: { enable: false }
}
}

Expand Down
Loading