ContentAreaByName

Overview

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

Syntax

ContentAreaByName(1, 2, 3, 4)

Function Properties

OrdinalTypeDescription
1stringRequiredName of specified content area
2stringRequiredName of any impression region contained in content area
3stringRequiredError message to deliver when the function cannot return content
4stringRequiredContent 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: