The ROI Revolution Blog
How to Track Offline Ads with Google Analytics
February 8, 2006
By now you may be aware that Google is testing the placement of ads from AdWords advertisers in select print publications.
Basically, Google has begun auctioning ad space in well-known magazines to see if this type of auction makes sense for print.
From the Inside AdWords blog:
Recently, we’ve been testing the placement of ads from our AdWords advertisers in select print publications. To help us figure out where and how we can best bring value to print advertising, we’ve experimented with text ads, templated ads, and full page display ads. And now, in the continued spirit of testing, we’re auctioning ad space in well-known magazines. Why? Because we want to better understand our advertisers’ interest in this ad space and see if this type of auction makes sense for print.
But if you do this type of ad, or even an ad in a local newspaper, you may want to use Google Analytics to track the ad if its purpose is to lead to an online conversion (such as a sale or a lead generation).
Here are a couple of ways to do it:
The other method is to create a redirect from a subdirectory. If your print ad in the New York Times tells people to visit www.yoursite.com/nyt, then you can set up a redirect script within that subdirectory’s index that plugs in the proper tracking codes and takes your visitors to the appropriate destination.
function Redirect(source, campaign, content)
var url = top.location.href;
url.indexOf('utm_medium') == -1 &&
url.indexOf('utm_source') == -1 &&
url.indexOf('utm_campaign') == -1 &&
top.location.href = url + '?' +
'utm_medium=offline' + '&' +
'utm_source=' + source + '&' +
'utm_campaign=' + campaign + '&' +
'utm_content=' + content;
Just throw an onLoad event into your page’s <body> tag:
<body onload="Redirect('NYT', '0602','pg16')">
When the hits start coming in, you’ll have data on the medium (offline), the source (New York Times), campaign (all February issues), and even which ad delivered the traffic (the one on page 16).