We are using AMPscript HTTPGet to pull in some HTML dynamically. The issue is that the URLs are not being wrapped in ET's tracking so clicks aren't being logged.
There are a few parts to this answer.
First, you have to call your ExactTarget support rep and have them enable WRAP HTTPGET URLS for your account.
Second, all URLs in the HTTPGet that you want tracked must be preceeded by
httpgetwrap|. So for instance, a full HTML url would look like.
<a href="httpgetwrap|http://www.example.com/">. If you do not have the httpgetwrap| in the href, its also possible to use something like this:
Third, when you output the the HTML content, you must wrap it in
The full code snippet should look something like this:
%%[ var @getStatus, @getURL, @content set @getURL = "http://www.example.com" set @content = HttpGET(@getURL, false, 2, @getStatus) set @content = Replace(@content,'href="http','href="httpgetwrap|http') ]%% %%=TreatAsContent(@content)=%%%
Update: If you are using a user-initiated send, you must have the "track all links" option selected or they will not be wrapped.