Sunday, September 6, 2009

The Real Secret to Understanding Web Statistics

Understanding what your visitors do on your site is crucial information. If your visitors proceed to purchase a product but then a large majority leaves the site when they get to a specific page in the order process, you need to know about it. It could be that this page is confusing or hard to use. Fixing it could increase your sales by 200%. This is just an example; there are many reasons why you want a detailed analysis of your site visitors.

Most website hosting services offer a stats package that you can study. If you're not sure where this is, call up your hosting service and ask them. Statistics are a vital part of tracking your marketing progress. If you don't have access to website statistics get a package that can help you in this area. Do not get a counter that simply shows how many visitors you've had. You'll be missing out on vital information that can help strengthen weaknesses in your site.

A good website hosting service offers traffic logs that provide an invaluable insight into the traffic being referred to a web site from various sources such as search engines, directories and other links.

Unfortunately traffic tracking provided by web hosting services is often in the form of raw traffic log files or other difficult to understand cryptic formats. These log files are basically text files that describe actions on the site. It is literally impossible to use the raw log files to understand what your visitors are doing. If you do not have the patience to go through these huge traffic logs, opting for a traffic-logging package would be a good idea.

Basically, two options are available to you and these are: using a log analysis package or subscribing to a remotely hosted traffic logging service. A remotely hosted traffic logging service may be easy to use and is generally the cheaper option of the two. WebTrends Live and HitsLink are two good, remotely hosted, traffic-monitoring services worth considering. However, WebTrends Live is a more complicated system and is suitable for larger ecommerce websites. "SuperStats" is another recommended traffic logging service.

These services do not use your log files. Typically a small section of code is placed on any page you want to track. When the page is viewed, information is stored on the remote server and available in real time to view in charts and tables form.

Log analysis packages are typically expensive to buy and complex to set up. Apart from commercial packages there are also some free log analysis packages available, such as Analog.

A good traffic logging service would provide statistics pertaining to the following:

" How many people visit your site?
" Where are they from?
" How are visitors finding your site?
" What traffic is coming from search engines, links from other sites, and other sources?
" What keyword search phrases are they using to find your site?
" What pages are frequented the most - what information are visitors most interested in?
" How do visitors navigate within your web site?

Knowing the answers to these and other fundamental questions is essential for making informed decisions that maximize the return on investment (ROI) of your web site investment.

The most important aspect of tracking visitors to your website is analyzing all the statistics you get from your tracking software. The three main statistics that will show your overall progress are hits, visitors and page views. Hits are tracked when any picture or page loads from your server on to a visitor's browser. Hits, however, can be very misleading. It is quite an irrelevant statistic for your website.

The statistic that is probably the most important for a website is Page Views/Visitors. This gives you a good indication of two things. First, how many people are coming to your site, and secondly how long are they staying on your site. If you have 250 visitors and 300 page views you can figure that most visitors view one page on your site and then leave. Generally, if you're not getting 2 page views per visitor then you should consider upgrading your site's content so your visitors will stay around longer.

If you see the number of visitors you have increasing as well as the number of page views per visitor increasing then keep up the good work! Always look for this stat as an overall barometer of how your site design is going and if your marketing campaigns are taking hold.
Also, a good stat to look for is unique visitors. Once a person visits your site they will not be added to the unique visitors' category if they visit again. This is a good way to track new visitors to your website.

Page views are a good indication of how "sticky" your website is. A good statistic to keep is Page Views divided by the number of Visitors you have. This statistic will give you a good idea if your content is interesting and if your visitors are staying on your site for a long time and surfing.

Some people are intimidated by web traffic statistics (mostly because of the sheer volume of data available), but they shouldn't be. While there are many highly specialized statistics that can be used for more in-depth web traffic analysis, the above areas alone can provide invaluable information on your visitors and your website performance. Remember- this data is available for a reason. It's up to you to use it.


Streamline Your Website Pages

