Web analytics is the practice of collecting, analyzing, and reporting digital data so marketers can improve websites, campaigns, and conversions. Without measurement, digital marketing becomes expensive guessing.
Learning Objectives
By the end of this chapter, you will be able to:
- Define web analytics and explain why it matters for marketing.
- Distinguish metrics from dimensions.
- Explain the event-based model and key events in GA4.
- Write a simple measurement plan for a business.
Why Analytics Matters
- Audience: Who visits (device, location, new vs returning) and which channels bring them.
- Behavior: Which pages, flows, and events happen after the click.
- Outcomes: Leads, purchases, calls, WhatsApp clicks — not vanity traffic alone.
- Optimization: Which ads, pages, and offers deserve more budget.
Metrics vs Dimensions
- Metrics are numbers you measure (sessions, conversions, revenue).
- Dimensions describe context (source/medium, landing page, city, device).
Useful analysis always pairs both: e.g. conversion rate (metric) by campaign (dimension).
Worked example: reading a channel report
| Session source / medium (dimension) | Sessions (metric) | Key events (metric) | Key event rate |
|---|---|---|---|
| google / organic | 4,000 | 80 | 2.0% |
| facebook / paid_social | 6,000 | 60 | 1.0% |
| newsletter / email | 800 | 40 | 5.0% |
| (direct) / (none) | 1,200 | 36 | 3.0% |
Paid social brings the most visits but converts least; email brings few visits but converts best. A sensible response is to grow the email list (perhaps using paid social to collect sign-ups) rather than simply buying more social clicks.
Events Are the Modern Unit of Measurement
In Google Analytics 4 (GA4), almost everything is an event — page views, scrolls, form submits, purchases, outbound clicks. Marketers define which events are key events (formerly called conversions) that represent business success.
Types of analytics
| Type | Question answered | Example |
|---|---|---|
| Descriptive | What happened? | Sessions fell 20% last week |
| Diagnostic | Why did it happen? | A broken link on the Facebook ad landing page |
| Predictive | What is likely to happen? | Enquiries will peak two weeks before Dashain |
| Prescriptive | What should we do? | Move budget to search ads in the peak weeks |
A Simple Measurement Plan (Before Tools)
- Business goal (e.g. qualified inquiry for a Kathmandu clinic).
- Key event (form submit, phone tap, WhatsApp click).
- Channels to attribute (organic, paid search, Meta, email).
- Weekly review questions (what grew, what broke, what to test).
Nepal practice: For many SMEs the primary conversion is not “purchase” — it is a call, Facebook message, or WhatsApp inquiry. Track those as key events so reports match how business actually happens.
Case study: Measurement plan before tools
A yoga studio listed the only outcomes that mattered: trial booked, membership paid. They instrumented those two key events first, then channels. Vanity dashboards were deleted. Weekly standup asked one question: which channel booked trials most cheaply?
Learn more: Google Analytics services in Nepal.
Summary
Web analytics collects, analyses, and reports digital data so marketers can improve sites, campaigns, and conversions. Analysis pairs metrics (numbers) with dimensions (context), such as key event rate by source. GA4 treats almost every interaction as an event, and marketers mark business outcomes as key events. Analytics can be descriptive, diagnostic, predictive, or prescriptive. A measurement plan, starting from business goals and key events, should come before choosing tools or dashboards.
Key Takeaways
- Metrics are numbers; dimensions give context; useful reports pair them.
- In GA4, interactions are events; business outcomes are key events.
- Track calls and WhatsApp clicks as key events for Nepali SMEs.
- Plan measurement from goals first, then tools.
Discussion Questions
- What key events would you track for a Nepali college website?
- Why might the channel with the most traffic not deserve the most budget?
- What happens when a business tracks everything but defines no key events?
Exam-Style Questions
Short answer
- Define web analytics.
- Distinguish between metrics and dimensions with examples.
- What is a key event in GA4?
- List the four types of analytics.
Long answer
- Explain the importance of web analytics in digital marketing and describe the steps of a simple measurement plan.
- Explain the event-based model of GA4 and how key events should be chosen for a service business in Nepal.

