AMPscript
BeginImpressionRegion
ContentArea
ContentAreaByName
ContentBlockById
ContentBlockByKey
ContentBlockByName
ContentImagebyID
ContentImagebyKey
EndImpressionRegion
TreatAsContent
Validate Your Server-Side JavaScript using WSProxy
Begin an impression region within the supplied content. You can use the impression region to identify specific areas of content for analytical purposes.
BeginImpressionRegion(1)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | string | Required | Name of impression region |
1<script runat="server>
2 Platform.Function.BeginImpressionRegion("mainBlock");
3 var content = Platform.Function.ContentArea("123456");
4 var moreContent = Platform.Function.ContentArea("789");
5 Platform.Function.EndImpressionRegion("mainBlock");
6</script>