Tag a campaign to see it in reports
By Anna Tomalik
Whenever you run an ad campaign, be it a newsletter, banner ad, social media ad, or in-app ad, you probably want to know how it performs. Which creative attracts the most people? Which source refers the most traffic?
Using Analytics and campaign report, you can track the traffic from your campaigns and see how they are doing. To collect information about a campaign you need to add parameters to the its destination URL. For example, if you’re running a winter campaign through a pop-up ad on your website, newsletter, Google Ads, and Facebook Ads, you can tag the URL for each of these campaigns. Every time somebody clicks a tagged link, the parameters that you’ve added will be sent to Analytics and data about the campaign will be available in the campaign report.
Parameters that you can add
There are six parameters you can add to your URLs:
pk_campaign: The name for a campaign. For example, Winter_Promo.
pk_source: It helps you identify the advertiser, website, publication, and more. For example, Newsletter, Facebook, Google.
pk_medium: It describes the medium used for advertising. For example, CPC, banner, sponsored_post.
pk_keyword: It helps you identify paid search keywords. For example, free_bank_account.
pk_content: It is used to separate similar content within the same ad. For example, if you have a newsletter with two call-to-action buttons, you can tag each link for each button with a different pk_content parameter, and see which version is working better.
pk_cid: It helps you differentiate campaigns using an ID number. For example, if you are using two similar creatives for Facebook, and want to see which one performs better, you can tag them with a different pk_cid parameter.
When you add parameters to a URL, you should always use the pk_campaign parameter. Other parameters are optional, and you can add them if you want to.
How to add parameters
You can add parameters manually, or you can use the Piwik PRO URL Builder.
For example, if Clear Bank was running a Winter Promo campaign on Facebook using a sponsored post, they would use the following parameters:
If they used these parameters, the campaign URL would look like this:
View data in the campaign report
Once you set up your campaigns, you can see data related to these ads in the campaign report.
To see the campaign report, follow these steps:
- Go to Menu > Analytics (new).
- Navigate to Reports.
- On the left, click Campaigns.
This report will show you data grouped in five categories based on parameters used for tagging campaigns:
- Source / Medium
- Campaign ID
In the report you will see the following metrics:
- Visitors: The number of unique visitors that came from a campaign. Every visitor is counted once, even if they visit the website many times during the day.
- Sessions: The number of sessions performed by visitors that came from a campaign. A session starts with the first event and ends 30 minutes after the last event.
- Bounce rate: The percentage of sessions during which visitors that came from a campaign viewed only one page and didn’t continue to another page view, goal conversion, or ecommerce conversion.
Bounce rate = Bounces / Sessions * 100%
- Goal conversion rate: The percentage of sessions during which visitors that came from a session completed a goal.
Goal conversion rate = Sessions with a completed goal / Sessions * 100%
- Sum of goal revenue: The revenue counted for the goal.
By looking at the number of visits coming from each campaign, you will be able to quickly tell how they perform. Then you might decide to invest more in leading creatives or sources, and less in not-so-good ones.