Adding Account # to an external Url for email campaign

andrewd10864294

20-12-2017

Hi All,

We are trying to start a campaign in which a customer who has a particular promotion will be flagged to get an email. The email will contain a URL to an external site but we want to add the customers account number to the end of the url.

Can this be done??

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Vapsy

Employee

28-12-2017

Hi andrewd10864294 ,

In order to accomplish this, please

  • go to the source of your HTML
  • Locate the href attribute of <a> tag where you wish to pass the account number.
  • Say you have an attribute @accountNumber inside recipient schema which you wish to pass inside the URL. You can do something like
    <a href="http://www.adobe.com/employee/<%= recipient.accountNumber %>">MyURL</a>

Hope this helps.

Regards,
Vipul