We built a way to determine the performance of the pieces of content on any page of the website or app. You might be wondering how often a specific ad or a banner was displayed and viewed by your visitors on any of your pages and how often a visitor actually interacted with them. We call these two parts content impression and content interaction.

This feature is not only limited to ads or banners. You can use it for any kind of content. Once a page has loaded we log a content impression for each content block that is visible to the user. A content block consists of a content name (My Product 1), a content piece (“product1.jpg” or “Buy Product 1 now”) and a content target (http://landingpage.example.com). As soon as a visitor clicks on a content block a content interaction is logged allowing you to analyze the ratio of content impressions to content interactions. As soon as a visitor scrolls down the page and sees more ads/banners/blocks, we automatically log the impression for each block.

Viewing Content Tracking reports

Go to Piwik. In the menu click Actions and then Contents.

Content Name report

The list of all your Content names along with the metrics Impressions, Content Interactions and Interaction click rate (%).

Piwik Analytics tracking impressions Clicks Click-Rate on banners and any page elements

Each Content Name can be clicked to view the list of Content pieces with this name:

Content Names Content Piece report in Piwik

This lets you see at a glance all the elements you may be measuring (banners, listings, thumbnails, etc.).

Content Piece report

The list of all your Content pieces along with the metrics Impressions, Content Interactions and Interaction click rate (%).

Piwik Contents Tracking Content Piece report

Each Content piece can be clicked to view the list of Content Names for this piece.

Requesting Content Tracking report data

You may use the Contents API to request all data for Contents.

Tracking Content

Mark each content block with a data-track-content HTML attribute or piwikTrackContent CSS class. Then activate content tracking by calling one of those two methods:

_paq.push(['trackAllContentImpressions']);

To track all content blocks within a page.

_paq.push(['trackVisibleContentImpressions']);

To track only visible content blocks within a page.

For a list of all available methods have a look at the JavaScript Tracker reference. Developers should have a look at the in-depth guide on how to track content.

Tracking Content with HTTP API

Use Content Tracking from any application or server, with the Tracking API. View the Content Tracking HTTP API here.

Any questions?

Many answers and more information about Piwik You can find here:

We are social

Follow us: