Campaign tracking in Woopra allows you to monitor and measure the effectiveness of your various campaigns. Campaigns are essentially custom event properties of your landing pageview event and can be tracked the same way as any other property.
However, to simplify the process for tracking campaigns, the Woopra script is designed to read specified tags from your URL and automatically add them as custom event properties to the landing pageview event.
How it Works
Woopra’s campaign tracking works by identifying key tags stored in the URLs of your campaign landing pages. Normally when a visitor clicks a link to your site, they just go to:
The problem with this is it doesn’t really tell you or Woopra much about how the visitor got to your site. Campaign tracking works by appending information to the end of the link so that Woopra can see which campaign the visitor clicked on to get to your site. These pieces of information look like:
When Woopra sees this information, it automatically categorizes that activity with the campaign named “webinar”. There are five tags that Woopra tracks. Three of them are critical and should be used on all ad traffic: campaign name, source, and medium.
Below, you will find an example campaign URL with Woopra tags. This URL represents a banner add on CNN.com with campaign name “promo”.
In this example:
- Campaign name is “promo”
- Campaign source is “CNN”
- Campaign medium is “web”
- Campaign content is “banner”
Supported URL Tags
The “woo” tags below can be used to automatically send campaign information as custom event properties to Woopra. Note: you may use “utm” instead of “woo” tags in order to be compatible with your GA tags.
- woo_campaign: This will become custom event property “campaign_name” in Woopra
- This is the name of the campaign. Each campaign needs a unique name. Names can vary from a time period like “June” all the way to a product slogan or announcement title.
- Campaign Source is where the ad was displayed. If the ad was displayed on Citysearch, this value would be Citysearch. If the ad was on Google, then it would be Google.
- Campaign Medium is the type of ad that was displayed. For example, this could be a banner ad, email, or even a tweet.
- Campaign Content is used to distinguish two very similar ads. For example, if you had a banner ad placed at the top of a page and a banner ad placed along the side, you would want to be able to distinguish between them when analyzing in order to determine which location on the web page was more effective. You could use “topbanner” and “rightsidebanner” to designate each.
- Campaign Term can be used to list out the terms purchased for the ad. This is usually specific to Google Adwords.
Note: If you have different tags outside of those listed above, you can manually adapt those tags to the script by populating the campaign properties programmatically.
Now, on the Woopra app side, you will have 5 reports out of the box showing you top campaigns by name, source, medium, content or keywords.
A good place to start is under Analytics > Campaigns > Campaign Name.
The Campaign Name report (see screenshot above) will show you how many visitors, visits and actions resulted from each campaign you run to your website. This report is the most basic way to see which campaign is the most successful.
The Campaign Source, Campaign Medium, Campaign Content, and Campaign Keywords reports will display similar information. These pre-set reports are just the beginning of how campaign data on your site can be analyzed.
Using Campaigns Throughout Woopra
Since these tags are really just properties of your landing pageview event, you will be able to use them throughout Woopra just as you would any other property. They may be used:
- To segment reports (e.g. segment a report by all people who came from a campaign with source CNN.com)
- As a goal in a funnel (e.g. first goal is arriving from campaign with medium “web”)
- As a step in a retention report (e.g. initial step is arriving from campaign with name “promo”)
- As a trigger (e.g. trigger email to customer whenever someone arrives from campaign with source CNN.com)
Tag URLs With Visitor Identification Properties
Woopra supports the ability to tag urls to identify customers when they land on your website. If you’re sharing links through private channels like emails, you can append some extra attributes to the URL that identify the person. In order to do so, you should use the
wv_ prefixed attribute. The example below shows you how you can build a URL that automatically identifies the person on Woopra as soon as they click on that link and land on your website:
The URL above will add the
This is a great way to manage your email marketing leads and keep your data as accurate as possible.
Hide campaign properties from URL
When the user lands on your website, you may want to hide the campaign properties from the URL. Woopra uses HTML5 pushState to rebuild the URL by removing the campaign properties.
To activate this feature, you must add the option
hide_campaign: true to the config function in your Woopra JavaSscript Tracking Code.