Impression Tracking

What Is Impression Tracking

Impression tracking allows you to track the performance of emails that contain content built by AMPscript or selected by the dynamic content feature.

When you create an email using AMPscript or dynamic content, you can give each region in the email a unique identifier. The system can use the unique identifier to track, segment, and report against data for each region. 

Four reports are available to show the performance data gathered through impression tracking:

Impression Tracking by Job - This report shows the performance of an Impression Region for a single send (or job). The report shows the number of times the content area was sent as part of a job (i.e., number of impressions) and the link performance for links found within the impression region. This report also contains the overview tracking summary for the send.

Region Performance Over Time - This report shows how a single section of content performs over a period of time across multiple jobs. The region performance data is broken out by link found within the region and identified by the JobID for each send found during the defined time period.

Impression Tracking for Triggered Sends - This report shows the performance of an Impression Region for emails that have been triggered by an action of the subscriber.

Region Performance Over Time Report for Triggered Sends - This report shows how a single section of content performs over a period of time across multiple jobs in triggered emails.

Defining an Impression Region with AMPscript

You define an impression region in an email by using AMPscript functions:

  • BeginImpressionRegion(Name) - identifies the start of an impression region
  • EndImpressionRegion(optional Boolean) - closes the last opened impression region. You can pass a parameter to cause the system to call all impression regions.
  • ContentArea(AreaID,ImpressionRegionName) - identifies the start of an impression region if you pass a region name as the parameter. Using this function is equivalent to including BeginImpressionRegion() as the first statement in the content area.  Impression regions started in this manner remain open after the function completes.
  • ContentAreaByName(AreaName,ImpressionRegionName) - identifies the start of an impression region if you pass a region name as the optional second parameter. Using this function is equivalent to including BeginImpressionRegion() as the first statement in the content area. Impression regions started in this manner remain open after the function completes.

AMPscript Code Example

The following sample includes an offer for a holiday sale within the body of an email based on the state of residence of the subscriber.

%%[ If Auxiliary4 == "State1" then ]%%  %%=BeginImpressionRegion(Banner Placement)=%%<a href="http://www.northerntrails.com/site/olspage.jsp?id=pcmcat157500050008&type=category" alias="Banner: Holiday Sales - Ohio" target="_blank"><img alt="Ohio Holiday Sales" src="http://image.northerntrails.com/lib/fef41d77766c04/m/1/NTO_WeeklyBrand_080209.jpg" width="590" height="37" border="0" style="display: _fckstyle="display: _fckstyle="display: _fckstyle="display: _fckstyle="display: _fckstyle="display: _fckstyle="display: _fckstyle=" _fckstyle="display: _fckstyle=" _fckstyle="display: _fckstyle=" _fckstyle="display: _fckstyle="display: block;" _fckstyle="display: block;"></a>%%=EndImpressionRegion(Banner Placement)=%%  %%[ ElseIf Auxiliary4 == "State2" then ]%%  %%=BeginImpressionRegion(Banner Placement)=%%<a href="http://www.northerntrails.com/site/olspage.jsp?id=pcmcat157500050006&type=category" alias="Banner: Holiday Sales - Indiana" target="_blank"><img alt="Indiana Holiday Sales" src="http://image.northerntrails.com/lib/fef41d77766c04/m/1/NTO_WeeklyBrand_080209.jpg" width="590" height="37" border="0" style="display: block;"></a>%%=EndImpressionRegion(Banner Placement)=%%

Note: Also IF Banner Placement is a string literal instead of an Attribute/DE Column value, it needs to be quoted:

%%=BeginImpressionRegion("Banner Placement")=%%

The names of impression regions in used in the sample must be fixed (constant strings or numbers). Impression area names are case-sensitive and are stored in the case of their first occurrence.  There is not a limit on the number of unique regions that can be tracked.

If an impression region is not explicitly closed, it is closed at the end of the message being built.  An impression region opened in the HTML version of an email will not remain open when the Text version of the message is built.

Impression regions can be nested.  If three regions are opened without any EndImpressionRegion() calls, all three remain open and the final one opened is the active one returned for resolving the related substitutions.  If one EndImpressionRegion() call is issued, the second region will become the active region and so on.  Issuing EndImpressionRegion(true) will close all open regions.

Two substitutions are supported for impression regions. The %%_ImpressionRegionID%% substitution will return the active region ID or 0 if none is active.  Also supported is an %%_ImpressionRegionName%% substitution that will resolve to the currently active impression region for content that contains the substitution. This will evaluate to an empty string if no impression region has been set.

How to Define an Impression Region with the Dynamic Content Wizard

Once your account has been configured with the Impression Tracking capabilities, building an email that contains Dynamic Content functions is the same as usual. The names of the stored content areas used within your email will be names used for the Impression Regions. There is no additional setup of work that has to be done.

The steps for a Dynamic Content based email are as follows:

  1. Create your content to be used as part of your Dynamic Content
  2. Define your Dynamic Content rules
  3. Select your audience and send your email
  4. Use the Impression Tracking reports available under the "My Reports" section of the Tracking tab to view send performance and impression region performance.  
Tag page

Files 2

FileSizeDateAttached by 
Impression Tracking by Job.xls
Sample Report
21.5 kB12:17, 25 Sep 2009AdminActions
Region Performance Over Time.xls
Sample Report
19 kB12:17, 25 Sep 2009AdminActions
You must login to post a comment.