0

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

%%=TREATASCONTENT(HTMLContent)=%%

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

1 Answer 1

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

5
  • I did try: %%[ SET @content = REPLACE(HtmlContent,'href="http','href="httpgetwrap|http') ]%% %%=TREATASCONTENT(@content)=%% But links did not get wrapped. 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. 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. Mar 16, 2016 at 20:45
  • Yes, it has to be enabled by support (as mentioned in the @JonSakas post) Mar 16, 2016 at 20:46
  • Oops...I guess I should read the whole content not just look at the code. :-( Thanks @adamspriggs!!! 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 .