If I code the html in an email like this will doing so allow me to run the following sql and find examples of "linknametextgoeshere" when those email links are clicked?

enter image description here select LinkName from _click

Basically, does the LinkName field in the _click data view capture information from the alias field as I've coded it?

1 Answer 1


Surprisingly this question can be answered with a simple word - Yep.

The LinkName is filled in by what you put inside of alias inside of the HTML. The caveat of it though is that if you put AMPScript inside of the alias tag, it will only display the AMPscript, not the final processed value.


<a href="..." alias="%%=v(@alias)=%%"> would return %%=v(@alias)=%% as the LinkName.

The best workaround for this is to use a concat to build the alias attribute in the a tag. Like so:

<a href="..." %%=CONCAT('alias="', @alias,'" ')=%% >

but I seriously recommend always using a static value for alias wherever and whenever possible.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.