Dynamic Link Tracking
AMPscript enables dynamic content to be included as an alias attribute in html anchor links within HTML email content. In turn, these values are available in email engagement reports.
Example
In this example, a ‘Country’ value is retrieved from a ‘Members’ Data Extension based on a matching ‘Subscriber Key’ value. In turn, click engagement can be tracked based on a Subscriber’s country.
<a href="https://limedash.com" alias="%%=Lookup('Members','Country','Subscriber Key', _subscriberKey)=%%">Offer</a>
NOTE: Marketing Cloud limits the number of unique resolved alias values to 100. If the number of unique alias names is greater than 100, the additional links will only be tracked by the link name, not by the alias name.