Tracking Redirects with Google Analytics
I'm going to test out the advice found here:
http://www.seoracle.com/google-analytics-how-to-tutorial/analytics-redir...
on tracking redirects in Google Analytics.
I'm going to use the path redirect module to redirect a dummy page to this page with the info below tacked on:
www.yourdomain.com/redirected-page-name?utm_source=yoursource&utm_medium...
I'll write some more after I hook it up and see if it works....
Ok, I added the redirect using path redirect so that:
http://kristen.org/test-redirect
redirects to:
http://www.kristen.org/content/tracking-redirects-google-analytics?utm_s...
I went to it a few times but it's not showing up yet in Google Analytics. I'll see if I need to configure something on that end...
It may take some time to see anything according to this post: http://drupal.org/node/689264 though I'm not even seeing anything if I drill down. But, this is a new page, so maybe it will pick it up in a few hours.
Meanwhile, I'm going to try changing the campaign/etc to something else:
http://www.kristen.org/content/tracking-redirects-google-analytics?utm_s...
and see if this or the previous or both eventually show up.
Followup: (9/29/10) I was just prodded for the results of my testing. The campaigns *did* show up so just be patient. Here's what it looks like on the Google Analytics campaign screen:
- kristen's blog
- 276866 reads
This is a featured content block that has been configured to show blog nodes with terms SEO or Drupal SEO by the author kristen. It shows random list of 20 results in the block and 30 results on the more page.
- BADCamp Drupal SEO Presentation 2009
- Drupal Node Teaser SEO
- Fix Duplicate Content with Global Redirect Module
- Drupal SEO Modules
- Drupal Nofollow Link Sculpting
- Drupal Meta Tags (nodewords) Module for SEO
- Drupal Pathauto URL Aliases Settings
- 503 HTTP Status Code when Site Down
- Basic SEO Top 10
- Make Drupal SEO Friendly
- Free Google Keyword Research Tool
- Drupal SEO Reviews
- Drupal Has Multiple h1 Tags
- Free SEO Tools
- HTML Validation: Free HTML Validator Tools
- Drupal Pathauto Module
- Kristen
Comments
fastest and easiest way
I solved the problem with javascript help. Wrote guide how to do it: http://pilotaz.blogspot.com/2013/06/tracking-redirects-with-google-analy...
Tracking redirects
I did the same test about 3 months ago as I was curious whether google would track the redirect in analytics. I started with the main site, but then it got too confusing because 1 sites analytics changed however the redirect numbers didnt change in line with the redirect. How did you go in the end?
Here's a good explanation of GA tracking 301 and 302 redirects
In case you didn't get things working, here is a rundown of how GA reacts to 301 and 302 redirects. Can be pretty confusing.
http://www.atlantaanalytics.com/practicing-web-analytics/how-does-google...
I wouldn't recommend adding parameters in the redirect rule - you may lose tracking of the original referrer, depending on how you do it. Good luck!