Handlebars impressionRegion
Handlebars impressionRegion: marks the enclosed part of a message as a named impression region for reporting on dynamic content.
Next
Verification in progress
Differs from official docs
Test scripts included
Marks the enclosed part of a message as a named impression region for reporting on dynamic content. Adds no output of its own.
Syntax
{{#impressionRegion "name"}}
…
{{/impressionRegion}}
Returns string.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
name |
string | Yes | Name of the impression region; given on the opening tag only. |
Example
Tested in Marketing Cloud Next emails on 2026-11-25, one call per email:
{{#impressionRegion "Banner"}}in{{/impressionRegion}}rendersin.{{#impressionRegion name="Banner"}}in{{/impressionRegion}}: the email cannot be saved; Salesforce answers that the helper needs a positional argument instead of hash syntax.
Thanks to Nobuyuki Watanabe’s SFMC Tips #344 for the positional syntax.
Show Next test script
Show calls that fail in Next (one email each)
Differs from official docs
- The reference passes the region name as a hash argument,
name="…". Marketing Cloud Next rejects that form when the email is saved and asks for a positional argument;{{#impressionRegion "Banner"}}…{{/impressionRegion}}works. Details
Marketing Cloud Next
Differs from the documentation
Works with the region name as a positional argument. The documented name="…" form is rejected when the email is saved. Tested 2026-11-25 by rendering in a Marketing Cloud Next email.
See also
- AMPscript
BeginImpressionRegion— does a similar job in AMPscript, with a different call shape - AMPscript
EndImpressionRegion— does a similar job in AMPscript, with a different call shape - Official reference