Exam Stash

Web Analytics and Information Retrieval: Module 2 notes

DOCX readable page or the Word file · 388 KB

Converted from the Word file so it reads on a phone. The download is the original.

Module 2: Web Metrics, Data Collection and Analytics Tools
1. Introduction to Web Analytics

Definition
Web Analytics is the process of collecting, measuring, analyzing, and reporting website data to understand user behavior and improve website performance.

Objectives of Web Analytics

  • Understand visitor behavior
  • Improve user experience
  • Increase website traffic
  • Improve conversion rates
  • Measure marketing campaign effectiveness
  • Support business decision-making

Example

An online shopping website uses web analytics to determine:

  • Which products are viewed most frequently.
  • How users navigate through the website.
  • Why users abandon their shopping carts.

2. Web Metrics

What are Web Metrics?

Web metrics are quantitative measurements used to evaluate website performance and user engagement.

  • Conversion Rate: 2% to 5% is good. Anything under 1% is generally bad and means your traffic isn't buying or signing up.
  • Bounce Rate: 40% to 60% is good. Anything above 70% is usually bad, indicating slow load times, confusing design, or irrelevant content.

2.1 Page Views

Definition

A Page View occurs whenever a webpage is loaded or reloaded by a visitor.

Formula

Page Views = Total Number of Pages Viewed

Example

UserPages Visited
User AHome, Products, Contact
User BHome, About
User CHome

Total Page Views = 3 + 2 + 1 = 6

Importance

  • Indicates website popularity.
  • Measures content consumption.

2.2 Bounce Rate

Definition

Bounce Rate is the percentage of visitors who leave the website after viewing only one page.

Formula

Bounce Rate=Single Page Visits/Total Visits*100

Example

Total Visitors = 100

Visitors who left after one page = 40

Bounce Rate=40/100×100=40%

Interpretation

Bounce RateMeaning
Below 40%Excellent
40%-60%Average
Above 70%Poor

Causes of High Bounce Rate

  • Slow website
  • Poor content
  • Misleading advertisements
  • Difficult navigation

2.3 Conversion Rate

Definition

Conversion Rate measures how many visitors complete a desired action.

Examples:

  • Purchasing a product
  • Filling out a form
  • Downloading a file
  • Subscribing to a newsletter

Formula

Conversion Rate=Conversions/Total Visitors

Example

Website Visitors = 1000

Purchases = 50

Conversion Rate=50/1000×100=5%

Importance

  • Measures business success.
  • Evaluates marketing campaigns.

2.4 Dwell Time

Definition

Dwell Time is the amount of time a user spends on a webpage before returning to the search results.

Example

User ActionTime
Clicks webpage from Google10:00 AM
Returns to Google10:05 AM

Dwell Time = 5 Minutes

Interpretation

Dwell TimeMeaning
HighRelevant Content
LowPoor Content or User Dissatisfaction

Importance

  • Indicates content quality.
  • Helps improve SEO rankings.

Comparison of Major Web Metrics

MetricMeasures
Page ViewsPopularity
Bounce RateVisitor Engagement
Conversion RateBusiness Success
Dwell TimeContent Relevance

3. Data Collection Methods

Web analytics relies on collecting user interaction data.


3.1 Server Logs

Definition

Server Logs are files automatically generated by web servers that record user requests.

Information Stored

  • IP Address
  • Date and Time
  • Requested URL
  • Browser Type
  • Operating System

Example Log Entry

192.168.1.10 - - [10/May/2026:10:15:30]
"GET /index.html HTTP/1.1"

Advantages

  • Automatically generated
  • No client-side script required

Disadvantages

  • Cannot track user behavior accurately
  • Difficult to analyze large logs

3.2 Cookies

Definition

Cookies are small text files stored in the user's browser.

Uses

  • Remember login information
  • Store user preferences
  • Track returning visitors

Example

When a user logs into Amazon:

Cookie:
UserID = 12345

Next time the user visits:

  • Website recognizes the user.
  • Login remains active.

Types

Session Cookies

Deleted after browser closes.

Persistent Cookies

Remain stored for a specified period.


3.3 JavaScript Tags

