Website, App and User-Behaviour AnalyticsIntroductionDigital marketing decisions increasingly depend on evidence about what users do, where they come from, how they engage with digital properties, and whether their activity produces business value. Website, app and user-behaviour analytics provide this evidence by collecting, organising and interpreting interactions across websites, mobile applications, search engines and advertising channels. Analytics is not simply the production of reports. It is a disciplined process of defining business questions, collecting valid data, interpreting patterns and taking action. A high number of visitors, for example, does not necessarily indicate success. The visitors may be poorly matched to the offer, unable to use the website, or prevented from converting by technical problems. Effective analysis therefore connects user behaviour with objectives such as revenue, lead generation, retention, customer satisfaction and brand visibility. This chapter focuses on Google Analytics 4 (GA4), search-console data, heatmaps and session-recording platforms. It also explains measurement planning, events, traffic sources, paths, cohorts, conversions, attribution, privacy and practical decision-making. Learning ObjectivesBy the end of this chapter, you should be able to: - Explain the roles of website, app and user-behaviour analytics.
- Distinguish users, sessions, events, views, engagement and conversions.
- Interpret traffic sources and search-console performance.
- Design an event and conversion measurement framework in GA4.
- Analyse paths, funnels and cohorts appropriately.
- Use heatmaps and session recordings as qualitative evidence.
- Calculate and interpret basic digital-marketing performance measures.
- Recognise data-quality, privacy, ethical and attribution limitations.
- Translate analytical findings into practical optimisation decisions.
1. The Analytical Object: Users, Devices and InteractionsA digital property can be analysed at several levels: - User: a person or an analytics identity representing a person across one or more interactions.
- Device or browser: the technical environment used to access the property.
- Session: a period of interaction, although its exact definition depends on the analytics platform.
- Event: a recorded interaction, such as a page view, product selection, video start, search, form submission or purchase.
- Parameter: additional information attached to an event, such as product name, page location, value or form type.
- Conversion or key event: an event identified as important to an organisation's objectives.
These levels must not be confused. One user may produce several sessions, and one session may contain many events. A page view is an event, not necessarily a session or a user. In GA4, the event-based data model records interactions as events with parameters, rather than relying primarily on separate categories such as page views and sessions. 1.1 Websites and appsWebsite analytics commonly examines landing pages, navigation, content consumption, forms, ecommerce and technical performance. App analytics additionally considers installation, first opening, permissions, screen views, notifications, crashes, device characteristics and retention. The same person may interact with a brand through both environments. Cross-platform analysis is valuable but difficult because identity may be incomplete or duplicated. 1.2 Metrics and dimensionsA metric is a quantitative measurement, such as users, sessions, event count, revenue or engagement rate. A dimension is an attribute used to classify data, such as country, device category, landing page, campaign or traffic source. A report showing users by device category combines a metric with a dimension. A metric is meaningful only when its definition, time period, population and collection method are known. For example, “users” may refer to active users, total users or a platform-specific identity. Analysts should therefore read report definitions and avoid treating similar labels as identical. 2. Measurement Planning and Data ArchitectureGood analytics begins before tags are installed. A measurement plan translates organisational objectives into measurable outcomes. | Business objective | User action | Event | Useful parameters | Decision supported |
|---|
| Generate qualified leads | Submit enquiry | generate_lead | form_type, service, value | Improve acquisition and forms | | Increase online sales | Complete checkout | purchase | transaction_id, value, currency, items | Optimise ecommerce | | Increase product discovery | Use site search | search | search_term, results_count | Improve content and navigation | | Improve retention | Return to app | app_open or session_start | platform, version | Evaluate lifecycle activity |
A practical measurement plan should specify: - the business question;
- the relevant user action;
- event and parameter names;
- data owner and implementation owner;
- conversion or key-event status;
- validation method;
- reporting frequency; and
- privacy and retention requirements.
Event naming should be consistent, descriptive and compatible with the selected platform. A team should not use form_submit, formSubmission and lead_form for the same action without a reason. A data dictionary should document names, meanings, trigger conditions, parameter formats and examples. 2.1 Data collection and validationData may be collected through platform tags, a tag-management system, software-development kits, server-side integrations, ecommerce data layers and advertising-platform integrations. Collection should be tested in a development environment and then checked in real-time or debugging reports. A minimum quality-assurance process includes: - testing on major browsers and devices;
- checking that events fire once, not multiple times;
- confirming that revenue, currency and transaction identifiers are correct;
- testing consent states;
- excluding internal or test traffic where appropriate;
- checking referral exclusions and cross-domain measurement;
- comparing analytics transactions with a trusted business system; and
- recording changes in an implementation log.
Data is not automatically accurate because it appears in a dashboard. Missing tags, consent restrictions, ad blockers, duplicate events, bot activity and incorrect time-zone settings can all distort results. 3. GA4: Core Reports and InterpretationGA4 is built around event collection and provides reports and explorations for acquisition, engagement, monetisation, retention and user attributes. Its exact interface and terminology may change, so analysts should rely on current platform documentation as well as conceptual understanding. 3.1 Acquisition and traffic sourcesTraffic-source analysis asks how users reached a property and which sources produce valuable outcomes. Common classifications include: - Organic search: unpaid search-engine results.
- Paid search: sponsored search advertising.
- Referral: links from other websites.
- Direct: traffic for which no reliable referring source is available; it does not necessarily mean that users typed the URL.
- Organic social and paid social: unpaid and paid social traffic.
- Email: traffic identified through correctly tagged links.
Campaign parameters, commonly called UTM parameters, should be applied consistently. For example, a link can identify source, medium, campaign, content and term. Inconsistent capitalisation creates fragmented reports, so a naming convention is essential. Source volume should not be evaluated alone. A small source with high-quality leads may be more valuable than a large source with weak engagement. Acquisition analysis should compare source, landing page, audience, device, conversion and economic value. 3.2 EngagementGA4 provides measures such as engaged sessions, average engagement time and event counts. An engaged session is generally a session meeting one of the platform's engagement conditions, such as lasting beyond the relevant threshold, containing a key event or involving multiple page or screen views. Analysts should confirm the current definition before comparing periods or platforms. A useful proportion is the engagement rate: Engagement rate = (Engaged sessions ÷ Sessions) × 100 Here, engaged sessions and sessions are counts over the same period and population. The result is dimensionless and expressed as a percentage. The corresponding bounce rate is commonly defined as the percentage of sessions that were not engaged: Bounce rate = 100% − Engagement rate This relationship applies only when both measures use the same definitions and denominator. Neither metric proves satisfaction or purchase intent. A user may engage deeply without converting, while a user may convert quickly with little browsing. 3.3 Events and conversionsEvents should represent meaningful interactions rather than every conceivable mouse movement. Useful events include view_item, add_to_cart, begin_checkout, purchase, login, download, video_progress, contact and generate_lead. Parameters make events analytically useful; an item-view event without item identity may be insufficient for product analysis. A conversion rate must define its denominator. For session-based conversion rate: Session conversion rate = (Sessions with a conversion ÷ Total sessions) × 100 For user-based conversion rate: User conversion rate = (Users with a conversion ÷ Total users) × 100 These measures are not interchangeable. If 80 of 2,000 sessions contain a purchase, the session conversion rate is (80 ÷ 2,000) × 100 = 4%. If 70 distinct users made those purchases among 1,800 users, the user conversion rate is approximately (70 ÷ 1,800) × 100 = 3.89%. The analyst must report which denominator was used. Revenue metrics also require care. Average order value is: Average order value = Revenue ÷ Number of orders The calculation assumes revenue and order count refer to the same period, currency, transaction population and treatment of refunds, taxes and shipping. Analytics revenue should be reconciled with the organisation's financial system. 4. Search Console and Search-Performance AnalysisSearch-console platforms provide information about how a site appears in search results. Important measures include impressions, clicks, click-through rate (CTR), average position, queries and pages. CTR = (Clicks ÷ Impressions) × 100 If a page receives 1,200 impressions and 48 clicks, its CTR is (48 ÷ 1,200) × 100 = 4%. CTR is affected by ranking, search intent, brand familiarity, rich results, title and description quality, and competition. It should not be treated as a pure measure of copy quality. Search-console data and GA4 answer different questions. Search Console describes search exposure and clicks before or at the point of entry; GA4 describes behaviour after the user reaches the property. Joining the two perspectives helps identify opportunities such as: - high impressions and low CTR: improve relevance, titles or snippets;
- high CTR and weak engagement: inspect landing-page alignment and technical experience;
- strong engagement but low impressions: improve search visibility and content coverage;
- high impressions at poor positions: strengthen content, internal links and authority through legitimate practices.
Average position is an aggregate and can conceal variation by query, country, device and time. It should be interpreted alongside query intent and click outcomes. 5. Paths, Funnels and Cohorts5.1 Path analysisPath analysis examines sequences of pages, screens or events. It can reveal common journeys, loops, unexpected exits and navigation friction. A path report is descriptive rather than automatically causal. If many users move from a product page to a comparison page, the pattern may indicate useful research or uncertainty requiring better product information. Path analysis is especially useful when combined with a question: Where do users abandon checkout? Which content commonly precedes a lead? Do app users return after receiving a notification? Without a question, path exploration can become pattern hunting. 5.2 Funnel analysisA funnel represents ordered stages, such as product view → add to cart → checkout → purchase. For a stage-to-stage completion rate: Stage completion rate = (Users reaching the next stage ÷ Users reaching the current stage) × 100 If 1,000 users view a product and 120 add it to cart, the completion rate is 12%. Funnels require consistent populations and carefully defined events. A user-based funnel differs from a session-based funnel, and an open funnel may allow entry at later stages while a closed funnel requires the first stage. Funnel results should lead to investigation, not automatic redesign. A drop may reflect expected behaviour, tracking failure, stock availability, price, shipping information, compulsory account creation or a mismatch between traffic and offer. 5.3 Cohort analysisA cohort is a group sharing a defined starting characteristic, commonly the week or month of first use, acquisition campaign or first purchase. Cohort analysis compares subsequent behaviour across groups rather than combining all users into one average. For a simple retention rate: Retention rate at time t = (Cohort users active at time t ÷ Original cohort users) × 100 The numerator and denominator must refer to the same cohort, and “active” must be defined consistently. Cohorts can reveal whether a new onboarding process improves week-four retention, or whether users acquired through a campaign generate lasting value. Cohort comparisons should account for seasonality, campaign mix, product changes and unequal sample sizes. 6. Heatmaps and Session RecordingQuantitative analytics indicates what happened; behaviour tools can help investigate how it happened. - Click heatmaps show concentrations of clicks or taps.
- Scroll maps indicate how far users appear to scroll.
- Move or attention maps estimate cursor movement or attention patterns, but should not be treated as direct eye tracking.
- Session recordings replay selected user interactions, often with masking and sampling.
- Form analytics identifies fields where users hesitate, abandon or generate errors.
These tools are valuable for detecting rage clicks, dead clicks, confusing controls, repeated navigation, form friction and mobile layout problems. They are diagnostic rather than representative surveys. A recording shows one observed session, not the intention or experience of all users. A sound process is to use quantitative data to identify a segment or problem, inspect heatmaps and recordings to generate hypotheses, test changes through controlled experiments where feasible, and then assess outcomes using conversion, revenue, satisfaction or retention metrics. Privacy is essential. Sensitive fields should be masked, personal information should not be recorded unnecessarily, access should be restricted, and consent requirements should be respected. Recordings should never be used to observe vulnerable users in an exploitative manner. 7. Integrated Interpretation: From Data to DecisionA useful analytical workflow consists of five stages: - Frame: define the decision and the population.
- Measure: identify events, dimensions, metrics and quality checks.
- Explore: segment by source, device, geography, audience, landing page and cohort.
- Explain: combine quantitative evidence with qualitative inspection and stakeholder knowledge.
- Act and evaluate: implement a change, define success criteria and monitor consequences.
Segmentation is often more informative than an overall average. A website may have acceptable overall conversion but severe mobile failure. Similarly, a campaign may appear weak because its users require several visits before conversion. Analysts should avoid excessive segmentation that creates tiny, unstable samples. Attribution also requires caution. Last-click reporting assigns disproportionate credit to the final recorded interaction and can undervalue discovery channels. Multi-touch models may distribute credit, but model-based allocation depends on assumptions and does not automatically establish causality. Incrementality experiments, holdout groups and controlled tests are stronger approaches when the question is whether an activity caused additional outcomes. 8. Applied Case: Northstar Outdoor EquipmentThe following is an illustrative case. BackgroundNorthstar, an online outdoor-equipment retailer, received substantial paid-social traffic but reported disappointing mobile sales. GA4 showed strong product views and a lower mobile purchase rate than desktop. The marketing team initially proposed increasing advertising spend. Problem and analysisThe team defined the objective as improving profitable mobile purchases, not merely increasing sessions. It audited events and found that purchase events were recorded correctly, but the checkout funnel lacked a reliable event for delivery-option selection. A reconstructed funnel showed: | Stage | Mobile users | Completion from previous stage |
|---|
| Product view | 10,000 | — | | Add to cart | 900 | 9.0% | | Begin checkout | 540 | 60.0% | | Purchase | 216 | 40.0% |
Session recordings from a consented sample showed repeated taps on the delivery-cost label and form errors near the postcode field. A heatmap showed that the delivery information link attracted clicks but opened a small, difficult-to-read panel. Search-console data also indicated that many visitors arrived on product pages through queries containing “shipping” and “delivery”. Approach and solutionNorthstar made three changes: it displayed delivery costs earlier, enlarged and simplified the delivery panel, and improved postcode validation. It also introduced a clearly documented delivery_option_select event and tested event duplication. Because seasonality and campaign mix could influence results, the company compared the change with a controlled audience or, where that was not technically possible, used a pre-defined before-and-after period with segmented reporting. Outcome and learningThe principal learning was not that recordings “proved” a design flaw. Rather, several evidence sources converged: a mobile funnel loss, repeated interaction patterns, form errors and search intent. The case demonstrates that analytics should guide a testable hypothesis. Increasing traffic before resolving checkout friction would probably have increased wasted spend. 9. Limitations, Ethics and GovernanceAnalytics data is an estimate of behaviour, not a complete record of human experience. Important limitations include: - consent choices and browser restrictions can reduce observable data;
- users may delete identifiers or use multiple devices;
- sampled reports may differ from unsampled data;
- bot and internal traffic can distort counts;
- event definitions may change across time;
- attribution cannot automatically prove causality;
- small segments may produce unstable rates; and
- platform totals may not reconcile because of different scopes, time zones and identity rules.
Responsible practice requires data minimisation, purpose limitation, access control, retention rules, secure handling, transparent notices and compliance with applicable privacy law. Personally identifiable information should not be sent in URLs, event parameters or recordings unless there is a lawful, documented and necessary basis—and in many analytics implementations it should not be sent at all. Consent management must be configured consistently across analytics, advertising and recording tools. Analysts should also consider fairness. Personalisation based on inferred interests can exclude users, reinforce stereotypes or produce unequal offers. Automated anomaly detection and predictive audiences should be reviewed by people, tested for bias and governed through documented approval processes. 10. Contemporary Practice and Best PracticesCurrent practice is moving toward first-party, privacy-conscious measurement, server-side collection, consent-aware modelling, event governance and stronger integration of product, marketing and customer data. Artificial intelligence can assist with anomaly detection, natural-language querying, clustering and predictive scoring, but generated interpretations must be checked against definitions, sample sizes and source data. AI should not be treated as an authority that resolves tracking errors or establishes causality. Professional best practices include: - begin with decisions and objectives, not available dashboards;
- maintain a measurement plan and data dictionary;
- use stable naming conventions and version control;
- distinguish users, sessions, events and conversions;
- define denominators for every rate;
- segment thoughtfully and inspect data quality;
- combine quantitative and qualitative evidence;
- test important changes rather than relying on correlation;
- document assumptions, exclusions and limitations;
- protect privacy and restrict access; and
- communicate findings as an action, evidence, confidence level and next step.
Chapter SummaryWebsite, app and user-behaviour analytics connect digital interactions with organisational decisions. GA4 uses an event-based model in which events and parameters describe user activity, while metrics and dimensions organise analysis. Acquisition reports explain traffic sources; engagement reports describe interaction; event and conversion analysis connects behaviour to objectives. Search-console data adds evidence about search visibility, queries, impressions and clicks. Paths and funnels help examine sequences and stage losses, while cohorts reveal how behaviour changes across groups over time. Heatmaps, form analytics and session recordings provide qualitative clues but must not be mistaken for representative or causal evidence. Reliable analysis depends on clear definitions, valid implementation, appropriate denominators, segmentation, testing and transparent limitations. Privacy, consent, data minimisation and responsible governance are essential parts of professional analytics. Key TermsUser: A person or analytics identity associated with digital interactions. Session: A period of interaction with a digital property, defined by the platform. Event: A recorded interaction such as a view, click, search or purchase. Parameter: Additional information attached to an event. Metric: A quantitative measurement. Dimension: An attribute used to classify or segment data. Engaged session: A session meeting the platform’s engagement conditions. Conversion: A valuable action identified for measurement. Traffic source: The origin through which a user reaches a property. UTM parameter: A campaign-tagging value used to classify link traffic. Search impression: An appearance of a result in a search-results context. Click-through rate: Clicks divided by impressions, expressed as a percentage. Funnel: An ordered sequence of stages leading toward an outcome. Path analysis: Examination of sequences of screens, pages or events. Cohort: A group sharing a defined starting characteristic. Retention: Continued activity by members of a cohort over time. Heatmap: A visual representation of concentrated interactions. Session recording: A replay of selected user interactions, subject to privacy controls. Attribution: Assignment of outcome credit to marketing interactions. Incrementality: The additional outcome caused by an activity compared with a suitable counterfactual. Review QuestionsShort Answer Questions- Distinguish a user, session, event and parameter.
- Why should campaign links use a consistent naming convention?
- What is the difference between GA4 and search-console data?
- State two limitations of session recordings.
- Why must a conversion rate specify its denominator?
Long Answer Questions- Explain how a measurement plan translates business objectives into an event architecture.
- Discuss how acquisition, engagement and conversion reports can be integrated to evaluate a campaign.
- Explain the uses and limitations of funnel, path and cohort analysis.
- Evaluate the role of heatmaps and session recordings in website optimisation.
- Discuss privacy, consent and governance requirements for user-behaviour analytics.
Analytical / Application Questions- A campaign produces 30,000 impressions, 900 clicks and 45 purchases. Calculate CTR and click-to-purchase rate, and explain why neither measure alone proves campaign profitability.
- A mobile funnel has a large drop between delivery selection and payment. Design a diagnostic plan using GA4, recordings, form analytics and qualitative research.
- A new onboarding process produces higher week-one retention but lower week-four retention. Propose cohort segments and additional evidence needed before recommending adoption.
Multiple Choice Questions with AnswersQuestion 1Which statement best describes an event in GA4? A. A person identified across all devices B. A recorded interaction such as a search or purchase C. A marketing channel that sends traffic D. A group of users who first arrived in the same month Correct Answer: B. A recorded interaction such as a search or purchase Question 2A site records 200 engaged sessions out of 1,000 sessions. What is the engagement rate? A. 5% B. 10% C. 20% D. 80% Correct Answer: C. 20% Question 3Which metric is most directly associated with search-result exposure? A. Impressions B. Average order value C. Session duration D. Cart abandonment Correct Answer: A. Impressions Question 4What is the principal purpose of a measurement plan? A. To maximise the number of dashboard charts B. To connect business objectives with defined, testable measurements C. To eliminate the need for privacy controls D. To guarantee that all users are identified Correct Answer: B. To connect business objectives with defined, testable measurements Question 5A funnel contains 800 product viewers and 96 add-to-cart users. What is the stage completion rate? A. 8% B. 12% C. 48% D. 83% Correct Answer: B. 12% Question 6Which statement about a cohort is correct? A. It is always a paid advertising audience B. It is a group sharing a defined starting characteristic C. It is a count of all events in a session D. It is a type of heatmap Correct Answer: B. It is a group sharing a defined starting characteristic Question 7Why should heatmap evidence be interpreted cautiously? A. It cannot display any interactions B. It automatically proves user intention C. It may show patterns without representing all users or explaining causality D. It is only useful for search-console queries Correct Answer: C. It may show patterns without representing all users or explaining causality Question 8If a page receives 2,500 impressions and 100 clicks, what is its CTR? A. 2% B. 4% C. 25% D. 40% Correct Answer: B. 4% Question 9Which practice most directly reduces duplicate or inconsistent reporting? A. Using a data dictionary and naming conventions B. Adding more dimensions without definitions C. Counting every mouse movement as a conversion D. Removing all event parameters Correct Answer: A. Using a data dictionary and naming conventions Question 10What does incrementality attempt to estimate? A. The total number of dashboard users B. The additional outcome caused by an activity compared with a counterfactual C. The number of pages in a website D. The average position of a search result Correct Answer: B. The additional outcome caused by an activity compared with a counterfactual
|