| Redirection - What's it all about? |
|
|
|
| Web Analytics | |
| Written by Andres Galdames | |
| Thursday, 20 March 2008 | |
While it can make user navigation easier, redirection can wreak havoc on your web analytics. This article explains the different ways that redirection can be used and which of the methods best lend themselves to analytics.
Note: This article is best enjoyed with a strong cup of coffee and some time to really think through the information we're providing. In the web world, 'redirection' is a double-edged sword. While it can be great for purposes of easier user navigation, it can wreak havoc when it comes to web analytics. In this article, we'll talk about the different ways that redirection can be used and which of the methods best lend themselves to analytics. So, first off, what is redirection? No, it's not the technique that magicians use to fool you, although it can be tricky. It's actually a technique used to 'redirect' a visitor from one web page to another -- automatically. In other words, it's the process by which traffic that is destined for one location is sent to another. Still with us? Great! Let's keep going. When it comes to redirection, there are three major types:
Both the client-side redirect and the meta refresh happen after the web page has loaded (therefore occurring on the client machine). So, the idea here would be that once a visitor comes to a certain page, a JavaScript (or some other scripting language like vbscript) snipit or a meta tag (HTML), will magically transport the visitor to another page. Ultimately, the result is two page requests in the log file: one for the original page on which the redirect resides (or the redirector page), and one for the destination page after being redirected. The third type of redirect is the server-side redirect. This kind of redirect is performed by the web server itself, meaning either via an .htaccess file or the server-side scripting (ASP, JAVA, etc.). The result is the same as the client-side redirect except the request is logged as a 300-level redirect, which has special implications for user and spider navigation (see below). So, now we have one 300 level status for the redirector page and one 200-level status for the destination page. (Notes on 200-level status and 300-level redirect are at the end of the article.) What Redirection Means to Analytics
Ultimately, You Want to Know Who's Reaching the Destination Page
For the foreseeable future, redirects will continue to be used to simplify URLs and guide visitors using more logical paths. While this can potentially confuse Web analytics, use of the Path View in ClickTracks can give the Web site analyst a more accurate view of visitor behavior on the Web site.
Definitions
Check Server Headers - 200 HTTP Status Code Checker Admin Note: The 200 Status-Code means that all is okay. This is what should be returned if the requested resource is valid. Example of HTTP Status Code 200:
Server Response: http://www.seoconsultants.com/w3c/status-codes.asp
10.3.3 - 302 FOUND The temporary URI SHOULD be given by the Location field in the response. Unless the request method was HEAD, the entity of the response SHOULD contain a short hypertext note with a hyperlink to the new URI(s). If the 302 status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued. Note: RFC 1945 and RFC 2068 specify that the client is not allowed to change the method on the redirected request. However, most existing user agent implementations treat 302 as if it were a 303 response, performing a GET on the Location field-value regardless of the original request method. The status codes 303 and 307 have been added for servers that wish to make unambiguously clear which kind of reaction is expected of the client. Check Server Headers - 302 HTTP Status Code Checker Admin Note: From my perspective, a 302 should not be used when parking domains or capturing type-in traffic. The server is returning a 302 Found (temporarily moved) which is not correct. If you 301 Moved Permanently a resource, then the spider is instructed to ignore the current location and redirect to the new location. In Google's instance, you would be effectively transferring PageRank to the new resource. Comments (0)
![]() Write comment
|
|
| < Prev | Next > |
|---|





While it can make user navigation easier, redirection can wreak havoc on your web analytics. This article explains the different ways that redirection can be used and which of the methods best lend themselves to analytics.

