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?


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. Mar 16 '16 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. Mar 16 '16 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. Mar 16 '16 at 20:45
  • Yes, it has to be enabled by support (as mentioned in the @JonSakas post) Mar 16 '16 at 20:46
  • Oops...I guess I should read the whole content not just look at the code. :-( Thanks @adamspriggs!!! Mar 16 '16 at 20:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.