---
schema_version: "1"
id: 783db52a53a828d2b54c3d44500b51ada19e0a7e4217d31159b8d8f3501872ea
title: Impression Tracking
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/ampscript/guide/mc-ampscript-impression-tracking.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/guide/mc-ampscript-impression-tracking.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: cd72b10e2740078a184b223ebb54365da40d09923522fbd4a70a3a407947177c
products:
  - AMPscript for Marketing Cloud
  - Marketing Cloud
---
# Impression Tracking

Use impression tracking to define a region of content in an email. After you send the email, you can view reports in Email Studio that track the performance of each impression region.

## Impression Tracking Considerations and Capabilities

There are several important behaviors and capabilities to understand when adding impression regions to your emails.

- Impression region names are case insensitive.
- There’s no limit on the number of impression regions that you can add to an email.
- Impression regions can be used in both HTML and text portions of an email.
- Impression regions can contain dynamic content.
- Impression regions can be nested within one another.

## Using Impression Regions

Start and end an impression region by using the [BeginImpressionRegion()](/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-begin-impression-region.html) and [EndImpressionRegion()](/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-end-impression-region.html) AMPscript functions, respectively. You can also use one of the functions related to content blocks ([ContentBlockByName()](/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-block-by-name.html), [ContentBlockByKey()](/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-block-by-key.html), and [ContentBlockById()](/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-block-by-id.html)) to insert a content block into your email and associate that block with an impression region.

If you don’t explicitly close an impression region, the system closes that region at the end of the message. In this situation, an impression region that you open in the HTML version of an email doesn’t remain open when the text version of the message builds. If you open multiple regions and don’t close them, all remain open and the final impression region opened remains the active one returned for resolving the related substitutions. If you issue one `EndImpressionRegion()` call, the second-to-last region becomes the active region. Issuing `EndImpressionRegion(true)` closes all open regions.

## Email Studio Reports

The reports in Email Studio group impression regions by job. You can view metrics that encompass the entire job and that provide details about individual impression regions. For more information, see [Track Impressions by Job Report for Email Studio in Analytics Builder](https://help.salesforce.com/s/articleView?id=mktg.mc_re_impression_tracking_by_job_report.htm).
