5.71.0
Minor Changes
-
#5630
2877954Thanks @Silthus! - A send withtemplateKeynow takestrackingandsensitive.trackingchooses what PostHog tracks for the email.tracking: trueturns on opens, clicks and engagement events.tracking: falseturns them all off. An object such as{ clicks: true }or{ engagement: false }turns each kind on or off, and a key you leave out keeps its default. Without it, PostHog counts opens, captures engagement events, and counts clicks only when the email isn't sensitive.sensitivemarks an email that carries login links, reset tokens or codes. A sensitive email keeps its links as they are unlesstrackingturns clicks on, leaves its subject off engagement events, and keeps its content out of PostHog's logs. Without it, a send whosetemplateKeymatches a template saved in PostHog follows that template's setting, and any other send is sensitive. PostHog refusessensitive: falsewhen the matching template is sensitive. A send that sets neither option works exactly as before.captureEngagementis deprecated in favor oftracking: { engagement: false }. It keeps working, but PostHog refuses a send that sets both.trackingandsensitiveneed PostHog's API support, which is rolling out. Until it reaches your PostHog instance, PostHog refuses a send that sets either one. (2026-11-12)