Foundations of Web Analytics
Learn the purpose of web analytics, the core steps of its process, and the primary data collection methods.
Summary
Read Summary
Flashcards
Save Flashcards
Quiz
Take Quiz
Quick Practice
What is the formal definition of web analytics?
1 of 6
Summary
Introduction to Web Analytics
What Is Web Analytics?
Web analytics is the systematic measurement, collection, analysis, and reporting of data about website usage to understand how people interact with your website and to optimize its effectiveness. Think of it as taking the pulse of your website—it tells you who is visiting, what they're doing, and whether your website is achieving its business goals.
The primary purpose of web analytics is twofold: business intelligence and improvement. Organizations use web analytics to conduct market research, assess whether their websites are working effectively, and make data-driven decisions about their online presence. It can also measure the success of traditional advertising campaigns by tracking how new visitors arrive at the website, and it helps predict how traffic will change when launching new marketing initiatives.
In practical terms, web analytics provides concrete information such as the number of visitors to a website, how many pages they view, their behavior patterns, and traffic trends over time—all valuable insights for understanding your market and audience.
The Web Analytics Process: Five Key Steps
Web analytics follows a structured, five-step process that transforms raw data into actionable business decisions. Understanding each step is essential to grasping how organizations extract value from their website data.
Step 1: Data Collection
The process begins with data collection, the gathering of raw, elementary data. This stage primarily captures counts of events, with the most basic event being a page request—each time a user loads a webpage, that request is recorded. Think of this as simply recording "what happened" without yet interpreting it.
Step 2: Data Processing into Metrics
Raw counts aren't very useful by themselves. The second step, data processing into metrics, converts these raw counts into more meaningful forms. For example, instead of just knowing you had 10,000 page requests, you might calculate the average number of pages per visitor, or the bounce rate (the percentage of visitors who leave after viewing only one page). This stage transforms counts into ratios and other derived metrics that are easier to interpret.
Step 3: Development of Key Performance Indicators
Now these metrics are infused with business strategy. In the key performance indicator (KPI) development stage, organizations decide which metrics actually matter for their business goals. A KPI is a measurable metric that directly connects to a business objective. For instance, an e-commerce company might establish a KPI that "the average session value should be $50" or "the checkout completion rate should exceed 70%." KPIs bridge the gap between raw data and business strategy.
Step 4: Formulating Online Strategy
The fourth step, formulating online strategy, defines the broader goals and objectives that guide the website. This includes setting standards and targets related to profit, cost savings, or market-share growth. For example, a strategy might be "increase online sales by 25% within the next fiscal year" or "reduce customer acquisition costs by 15%." This step ensures that website decisions align with overall business objectives.
Step 5: Experiments and Testing
Finally, organizations use experiments and testing to identify what changes actually work. The most common approach is A/B testing, where two variants of a webpage are compared with each other. For example, you might test two different button colors to see which one leads to more clicks. Through controlled experiments and statistical analysis, organizations can identify changes that produce measurable improvements, reducing guesswork and relying instead on data-backed evidence.
Where Does Web Analytics Data Come From?
Web analytics data comes from multiple sources, which organizations can combine to get a complete picture of their online presence and customer behavior.
Application-Level Data from HTTP Requests
One source of data is application-level data sent with HTTP requests. This includes information such as user sessions (which track a user's activities during a single visit) and referrals (information about where the user came from, such as a search engine or another website). This data is typically generated by programming languages like JavaScript, PHP, or ASP.NET running on the website.
External Data
Organizations often combine on-site data with external data from other sources to paint a more complete picture. External data might include:
Geographic information (location of visitors)
Email marketing metrics (email open rates)
Offline campaign data (direct-mail responses)
Sales and lead history (whether website visits converted to actual purchases)
By combining internal website data with external sources, analysts can understand how online and offline activities interact and support each other.
How Is Web Analytics Data Collected?
There are two primary methods for collecting web analytics data, each with different approaches to gathering information about website visitors.
Web Server Log-File Analysis
The first method is log-file analysis. Every time a user's browser requests a file from a web server, the server records this request in a log file. These logs contain detailed information about each request, including when it occurred, which file was requested, and information about the visitor's browser and device. By analyzing these log files, organizations can understand traffic patterns and user behavior. This method is often called "passive" monitoring because it relies on data the server already collects.
Page Tagging (Web Beacons)
The second method is page tagging, also known as web beacons. This approach embeds small pieces of JavaScript code directly into webpages. Whenever a page loads or a user clicks the mouse, this JavaScript sends a request to a third-party analytics server. Because this method is actively placed by the organization (rather than being a byproduct of normal server operations), it provides more customizable tracking and can capture more detailed information about user interactions. Most modern web analytics platforms, like Google Analytics, use this approach.
Each method has advantages: log-file analysis captures everything the server does, while page tagging allows for more custom tracking of specific user interactions relevant to your business goals.
Flashcards
What is the formal definition of web analytics?
The measurement, collection, analysis, and reporting of web data to understand and optimize web usage.
How is data transformed during the processing stage of web analytics?
Counts are converted into ratios or other derived metrics.
What is the goal of the Key Performance Indicator (KPI) development stage?
To infuse ratios and counts with business strategies to create measurable goals.
How are experiments and testing used to identify effective site changes?
Through controlled A/B testing with two variants to find statistically significant improvements.
How does the log-file analysis method collect web data?
By reading server log files that record file requests made by browsers.
How does the page tagging (web beacons) method function?
Embedded JavaScript sends image requests to a third-party server when a page renders or a mouse click occurs.
Quiz
Foundations of Web Analytics Quiz Question 1: Which method is used in the experiments and testing stage to compare two variants and identify changes that improve a statistically tested result?
- Controlled A/B testing (correct)
- Randomized focus groups
- Longitudinal surveys
- Heat‑map analysis
Foundations of Web Analytics Quiz Question 2: Which data collection method embeds JavaScript in a webpage that sends image requests to a third‑party analytics server whenever the page is rendered or a mouse click occurs?
- Page tagging (Web Beacons) (correct)
- Web server log‑file analysis
- Hybrid method combining logs and tags
- Server‑side session tracking
Which method is used in the experiments and testing stage to compare two variants and identify changes that improve a statistically tested result?
1 of 2
Key Concepts
Web Analytics Fundamentals
Web analytics
Web server log analysis
Web beacon (page tagging)
Application‑level data
External data
Performance Measurement
Key performance indicator (KPI)
A/B testing
Derived metric
Definitions
Web analytics
The practice of measuring, collecting, analyzing, and reporting web data to understand and improve website usage and performance.
Key performance indicator (KPI)
A quantifiable metric used to evaluate the success of an organization’s objectives and strategies.
A/B testing
A controlled experiment that compares two variants of a webpage or app to determine which performs better against a defined metric.
Web server log analysis
The process of examining server log files that record HTTP requests to extract information about website traffic and user behavior.
Web beacon (page tagging)
A small, often invisible, image or script embedded in a webpage that sends data to an analytics server when the page is viewed or interacted with.
Application‑level data
Information generated by web applications (e.g., sessions, referrals) and transmitted via HTTP requests, often using languages like JavaScript, PHP, or ASP.NET.
External data
Supplementary data sources such as geographic information, email open rates, direct‑mail campaign results, sales, and lead history that can be combined with on‑site analytics.
Derived metric
A calculated measurement, such as a ratio or conversion rate, obtained by processing raw event counts into meaningful performance indicators.