TreatAsContent

Takes a supplied string value and treat it as a content area. This function renders all included dynamic content, scripts, and personalization strings. Use the HTTPGETWRAP command to wrap links for tracking and analytics within this function.

Syntax 

TreatAsContent(1)

Function Properties 

OrdinalTypeDescription
1stringRequiredProvided content

Example 

1<script runat="server">
2     var content = Platform.Function.TreatAsContent("stringContent");
3</script>