Definition

JavaScript tags are snippets of code embedded in webpages to collect visitor data.

Example

<script>
console.log("Tracking User Activity");
</script>

Information Collected

  • Button clicks
  • Scroll activity
  • Page views
  • Form submissions

Advantages

  • Real-time tracking
  • Detailed user behavior analysis

Disadvantages

  • Blocked by some browsers
  • Requires JavaScript enabled

4. Web Analytics Tools


4.1 Google Analytics

Definition

Google Analytics is the most widely used web analytics platform.

Features

  • Real-time monitoring
  • User demographics
  • Traffic source analysis
  • Conversion tracking
  • Campaign analysis

Example

Google Analytics can answer:

  • How many visitors came today?
  • Which country generated the most traffic?
  • Which pages are most popular?

Benefits

  • Free version available
  • Easy integration

4.2 Adobe Analytics

Definition

Adobe Analytics is an enterprise-level analytics platform.

Features

  • Advanced segmentation
  • Predictive analytics
  • Customer journey analysis
  • AI-powered insights

Suitable For

  • Large organizations
  • E-commerce platforms
  • Marketing agencies

Example

An airline company analyzes:

  • Booking behavior
  • Customer journey
  • Ticket purchase patterns

4.3 Matomo

Definition

Matomo is an open-source web analytics platform.

Features

  • Full data ownership
  • Privacy-focused
  • GDPR compliant
  • Self-hosted option

Example

Universities and government organizations often use Matomo when data privacy is important.


Comparison of Analytics Tools

FeatureGoogle AnalyticsAdobe AnalyticsMatomo
CostFree/PaidPaidFree/Open Source
Ease of UseHighMediumMedium
Data OwnershipGoogleOrganizationOrganization
Privacy ControlMediumHighVery High
Suitable ForSmall-Medium SitesEnterprisesPrivacy-focused Organizations

5. Data Visualization and Dashboard Reporting

Definition

Data Visualization is the graphical representation of web analytics data.

Common Visualizations

  • Bar Charts
  • Pie Charts
  • Line Graphs
  • Dashboards
  • Heat Maps

Example Dashboard

MetricValue
Visitors15,000
Page Views50,000
Bounce Rate35%
Conversion Rate4.5%
Avg. Dwell Time3.8 Minutes

Benefits

  • Quick understanding
  • Better decision making
  • Easy reporting

6. Applications of Web Analytics


6.1 User Tracking

Purpose

Understand visitor behavior.

Example

Tracking:

  • Pages visited
  • Time spent
  • Click patterns

Benefits

  • Improves website design
  • Personalizes user experience

6.2 Campaign Analysis

Purpose

Evaluate marketing campaign effectiveness.

Example

Campaign A:

  • 10,000 visitors
  • 500 purchases

Campaign B:

  • 8,000 visitors
  • 600 purchases

Campaign B performs better because of a higher conversion rate.


6.3 Performance Monitoring

Purpose

Monitor website health and performance.

Metrics Used

  • Page load time
  • Bounce rate
  • Error rates
  • User engagement

Example

If page load time increases from 2 seconds to 8 seconds:

  • Bounce rate may increase.
  • User satisfaction may decrease.

Real-Life Case Study

E-Commerce Website Analysis

Monthly Data:

MetricValue
Visitors20,000
Page Views75,000
Bounce Rate30%
Conversion Rate5%
Avg. Dwell Time4 Minutes

Interpretation

  • High page views indicate user interest.
  • Low bounce rate indicates good engagement.
  • High dwell time suggests useful content.
  • Good conversion rate indicates successful sales strategy.

Important University Examination Questions

Short Questions (2-3 Marks)

  1. Define Web Analytics.
  2. What is Bounce Rate?
  3. Define Dwell Time.
  4. What are Cookies?
  5. List any two web analytics tools.
  6. What is Conversion Rate?
  7. What are Server Logs?
  8. State the purpose of JavaScript Tags.

