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}} renders in.
  • {{#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
<!-- Marketing Cloud Next test script for the impressionRegion helper. Paste it into the HTML component of a
     Next email and open the preview. Each line prints the result Next gave when the call
     was rendered on its own (expect) next to the result of this run (got).
     Assembled from single-call test emails (dates on the page); it has not been
     run as one email. Calls that make Next fail are listed separately. -->
<p>c1 expect=[in] got=[{{#impressionRegion "Probe"}}in{{/impressionRegion}}]</p>

Show calls that fail in Next (one email each)
<!-- Run each call below in its own Next email: one of them in a combined email
     would stop the whole preview or block the save. -->

<!-- email 1: expect that the save is rejected (HTTP 400) -->
{{#impressionRegion name="Probe"}}in{{/impressionRegion}}

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

See also