Grant Digest Email Metrics: Disable click-tracking for magic links #3097
Labels
good first issue
Good for newcomers
Grant Finder
Issues related to the Grant Finder
javascript
Pull requests that update Javascript code
metrics
Subtask of User Story: Grant Digest Email Metrics #2749
Blocked by
N/A
Blocks
Definition of Done
When magic links sent in
passcode
-type login emails are clicked, the click event does not show up in SES event logs.Implementation details
ses:no-track
HTML attribute can be added to anchor tags in order to disable click-tracking for that particular link in an email. Since this is a nonstandard HTML attribute, SES will remove it from the email body before sending.<a ses:no-track href="https://example.com">Clicks for this link will not be tracked!</a>
sendPasscode()
function ofpackages/server/src/lib/email.js
, Add theses:no-track
HTML attribute to the<a>
tag that provides the "magic link" in passcode emails.The text was updated successfully, but these errors were encountered: