Track link clicks in your emails with AhaSend’s click tracking feature - understand how it works, requirements, and implementation across SMTP and API
The Tracking Process
Link Requirements
<a>
tags with href
attributehttp://
or https://
protocol=
in href attribute<a href="https://example.com">Click here</a>
<a href="http://www.example.com/page">Visit page</a>
<a target="_blank" href="https://example.com">Open in new tab</a>
Links Not Tracked
http://
or https://
protocoldata-as-no-track
attributeInvalid Link Formats
<a href="example.com">Link</a>
(missing protocol)<a href="www.example.com">Link</a>
(missing protocol)<a href= "https://example.com">Link</a>
(space before quote)<a href = "https://example.com">Link</a>
(spaces around =)<a href="{{ url_variable }}">Link</a>
(custom variable only)Email Client Variations
Information Collected
Recipient Awareness
Opt-out Considerations
ahasend-track-clicks
header to control tracking:
ahasend-track-clicks
header accepts true
or false
values and overrides your account-wide click tracking setting for individual emails./v2/accounts/{account_id}/messages
) provides native support for tracking configuration:
tracking
field at the root level, making it easier to manage tracking settings without dealing with custom headers./v1/email/send
), include tracking headers in the content.headers
field:
data-as-no-track
attribute:
Link Formatting
http://
or https://
protocolPrivacy and Compliance
Link Strategy
data-as-no-track
for administrative linksData Analysis