EndImpressionRegion

Denotes the end of a region to track using impression tracking.

Availability

<table> <tr> <td>Marketing Cloud Engagement</td> <td>✅ Yes</td> </tr> <tr> <td>Marketing Cloud Next</td> <td>✅ Yes</td> </tr> </table>

Syntax

EndImpressionRegion(boolEndAllRegions)

The EndImpressionRegion() function has one parameter:

  • boolEndAllRegions (boolean): If true or 1, the function ends all previous impression regions. If false, the function only closes the preceding impression region. The default value is false.

Usage

To call the function, determine whether you want to end all impression regions, or only the impression region that preceded it.

This example ends the preceding impression region only.

%%=EndImpressionRegion(false)=%%

This example ends all of the impression regions in the message.

%%=EndImpressionRegion(true)=%%

The system automatically ends all impression regions that aren’t explicitly closed by the end of the email.

See Also