Long Questions (5-10 Marks)

  1. Explain major web metrics with suitable examples.
  2. Compare Server Logs, Cookies and JavaScript Tags.
  3. Explain Google Analytics, Adobe Analytics and Matomo.
  4. Discuss the role of data visualization in web analytics.
  5. Explain applications of web analytics in campaign analysis and user tracking.
  6. Describe the process of web data collection with suitable examples.

Key Takeaways

  • Page Views measure website popularity.
  • Bounce Rate indicates visitor engagement.
  • Conversion Rate measures business success.
  • Dwell Time reflects content relevance.
  • Server Logs, Cookies, and JavaScript Tags are major data collection methods.
  • Google Analytics, Adobe Analytics, and Matomo are popular analytics tools.
  • Dashboards and visualizations help interpret web data efficiently.
  • Web analytics supports user tracking, campaign optimization, and performance monitoring.

Short Questions (2–3 Marks)

1. Define Web Analytics.

Answer:
Web Analytics is the process of collecting, measuring, analyzing, and reporting website data to understand user behavior and improve website performance. It helps organizations make data-driven decisions to enhance user experience and achieve business goals.


2. What is Bounce Rate?

Answer:
Bounce Rate is the percentage of visitors who leave a website after viewing only one page without performing any further interaction.

Formula:

Bounce Rate=Single Page VisitsTotal Visits×100\text{Bounce Rate} = \frac{\text{Single Page Visits}}{\text{Total Visits}} \times 100Bounce Rate=Total VisitsSingle Page Visits​×100


3. Define Dwell Time.

Answer:
Dwell Time is the amount of time a user spends on a webpage after clicking a search result and before returning to the search engine results page. It indicates the relevance and usefulness of the webpage content.


4. What are Cookies?

Answer:
Cookies are small text files stored on a user's browser by websites to remember user information, preferences, and browsing activities. They help in user authentication, session management, and visitor tracking.


5. List any two web analytics tools.

Answer:

  1. Google Analytics
  2. Adobe Analytics

(Other examples: Matomo, Mixpanel)


6. What is Conversion Rate?
Conversion Rate is the percentage of website visitors who complete a desired action such as making a purchase, filling out a form, or subscribing to a newsletter.

Formula:
Conversion Rate= (Number of Conversions / Total Visitors) ×100


7. What are Server Logs?
Server Logs are files automatically maintained by web servers that record details about requests made to a website, such as IP address, date and time, requested pages, browser type, and operating system.


8. State the purpose of JavaScript Tags.

JavaScript Tags are used to collect detailed information about user interactions on a website, such as page views, clicks, scrolling behavior, and form submissions. They enable real-time tracking and analytics.


Long Questions (5–10 Marks)

1. Explain Major Web Metrics with Suitable Examples.

Answer:

Web metrics are measurements used to evaluate website performance and user behavior.

a) Page Views

A page view occurs whenever a webpage is loaded or reloaded.

Example:
A visitor views Home, Products, and Contact pages.

Total Page Views = 3

b) Bounce Rate

The percentage of visitors who leave the website after viewing only one page.

Example:

Total Visitors = 100

Single-page Visits = 40

BounceRate=40100×100=40%Bounce Rate = \frac{40}{100}\times100 = 40\%BounceRate=10040​×100=40%

c) Conversion Rate
Measures the percentage of visitors who complete a desired action.
Example:
Visitors = 1000
Purchases = 50
Conversion Rate=50/1000 x 100=5%

d) Dwell Time
The amount of time a visitor spends on a webpage before returning to search results.
Example:
User clicks a webpage at 10:00 AM and returns at 10:05 AM.
Dwell Time = 5 minutes

Conclusion
These metrics help organizations understand website popularity, engagement, content quality, and business performance.


2. Compare Server Logs, Cookies and JavaScript Tags.

FeatureServer LogsCookiesJavaScript Tags
DefinitionRecords server requestsSmall files stored in browserScripts used for tracking
LocationServer-sideClient-sideClient-side
Data CollectedIP address, URL, browserUser preferences, session dataClicks, scrolls, page views
Real-Time TrackingLimitedModerateHigh
User IdentificationDifficultEasyEasy
StorageWeb serverUser browserAnalytics server
AdvantagesAutomatically generatedRemembers usersDetailed behavioral tracking
DisadvantagesLimited user behavior analysisCan be deleted by usersRequires JavaScript enabled

