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

Ordinal Type Description
1 string Required Provided content

Example

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