Squeezing the most efficient performance from your web pages is important. The benefits are universal, whether the site is personal or large and professional. Reducing page weight can speed up the browsing experience, especially if your visitors are using dial-up internet access. Though broadband access is the future, the present still contains a great deal of dial-up users. Many sites, ecommerce sites especially, cannot afford to ignore this large section of the market. Sites with a large amount of unique traffic may also save on their total monthly traffic by slimming down their web pages. This article will cover the basics of on-page optimization in both text/code and graphics.

Graphics

Graphics are the usual suspect on heavy pages. Either as a result of a highly graphic design, or a few poorly optimized images, graphics can significantly extend the load-time of a web page. The first step in graphics optimization is very basic. Decide if the graphics are absolutely necessary and simply eliminate or move the ones that aren't. Removing large graphics from the homepage to a separate gallery will likely increase the number of visitors who "hang around" to let the homepage load. Separating larger photos or art to a gallery also provides the opportunity to provide fair warning to users clicking on the gallery that it may take longer to load. In the case of graphical buttons,consider the use of text based, CSS-styled buttons instead. Sites that use a highly graphic design, a common theme in website "templates", need to optimize their graphics as best as possible.

Graphics optimization first involves selecting the appropriate file type for your image. Though this topic alone is fodder for far more in depth analysis, I will touch on it briefly. Images come in 2 basic varieties, those that are photographic in nature, and those that are graphic in nature. Photographs have a large array of colors all jumbled together in what's referred to as continuous tone. Graphics, such as business logos, are generally smooth, crisp and have large areas of the same color. Photographs are best compressed into "JPEGs". The "Joint Photographic Expert Group" format can successfully compress large photos down to very manageable sizes. It is usually applied on a sliding "quality" scale between 1-100, 1 being the most compressed and lowest quality, 100 the least and highest quality. JPEG is a "lossy" compression algorithm, meaning it "destroys" image information when applied, so always keep a copy of the original file. Graphics and logos generally work best in the "GIF", or more recently, the "PNG" format. These formats are more efficient than JPEGs at reducing the size of images with large areas of similar color, such as logos or graphical text.

A few general notes on other media are appropriate. Other types of media such as Flash or sound files also slow down a page. The first rule is always the same, consider whether they are absolutely necessary. If you are choosing to build the site entirely in Flash, then make sure the individual sections and elements are as well compressed as possible. In the case of music, I will admit to personal bias here and paraphrase a brilliant old saying, "Websites should be seen and not heard." Simply, music playing in the background will not "enhance" any browsing experience.

Text and Code

The most weight to be trimmed on a page will come from graphical and media elements, but it is possible to shed a few extra bytes by looking at the text and code of a web page. In terms of actual text content, there may not be much to do here. A page's content is key not only to the user's understanding but also search engine ranking. Removing or better organizing content is only necessary in extreme situations, where more than page weight is an issue. An example might be a long, text heavy web page requiring a lengthy vertical scrolling to finish. Such a page is common on "infomercial" sites, and violates basic design tenants beyond those related to page weight.

Code is a different story. A website's code can be made more efficient in a variety of fashions. First, via the use of CSS, all style elements of a web page can now be called via an external file. This same file can be called on all a site's pages, providing for a uniform look and feel. Not only is this more efficient; it is also the official recommendation from the W3C. The same may be said of XHTML and the abandonment of "table" based layout. Tables, though effective for layout, produce more code than equivalent XHTML layouts using "div" tags. Where a minimum of 3 tags are required to create a "box" with content in a table, only 1 is needed using divisions. Using XHTML and CSS in combination can significantly reduce the amount of "on page" code required by a web page. A final, relatively insignificant trick is the removal of all "white space" from your code. Browsers don't require it; it is primarily so authors can readily read and interpret the code. The savings are minimal at best, but for sites that receive an extreme amount of traffic, even a few saved bytes will add up over time.

Conclusions

Target images and media files first when seeking to reduce the weight of a page. They are the largest components of overall page weight and simply removing them can significantly reduce total weight. The images that remain should be optimally compressed into a format appropriate for their type, photos or graphics. Avoid huge blocks of text that cause unnecessary vertical scrolling. Organize the site more efficiently to spread the information across multiple pages. Adopt XHTML and CSS to reduce the size of the on-page code, and call the CSS externally. These tips should help reduce the size of your pages and speed their delivery to your viewers.