Conclusion
All three methods are used together to collect comprehensive website analytics data.


3. Explain Google Analytics, Adobe Analytics and Matomo.

Google Analytics

Google Analytics is a web analytics service that tracks website traffic and user behavior.

Features:

  • Real-time monitoring
  • Traffic source analysis
  • Conversion tracking
  • Audience reports

Example:
A business tracks daily website visitors and sales conversions.


Adobe Analytics

Adobe Analytics is an enterprise-level analytics platform providing advanced reporting and predictive insights.

Features:

  • Customer journey analysis
  • Advanced segmentation
  • Predictive analytics
  • AI-powered reports

Example:
An airline analyzes customer booking behavior across multiple devices.


Matomo

Matomo is an open-source web analytics platform that offers complete control over data.

Features:

  • Self-hosted deployment
  • Data privacy
  • GDPR compliance
  • Customizable reports

Example:
Government organizations use Matomo to maintain data ownership and privacy.

Conclusion

Google Analytics is suitable for most websites, Adobe Analytics is ideal for large enterprises, and Matomo is preferred for privacy-focused organizations.


4. Discuss the Role of Data Visualization in Web Analytics.

Data Visualization is the graphical representation of web analytics data using charts, graphs, dashboards, and reports.

Importance:

  1. Simplifies complex data.
  2. Helps identify trends and patterns.
  3. Supports quick decision-making.
  4. Improves communication of insights.
  5. Enables real-time monitoring.

Common Visualization Methods:

  • Bar Charts
  • Pie Charts
  • Line Graphs
  • Dashboards
  • Heat Maps

Example:

A dashboard displays:

  • Visitors: 10,000
  • Bounce Rate: 35%
  • Conversion Rate: 4%
  • Page Views: 50,000

Managers can instantly evaluate website performance.

Conclusion:
Data visualization transforms raw data into meaningful insights, making analytics easier to understand and act upon.


5. Explain Applications of Web Analytics in Campaign Analysis and User Tracking.

A) User Tracking
User tracking involves monitoring visitor behavior on a website.

Information Tracked:

  • Pages visited
  • Time spent
  • Click patterns
  • Navigation paths

Benefits:

  • Improves website design
  • Enhances user experience
  • Supports personalization

Example:
An e-commerce website tracks products viewed by users and recommends similar products.


B) Campaign Analysis

Campaign analysis measures the effectiveness of marketing campaigns.

Metrics Used:

  • Traffic generated
  • Conversion rate
  • Cost per acquisition
  • Return on investment (ROI)

Example:

CampaignVisitorsPurchases
A10,000500
B8,000600

Campaign B is more effective because it has a higher conversion rate.

Conclusion:
Web analytics helps organizations optimize marketing efforts and improve customer engagement.


6. Describe the Process of Web Data Collection with Suitable Examples.
Web data collection is the process of gathering information about website visitors and their activities.

Step 1: User Visits Website
A visitor opens a webpage.

Step 2: Data Capture

Information is collected through:

  • Server Logs
  • Cookies
  • JavaScript Tags

Step 3: Data Storage
Collected data is stored in databases or analytics platforms.

Step 4: Data Processing
Analytics tools process and organize the collected data.

Step 5: Report Generation
Reports and dashboards are generated for analysis.

Example:
A user visits an online shopping website:

  • Server Log records the page request.
  • Cookie stores user session information.
  • JavaScript Tag records clicks and scrolling activity.
  • Google Analytics generates reports showing user behavior.

Data Collection Flow:
User Visit
↓
Data Collection
(Server Logs/Cookies/JS Tags)
↓
Data Storage
↓
Data Processing
↓
Analytics Reports & Dashboards

Conclusion:

Web data collection enables organizations to understand visitor behavior, improve website performance, and make informed business decisions.

Send feedback

Ratings, corrections and requests are all welcome, and every message is read. To share a paper, question bank or notes, pick that topic and paste a link.

How useful is Exam Stash for you? (optional)

Sent to Harsh by email through Web3Forms. See Privacy and use.