ContentArea

Overview

Returns the content stored in the content area specified by its ID

Syntax

ContentArea(1, 2, 3, 4)

Function Properties

Ordinal Type Description
1 string Required ID of specified content area
2 string Required Name of any impression region contained in content area
3 string Required Error message to deliver when the function cannot return content
4 string Required Content area to display when the function cannot find other content

Example

In this sample code, the variable gets the information from the specified content area. The content is not written to the email or landing page you create. Instead, the content resides in the variable for use as any other string:

var myContent = ContentArea(12345);
Last Updated: Jun 8, 2021