BeginImpressionRegion
→ voidMarks the start of a named impression region in rendered content. Pair with EndImpressionRegion for analytics that attribute views to specific sections.
Available in:
Email
CloudPage
Automation
Triggered Send
Syntax
Platform.Function.BeginImpressionRegion(name)
1 argument
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
name |
string | Yes | Identifier for the impression region |
Examples
Platform.Function.BeginImpressionRegion("hero");
Write(heroHtml);
Platform.Function.EndImpressionRegion();
Platform.Function.BeginImpressionRegion("promo-slot-1");
Write(promoContent);
Platform.Function.EndImpressionRegion(true);