This has been killing me all day today. I have an email that has two layers of variables in the AMPscript at the top. First, all of the links are put into variables, like this:
Set @HomePage = Concat('https://www.xxx.htm',@Append2)
Set @ContactUs = Concat('https://www.yyy.htm',@Append2)
Set @Login = Concat('https://www.zzz.htm',@Append2)
Next, I have blocks of copy to appear in the email dynamically depending on some attributes about the email recipient:
Set @dynamicIntro = CONCAT("Congratulations, blah blah blah xxx Plan Shopping.<br /><br />Don't miss out blah blah blah. And discover ways to earn even more by <a href=""",RedirectTo(@Login),""">logging into your account</a> blah blah blah.<br /><br />")
Now, in the body of the email, I call the dynamicIntro variable that was set up top. I've tried calling it with a v() or with a TreatAsContent(), but no matter what I do, the copy block does not track the link (ie, redirect from ET's servers with something like "http://click.mydomain.com/qs?c1234545667743
").
There must be some way to have the link tracked like all the other links in the email. Maybe using regions? Can anyone advise?
Thanks, Dave