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

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.

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.

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

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