Treats a string as though it came in from a content area. To retrieve tracking information associated with these strings, wrap the embedded links within your HTML content using the HTTPGETWRAP command for tracking and analytics.

Use the TreatAsContentArea() function to treat your string as if it came from a content area.

The TreatAsContent() function has one parameter:

  • stringToReturn (string): Required. The string to return as content.

This example returns a string of text. If personalization strings are included, the function replaces those strings with the appropriate data.

Use this function only with data that has been reviewed and optimized to display as content.