EndImpressionRegion
Overview
Ends an impression region within the supplied content. You can use the impression region to identify specific areas of content for analytical purposes.Syntax
EndImpressionRegion(1)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | Boolean | Indicates whether the function closes all nested impression regions. A value of true closes all nested impression regions. A value of false does not close all nested impression regions. |
Example
<script runat="server>
Platform.Function.BeginImpressionRegion("mainBlock");
var content = Platform.Function.ContentArea("123456");
var moreContent = Platform.Function.ContentArea("789");
Platform.Function.EndImpressionRegion("mainBlock");
</script>