Web Analytics boils down to three consecutive activities: collecting a set of metrics about the traffic on a web site, analyzing it, then taking action based on the results of the analysis. The last activity should be the ultimate goal of any Web Analytics initiative.
Metrics?
A metric is a term used to describe the measurement/Quantity of a given characteristic. In this context, it refers to things like number of visits to a site, unique visitors, clicks, browser types, response time, referring sites, and other web related measurements.
How are the metrics collected?
There are two main methods to collect web metrics: the first one is done automatically by the majority of web servers where the site is hosted. Essentially, every time a web browser navigates to a site, it sends along information about itself and the computer it is running on. The web server that answers the browser's request parses the data it receives and saves it in its' log files before sending a response to the browser. The content of these log files can then be imported into Excel or by specialized software tools for further analysis.
The second method is done using outside vendors who specialize in collecting and storing web metrics. This method relies on the use of JavaScript, 1px images, and cookies. You simply inject a snippet of code, provided by the vendor, into each web page that you need to collect metrics about. And each time the page is displayed to a user, a parallel request (along with all metrics about the page) is sent to the vendor's servers. The vendor saves the received metrics into a database and provides access and tools to analyze it.
How are the metrics used?
Different metrics are used depending on the role of an individual on the organization. For example, while developers are interested in browser versions, browser types, screen sizes, and operating systems to make design related decisions, Marketing Managers are more interested in the amount and quality of traffic to gauge the return on the marketing dollars they spend to run the site.
When is Web Analytics activity useful?
Web Analytics activity is a complete waste of time and resources when the goal is to send pretty charts about traffic patterns to senior management. The goal should always be to use the analysis results to take concrete actions that will provide better ROI.