TreatAsContent
Overview
Takes a supplied string value and treat it as a content area taken from a Marketing Cloud account. 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)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | string | Required | Provided content |
Example
<script runat="server">
var content = Platform.Function.TreatAsContent("stringContent");
</script>