I have a triggered send configured to enable sending dynamic content. In order to allow for click tracking of links within the HTML body, I followed the instructions outlined in this post. However, the links are coming through unwrapped when I make a send. Below is the soap envelope of the send alongside the Email definition.
Current soap envelope (Relevant part is the HTML__Body section):
<?xml version="1.0" encoding="UTF-8" ?>
<SOAP-ENV:Envelope xmlns:etns="http://exacttarget.com" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns0="http://exacttarget.com/wsdl/partnerAPI" xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header>
<wsse:Security mustUnderstand="true">
<wsse:UsernameToken>
<wsse:Username>*</wsse:Username>
<wsse:Password>*</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
<etns:oAuth>
<oAuthToken>*</oAuthToken>
</etns:oAuth>
</SOAP-ENV:Header>
<ns1:Body>
<ns0:CreateRequest>
<ns0:Objects xsi:type="ns0:TriggeredSend">
<ns0:TriggeredSendDefinition>
<ns0:CustomerKey>test_key</ns0:CustomerKey>
</ns0:TriggeredSendDefinition>
<ns0:Subscribers>
<ns0:EmailAddress>[email protected]</ns0:EmailAddress>
<ns0:Attributes>
<ns0:Name>HTML__Body</ns0:Name>
<ns0:Value><![CDATA[<body> Test Content <a href="httpgetwrap|https://www.example.com"> prod link </a> </body>]]></ns0:Value>
</ns0:Attributes>
<ns0:Attributes>
<ns0:Name>Subject</ns0:Name>
<ns0:Value>THIS IS A TEST SEND
</ns0:Value>
</ns0:Attributes>
<ns0:SubscriberKey>[email protected]</ns0:SubscriberKey>
</ns0:Subscribers>
</ns0:Objects>
</ns0:CreateRequest>
</ns1:Body>
</SOAP-ENV:Envelope>
Current email defintion:
<html><custom name="opencounter" type="tracking"> %%=TreatAsContent(HTML__Body)=%% </html>
Note that I have spoken with support and confirmed that the WRAP HTTPGET URLS business rule is enabled. I also checked "track all links found within this email" when creating the triggered send. Another notable fact is that the links come through withouth the "httpgetwrap|" prefix which means the AMPScript directive is being parsed but somehow not getting executed as expected. Any help would be greatly appreciated. Also worth noting is that this is on an Enterprise 2.0 account.