We have an email that renders the HTML content passed through a SOAP API request.


Can link wrapping be added to the links within the HTMLContent?

1 Answer 1


Yes, with httpgetwrap|. It's not documented very well and it has some limitations that are outlined in these posts:

How to track URLs included in HTTPGet()

Dynamic Trackable Links in ExactTarget Email

  • I did try: %%[ SET @content = REPLACE(HtmlContent,'href="http','href="httpgetwrap|http') ]%% %%=TREATASCONTENT(@content)=%% But links did not get wrapped. Commented Mar 16, 2016 at 20:27
  • So SFMC Support enabled it? How are you verifying it? If you do a Guided Send or UI Send, it should wrap them. Commented Mar 16, 2016 at 20:43
  • They have to enable 'httpgetwrap'? I am verifying by sending a test email. The links are just the direct link not a wrapped link. Commented Mar 16, 2016 at 20:45
  • Yes, it has to be enabled by support (as mentioned in the @JonSakas post) Commented Mar 16, 2016 at 20:46
  • Oops...I guess I should read the whole content not just look at the code. :-( Thanks @adamspriggs!!! Commented Mar 16, 2016 at 20:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .