From d2b634c775f5f54ed94e758730d9c830e5592a2c Mon Sep 17 00:00:00 2001 From: mantikoros Date: Fri, 12 Aug 2022 11:33:02 -0500 Subject: [PATCH] template email tracking --- functions/src/send-email.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions/src/send-email.ts b/functions/src/send-email.ts index d081997f..7ff4c047 100644 --- a/functions/src/send-email.ts +++ b/functions/src/send-email.ts @@ -35,6 +35,8 @@ export const sendTemplateEmail = ( subject, template: templateId, 'h:X-Mailgun-Variables': JSON.stringify(templateData), + 'o:tag': templateId, + 'o:tracking': true, } const mg = initMailgun()