One of the problems people run into is their inability to track redirects in Google Analytics. For example, let’s say you purchase radio or print ads in order to advertise a product. Rather than simply advertising your domain name (ie (www.yourdomain.com), you may add an easy to remember folder name (ie. www.yourdomain.com/adpage), which redirects to the appropriate product page (which is probably too long and complicated to display on a radio, TV, or print ad).
Let’s say you are advertising the following page via radio ads:
This page actually redirects to the page below
Here are two ways you can track visits and user behavior for people landing on www.yourdomain.com/adpage.
Add campaign tracking to your forwarding page. So, on this page:
Rather than 301 redirecting to:
The 301 redirect should actually redirect to:
You will then be able to track the number of times www.yourdomain.com/adpage was visited by looking at your new Campaign (under Traffic Sources) metrics.
Make sure your analytics tracking is on your redirecting page, before the script to run your redirect. So on this page:
Make sure your analytics tracking code appears before your redirect runs. You will then be able to track the number of times www.yourdomain.com/adpage/index.php was visited by looking at your Top Content or Top Landing Pages (under Traffic Sources).