I am creating a chunk of html content by iterating through an external json.Most of this works nicely but not the tracking of the alias on links.
The button part looks like this:
html += '<a href="'+props.link+'" style="text-decoration:none;" target="_blank" alias="'+props.alias+'">'+props.text+'</a><!-- Button // -->';The whole chunk is lastly set into an ampscript parameter, like so
Variable.SetValue("@bodyContent", html);and then later output within the email body.
I would really like to find a way to make the alias work (alias="'+props.alias+') as my whole idea with a complex email is based on the dynamic creation of all content.
Any help would be highly appreciated









