2

I have been able to successfully pull in content using HTTPGET, but I only see the AMPScript when I view in Email Overlay view (under tracking reports)

%%[ 

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)=%%%

Is there another function/method I should be using?

Thanks!

1 Answer 1

0

Nope. That's the way to do it.

Content is generally stored with AMPScript intact, not rendered. The _Job and _Click System Data Views do contain some rendered dynamic content, but that's the only place I can recall that occurring.

If you're looking to archive rendered emails, it generally takes the form of CC/BCC or ponying up for an engagement for archiving sends in FTP. Financial institutions need to do this sometimes.

Our team has tried to retrieve and re-create rendered emails via scripting and/or API several times only to find it too troublesome.

You must log in to answer this question.

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