How do I deal with internal redirects in Google Analytics?
April 14, 2008 5:13 PM Subscribe
How do I deal with internal redirects in Google Analytics?
Our site uses Browserhawk to serve up different content for different audiences. This means whenever a visitor comes to our
site, on the first page they land on, however they get there, they're redirected from page.asp to page.asp?bhcp=1 at the top of the page, and well before the Google Analytics code is reached.
This currently means that Google Analytics does not have a referrer for all new visitors, instead treating them as having come direct.
Now, from Browserhawk I can get that initial referrer on page.asp?bhcp=1, but how do I pass that to Google? Is there a way of overwriting the value that Google uses? Or can I set it up as a custom report and just ignore the default referral report?
Our site uses Browserhawk to serve up different content for different audiences. This means whenever a visitor comes to our
site, on the first page they land on, however they get there, they're redirected from page.asp to page.asp?bhcp=1 at the top of the page, and well before the Google Analytics code is reached.
This currently means that Google Analytics does not have a referrer for all new visitors, instead treating them as having come direct.
Now, from Browserhawk I can get that initial referrer on page.asp?bhcp=1, but how do I pass that to Google? Is there a way of overwriting the value that Google uses? Or can I set it up as a custom report and just ignore the default referral report?
If you have access to the webserver box, you can set up AWStats. It parses the raw logs for all major webservers very accurately with pretty much all the features of Google Analytics, and will pick up a referral, pre-redirect.
posted by Mach5 at 6:14 PM on April 14, 2008
posted by Mach5 at 6:14 PM on April 14, 2008
« Older help me find a coffee mug printer who rocks! | Budding New York City Math Teacher - what's the... Newer »
This thread is closed to new comments.
posted by Hartster at 5:17 PM on April 14, 2008