Web Analytics: Embedded JavaScript Page Tracking Code vs. Web Server Log Files

Web Analytics Services

Tool Selection, Implementation and Training

Web Analytics tracking choices with advantages and disadvantages


Basic Web Analytics tools usually fall into one of two categories:

Both have advantages and disadvantages.

By default, server logs contain much richer data than that usually tracked by JavaScript page tracking. For organizations focused on search engine visibility, web server logs show which pages have been crawled by each search engine crawler – and how recently.

JavaScript code must be added to each link in order to track non-HTML media, such as word processor documents, pdf files and images with JavaScript based Web Analytics systems.

As some users (not too many, it is true) disable JavaScript, many JavaScript based systems also include <noscript> tag logic which will still capture minimal data.

IT Managers like JavaScript systems because web log files can be onerous to manage. The logs get very big very quickly for highly trafficked sites. A few corrupted lines in the middle of the file (usually due to attempts exploit Windows buffer vulnerabilities) can stop lesser web log file analysis systems in their tracks. A junior systems administrator won't usually have the necessary command line experience to find and remove the offending lines. Web Analytics systems are by their nature resource intensive – a great candidate for outsourcing.

So what to do? Many organizations which have adopted one Web Analytics solution or another underutilize the tools due to a lack of trained personnel. A lack of training also leads to less then optimal implementation – leading to poor and misleading data quality. Thus, the first priority should be for internal staff to get up to speed with Web Analytics basics before committing to one solution or another.

In general, open source tools are more primative than their commercial counterparts. Commercial tools offer more intuitive reports and add functionality such as click stream analysis and data drill down capabilities. Yet sometimes the free tools provide more detail than commercial tools. In marketing, including search engine optimization activities, referral information is very important. Some solutions are limited to providing domain level referrer information – AWStats offers page level URL referrer reporting.

To avoid a mismatch between a tool and an organization's needs, a business should consider getting up to speed with Web Analytics before investing in a software solution. Deployment of a free tool, such as AWStats (web server log analysis) or Google Analytics (JavaScript page tags), or both, can be a good start. We have written a two part guide to getting started with AWStats for O'Reilly. Businesses can also consider retaining a vendor neutral consultant to help them in a solution selection process.

Related Materials:

Bookmark this resource!

Was this resource helpful? If so, feel free to put a link to this page on your site! Just copy this code:

<a href="http://www.antezeta.com/web-log-file-javascript-embedded-page-tracking.html">Web Analytics Page Tracking Code vs. Server Log Files</a>

Bookmark this page with your bookmark service (hover over a logo to see service name):

Link broken? Let us know the correct link!

Looking for Web Analytics Help?

Let Antezeta help you in the selection, implementation and usage of a Web Analytics solution!

Contact us today to find out more about this topic and the rest of the Web Ecosystem.

Home · Contact Us · Site Map & Search · Keyboard shortcuts · Top ↑