Integrate error tracking in your Node.js notification service by capturing delivery exceptions, attaching a stable delivery reference and timestamp, and sending a deliberately restricted event to your backend API; decide where that event may live before exporting the first stack trace.
TL;DR: For e-commerce delivery failures, reconstruct the failed attempt from an opaque delivery reference, an attempt number, a release identifier, and a classified error. Keep recipient addresses, order contents, and message bodies outside the telemetry payload. Region, retention, deletion, and processor approval determine the destination. A dashboard cannot make that decision for you.
Start with the page. What page fired, which delivery attempt does it describe, and what evidence would distinguish a failed notification from one that was never attempted?…