QuestionQ45

VerifiedScripting and Automation

A developer needs a link to change dynamically according to subscriber attributes. Instead of creating many links, the developer uses AMPscript to assign the link value to a variable. The variable will be used inside the <a> tag.

What must the developer do within the <a> tag to make sure clicks on the variable are tracked?

Explanation

RedirectTo() creates a tracked redirect for a destination URL stored in an AMPscript variable and is intended for use in the href attribute of an HTML email anchor tag. V() only outputs the variable’s value, while an alias attribute only provides a reporting label for a link.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!