Marketing Analytics

Chapter 11
Digital, Social and E-commerce Analytics

Bachelors Program in Business Analytics
Marketing Analytics   •   Bachelor

Digital, Social and E-commerce Analytics

Introduction and Context

Digital channels have transformed marketing from a largely periodic, campaign-centred activity into a continuous process of observation, experimentation and optimisation. Websites, mobile applications, search engines, social platforms, email systems and online marketplaces generate extensive behavioural data. Marketing analytics converts these data into evidence about customer attention, intent, engagement, conversion, retention and value.

Digital analytics is not simply the counting of clicks. A page view may indicate curiosity but not purchase intent; a social reaction may indicate entertainment rather than brand preference; and an attributed conversion may be claimed by several channels. Effective analysis therefore combines measurement design, statistical reasoning, customer understanding and business judgment. It also recognises that digital data are incomplete: browsers restrict third-party cookies, users decline consent, platforms define metrics differently, tracking systems fail, and algorithms control what audiences see.

This chapter develops a framework for interpreting digital, social and e-commerce metrics; analysing traffic and funnels; applying search, email, recommender and attribution analytics; and making decisions under measurement uncertainty.

Learning Objectives

By the end of this chapter, students should be able to:

  1. Distinguish major digital, social, search, email and marketplace metrics.
  2. Construct and interpret traffic, engagement, conversion and retention funnels.
  3. Calculate and explain core performance measures such as conversion rate, click-through rate, cost per acquisition and return on advertising spend.
  4. Apply SEO, SEM, recommender-system and attribution concepts to marketing decisions.
  5. Diagnose data-quality, privacy, platform and cookie-related limitations.
  6. Recommend ethically responsible improvements to a digital marketing measurement system.

1. The Digital Measurement System

A robust analytics system connects five elements:

  1. Business objectives: such as revenue growth, qualified leads, subscription retention or customer satisfaction.
  2. Customer journey: awareness, consideration, purchase, use, service and advocacy.
  3. Events and entities: users, sessions, products, orders, impressions, clicks, searches and messages.
  4. Metrics and dimensions: metrics are quantitative measures; dimensions describe categories such as channel, device, geography or product.
  5. Decisions and actions: budget allocation, content changes, pricing, personalisation, product improvements or customer-service intervention.

A measurement plan should specify the question, decision owner, event definition, data source, time window, segmentation variables and quality checks. For example, “How many users clicked?” is less useful than “Which acquisition sources generate profitable first purchases among new customers within 30 days?”

Important terminology

A user is a person or account identified by an analytics system, although identity may be probabilistic or incomplete. A session is a period of activity grouped by a platform’s rules. An event is an observable action, such as viewing a product, submitting a form or adding an item to a cart. A conversion is a desired outcome defined by the organisation. A funnel represents sequential stages through which users may progress. A cohort is a group sharing a relevant characteristic, commonly acquisition date or first-purchase month.

A crucial distinction is between reach, the number of distinct people exposed to content, and impressions, the number of times content was displayed. One person may generate several impressions. Similarly, unique clicks count distinct users who clicked, whereas total clicks count all clicks.

2. Traffic, Engagement and Conversion Metrics

Acquisition metrics

Common acquisition dimensions include source, medium, campaign, search query, landing page, device and geography. Typical measures are:

  • Users or visitors: estimated distinct visitors.
  • Sessions: visits or periods of activity.
  • New-user share: the proportion classified as new by the measurement system.
  • Impressions: displays of an advertisement, result or post.
  • Reach: distinct accounts or people exposed.
  • Click-through rate (CTR): the share of impressions producing clicks.
CTR = Clicks ÷ Impressions × 100%

CTR is meaningful only when clicks and impressions refer to the same placement, period and population. A high CTR does not guarantee valuable traffic; misleading creative may attract clicks but produce low-quality visits.

Engagement metrics

Engagement includes page views, product views, video completion, scroll depth, time engaged, comments, saves, shares and return visits. These measures are behavioural signals, not direct measures of persuasion. Automated traffic, accidental clicks, background tabs and platform-specific counting rules can distort them.

The engagement rate must be defined explicitly because platforms use different denominators. One defensible version is:

Engagement rate = (Likes + Comments + Shares + Saves) ÷ Reach × 100%

The formula assumes that all four interaction types are measured consistently and that reach is the chosen exposure base. An alternative may use impressions or followers; results should not be compared without checking the definition.

Conversion and funnel metrics

A conversion rate is generally:

Conversion rate = Conversions ÷ Eligible opportunities × 100%

The denominator must match the question. Website conversion rate may use sessions, users or transactions. If the question is “What proportion of product-detail sessions resulted in purchase?”, product-detail sessions are the appropriate denominator. If the question is “What proportion of visitors purchased?”, users may be more appropriate.

A simple e-commerce funnel may contain:

Ad or search impression → Landing page → Product view → Add to cart → Checkout → Purchase → Repeat purchase

Stage-to-stage rate is:

Stage conversion rate = Users reaching later stage ÷ Users reaching prior stage × 100%

If 10,000 landing-page sessions produce 1,500 product views, 450 carts and 180 purchases, the landing-to-purchase rate is 180 ÷ 10,000 × 100% = 1.8%. Product-view-to-cart rate is 450 ÷ 1,500 × 100% = 30%, and cart-to-purchase rate is 180 ÷ 450 × 100% = 40%. The largest business opportunity is not automatically the stage with the lowest rate: analysts should estimate the value and feasibility of interventions, investigate customer intent, and consider absolute volume.

Revenue and unit economics

Average order value (AOV) is:

AOV = Revenue ÷ Number of orders

Cost per acquisition (CPA) is:

CPA = Attributable marketing cost ÷ Attributable conversions

Return on advertising spend (ROAS) is:

ROAS = Attributable revenue ÷ Advertising cost

ROAS is a ratio, whereas ROI normally incorporates broader costs and profit. A campaign with ROAS of 4 may still be unprofitable if product, fulfilment, discounts and service costs exceed the remaining revenue. Metrics should therefore be connected to contribution margin and customer lifetime value (CLV), not interpreted in isolation.

3. Web and App Analytics

Web analytics commonly uses tagged campaign links, first-party event collection, server logs, consent-management systems and transaction databases. Consistent naming conventions are essential. A campaign taxonomy may include source, medium, campaign, content and term. Inconsistent spellings such as “paid-social,” “paid_social” and “social-paid” fragment reporting.

App analytics introduces additional issues: installation, first open, permissions, push notifications, app version, operating system, deep links and uninstall behaviour. App events may be lost when devices are offline or when operating systems restrict background activity. Analysts should monitor event volumes, duplicate events, missing parameters and differences between client-side and server-side purchase records.

Identity and measurement limitations

A person may appear as several anonymous devices, while several people may share one device. Login-based identity resolution can improve analysis but may exclude non-logged-in users and raises governance obligations. Cross-device stitching should never be presented as certain when it is inferred.

Third-party cookies historically supported cross-site advertising and measurement. Browser restrictions, privacy legislation, consent choices and platform changes have reduced their reliability. First-party data, contextual advertising, aggregated reporting, clean rooms, modeled conversions and server-side measurement can help, but each has limitations. Server-side collection may improve control and reduce browser loss, yet it does not remove the need for lawful consent or accurate event definitions.

Analysts should distinguish:

  • Observed data: directly recorded events.
  • Modeled data: estimates produced to compensate for missing observations.
  • Reported platform data: measures defined and calculated by a platform.
  • Incremental effects: outcomes caused by marketing compared with a credible counterfactual.

These categories should not be silently combined.

4. Search Analytics: SEO and SEM

Search analytics examines how people discover information through organic and paid results.

Search engine optimisation (SEO)

SEO seeks to improve unpaid visibility and useful organic traffic. Relevant factors include search intent, content quality, crawlability, internal linking, structured information, page speed, mobile usability, authority and technical accessibility. Useful measures include impressions, organic clicks, CTR, ranking position, landing-page engagement, assisted conversions and revenue.

SEO analysis should begin with intent rather than isolated keywords. Informational queries may indicate learning; navigational queries seek a known site; commercial investigation compares alternatives; and transactional queries express stronger purchase intent. A page that ranks well for a high-volume informational term may generate less commercial value than a lower-volume transactional term.

Search Console-type data and analytics-platform data often differ because they use different counting rules, time zones, privacy thresholds and attribution windows. Differences do not necessarily indicate an implementation failure.

Search engine marketing (SEM)

Paid search uses bids, budgets, audience settings, ad quality and landing pages. Important measures include impression share, CTR, cost per click (CPC), conversion rate, CPA and ROAS. CPC is:

CPC = Advertising cost ÷ Clicks

A campaign’s performance depends on both traffic quality and auction conditions. Brand keywords may have high conversion rates but would have generated many conversions organically. Consequently, the observed performance of paid search does not by itself establish incremental impact. Holdout tests, geo-experiments or carefully designed time-series comparisons provide stronger evidence.

5. Social Media Analytics

Social analytics covers paid, owned and earned activity. Owned metrics concern content published by an organisation; paid metrics concern purchased distribution; earned metrics concern unsolicited user activity and discussion.

A social dashboard can combine reach, frequency, video completion, reactions, comments, shares, saves, link clicks, sentiment indicators, follower growth, response time and conversions. However, social listening systems may misclassify sarcasm, slang, multilingual content, bots and coordinated activity. Sentiment scores should support, not replace, human review and qualitative interpretation.

The meaning of an interaction depends on context. A share may extend reach, a save may indicate future purchase intent, and a complaint may reveal a service problem. Analysts should segment by content type, audience, creator, objective and customer status. Comparing a product tutorial with a humorous awareness post using one engagement benchmark is analytically weak.

Social attribution is particularly difficult because users may discover a brand on social media, search for it later and purchase through a direct visit. Last-click reporting may assign the sale to direct traffic, while platform reporting may claim it for a social impression. A disciplined analysis reports overlap, time lag and uncertainty rather than selecting the most flattering result.

6. Email Analytics

Email analytics commonly includes delivery rate, bounce rate, open rate, click-through rate, click-to-open rate, unsubscribe rate, complaint rate and conversion rate. Open rates have become less reliable because privacy features may preload tracking pixels or obscure whether a person actually read a message.

Click-based and downstream behavioural measures are generally more useful, though they are also affected by automated security scanning and link-protection systems. A campaign should be evaluated against its objective: revenue, registration, reactivation, education or service completion.

A/B testing can compare subject lines, content, send times or calls to action. The test should define the unit of randomisation, primary outcome, minimum sample, test duration and stopping rule before viewing results. Random assignment reduces confounding, but contamination, repeated exposure and unequal deliverability can still affect validity. Statistical significance alone is insufficient; practical effect size, cost and customer experience matter.

7. E-commerce and Marketplace Analytics

E-commerce analytics joins browsing, product, transaction, fulfilment and customer-service data. Important measures include product-detail views, add-to-cart rate, checkout-start rate, purchase conversion, stock availability, cancellation, return rate, discount rate, AOV, gross margin and repeat purchase.

Marketplace analytics adds seller rating, search rank, buy-box or featured-offer share, fulfilment speed, advertising cost, commission, inventory availability and review volume. Marketplace data may be less transparent than owned-site data, and the platform controls ranking, access to customers and reporting definitions.

A product can have high traffic but low sales because of price, poor imagery, weak reviews, slow delivery, unavailable variants or a mismatch between query and offer. Analysts should combine behavioural data with search terms, review text, competitor observation and operational data.

Cohort and retention analysis

Cohort analysis tracks groups acquired or activated during the same period. A monthly retention rate may be expressed as:

Retention rate at period t = Active customers from cohort at t ÷ Customers in cohort at period 0 × 100%

The definition of “active” must be stated, such as purchase, login or subscription payment. Cohort tables can reveal whether growth reflects genuine retention or merely continuous acquisition. They also help estimate CLV, although CLV requires assumptions about future retention, margin, discounting and acquisition cost.

8. Recommender Analytics and Personalisation

Recommendation systems select or rank products, content or offers. A content-based system uses item attributes and a user’s previous interests. A collaborative filtering system uses patterns across users or items. A hybrid combines several signals, potentially including context, inventory, price, popularity and business rules.

Evaluation should distinguish offline and online performance. Offline measures such as precision, recall, ranking quality or prediction error use historical data, but historical data reflect previous recommendations and exposure bias. Online measures include click-through, add-to-cart, conversion, revenue, margin, repeat use and customer satisfaction. A recommendation that increases clicks but reduces margin or trust is not necessarily successful.

Cold-start problems occur for new users or items with little interaction data. Other risks include popularity concentration, filter bubbles, unfair exposure, privacy intrusion and feedback loops. Recommenders should include exploration, diversity, explainability and safeguards against promoting unavailable or unsuitable products.

9. Attribution and Incrementality

Attribution assigns credit for a conversion to marketing touchpoints. Common rules include:

  • Last-touch: all credit goes to the final recorded touchpoint.
  • First-touch: all credit goes to the first recorded touchpoint.
  • Linear: credit is divided equally among touchpoints.
  • Time-decay: later touchpoints receive greater credit according to a chosen decay rule.
  • Position-based: greater credit is assigned to first and last touches.
  • Data-driven: credit is estimated from patterns in observed data.

These are allocation conventions, not proof of causality. A user who would have purchased without advertising may still be attributed to an ad. Cookie loss, ad blockers, walled gardens, offline activity and cross-device behaviour further weaken path completeness.

Incrementality asks a causal question: what additional outcome occurred because of the intervention? A simple experimental estimator is:

Incremental effect = Outcome rate in treatment group − Outcome rate in control group

For example, if 8% of an exposed group purchases and 6% of a comparable holdout group purchases, the estimated incremental effect is 2 percentage points, assuming random assignment, adequate compliance and no interference between groups. Incremental conversions can be estimated as treatment-group size × 0.02, subject to sampling uncertainty. Geo-experiments, audience holdouts and conversion-lift studies are practical approaches. When randomisation is impossible, analysts may use matched markets or observational models, but causal claims should be qualified.

10. A Worked Integrated Example

An online retailer spends $12,000 on a campaign. It receives 300,000 impressions and 9,000 clicks. Of those clicks, 7,200 become product-viewing sessions, 1,800 add an item to cart and 540 complete purchases. Revenue is $43,200 and contribution margin before advertising is $17,280.

CTR = 9,000 ÷ 300,000 × 100% = 3%.

Click-to-product-view rate = 7,200 ÷ 9,000 × 100% = 80%.

Product-view-to-cart rate = 1,800 ÷ 7,200 × 100% = 25%.

Cart-to-purchase rate = 540 ÷ 1,800 × 100% = 30%.

Overall click-to-purchase conversion = 540 ÷ 9,000 × 100% = 6%.

CPA = $12,000 ÷ 540 = $22.22 per purchase.

AOV = $43,200 ÷ 540 = $80.

ROAS = $43,200 ÷ $12,000 = 3.6.

Contribution after advertising = $17,280 − $12,000 = $5,280.

The campaign appears profitable on this contribution definition, but the conclusion depends on whether revenue is genuinely incremental, whether returns and fulfilment costs are included, and whether repeat purchases are expected. The 80% click-to-product-view rate suggests some landing or tracking loss; the 25% product-view-to-cart rate may warrant testing price, product information and trust signals; and the 30% cart-to-purchase rate may warrant examining delivery charges, payment failures and checkout friction.

11. Illustrative Case: Northstar Outdoor Supply

Background

Northstar Outdoor Supply, a fictional mid-sized retailer, sells hiking equipment through its website and a major marketplace. Its marketing team reported strong social engagement and a rising paid-search ROAS, yet quarterly profit declined.

Problem

The organisation used platform-reported conversions without a common taxonomy. Marketplace fees, returns and discounts were excluded from campaign dashboards. Social platforms claimed view-through conversions, while the web platform used last-click attribution. The retailer also lost part of its cross-device data after consent and browser changes.

Analysis

The analytics team created a measurement dictionary defining users, sessions, product views, carts, orders, net revenue and contribution margin. It reconciled orders with the finance system and separated new from returning customers. Cohort analysis showed that paid social acquired many low-retention customers, whereas organic search acquired fewer customers with higher repeat purchase. A checkout audit found that delivery charges appeared late and that mobile payment failures were concentrated in one operating-system version.

The team then conducted a four-week audience holdout for selected social campaigns and a geo-based test of branded paid search. It reported platform attribution separately from incremental estimates. Marketplace analysis showed that a high-ROAS product had substantial returns and low margin, while a lower-ROAS product generated profitable repeat purchases.

Approach and outcome

Northstar redesigned dashboards around contribution margin, incremental conversions and cohort retention. It improved delivery-price disclosure, fixed the mobile payment issue, reduced spend on low-margin products, and used content and organic search to support high-intent queries. Reported social conversions fell after stricter measurement, but financial performance improved because budget was shifted toward incremental and repeatable demand.

Learning points

  1. Platform-reported performance is not the same as causal impact.
  2. Revenue metrics can conceal fees, returns and margin differences.
  3. Funnel diagnosis should connect behavioural evidence with operational causes.
  4. Measurement changes may reduce reported conversions while improving decision quality.
  5. A common metric dictionary is a governance tool, not merely a technical document.

12. Ethics, Governance and Professional Practice

Digital analytics involves personal data, inference and unequal power. Organisations should establish a lawful basis for processing, provide understandable notice, collect only necessary data, limit retention, protect access and honour deletion or preference requests. Consent should not be coerced through confusing design. Sensitive attributes should not be inferred or used in ways that create discrimination or harmful targeting.

Governance practices include data dictionaries, access controls, audit logs, quality monitoring, vendor review, documented attribution assumptions and incident-response procedures. Analysts should disclose modeled figures, confidence limitations and platform definitions. Dark patterns—interfaces designed to manipulate consent or purchase decisions—may increase short-term conversion while damaging autonomy and trust.

AI can support forecasting, segmentation, creative testing, anomaly detection and recommendation. Human oversight remains necessary because models may reproduce biased historical behaviour, optimise a narrow proxy, expose confidential data or generate misleading content. Teams should monitor performance by relevant segments, test for disparate impact, document model purpose and provide escalation routes.

13. Contemporary Developments and Best Practices

Current practice is moving toward privacy-preserving measurement, first-party relationships, server-side and event-based collection, media-mix modelling, clean rooms, contextual targeting, retail-media networks and automated experimentation. These developments do not eliminate uncertainty. Aggregation may reduce individual-level detail; modeled conversions depend on assumptions; and clean-room outputs may be difficult to validate independently.

A mature analytics programme should:

  • begin with decisions and customer value rather than available data;
  • define events, dimensions, denominators and ownership before launch;
  • reconcile digital events with orders and finance records;
  • separate observed, modeled, platform-reported and incremental measures;
  • use cohorts and segments rather than relying only on averages;
  • test material changes with randomisation where feasible;
  • report confidence, data loss and attribution windows;
  • monitor bots, duplication, consent rates, missing parameters and tracking drift;
  • evaluate profit, retention and customer experience alongside clicks;
  • protect privacy and document ethical judgments.

Chapter Summary

Digital, social and e-commerce analytics connects business objectives to customer behaviour, channel activity and commercial outcomes. Acquisition metrics describe exposure and traffic; engagement metrics describe interaction; funnel metrics identify progression and leakage; and financial metrics connect marketing activity to revenue, cost and margin. Correct interpretation depends on precise denominators, consistent definitions and suitable segmentation.

SEO and SEM require attention to search intent, landing-page quality and incrementality. Social and email metrics are useful but affected by platform definitions, automation and privacy changes. E-commerce and marketplace analysis must include operations, returns, fees, inventory and retention. Recommender systems require evaluation beyond clicks, while attribution allocates observed credit and does not establish causation. Holdouts and experiments provide stronger evidence of incremental impact.

Cookies, consent choices, walled gardens, identity fragmentation and modeled reporting make digital measurement incomplete. Ethical governance therefore requires transparency, data minimisation, security, fairness and careful communication of uncertainty. The professional analyst combines technical measurement with causal reasoning, financial understanding and responsible judgment.

Key Terms

Attribution: Allocation of conversion credit across marketing touchpoints.

Average order value (AOV): Revenue divided by number of orders.

Cohort: Group sharing a characteristic, often acquisition or first-purchase period.

Conversion: A defined desired action or outcome.

Conversion rate: Conversions divided by a specified eligible denominator.

Cost per acquisition (CPA): Marketing cost divided by attributable conversions.

Click-through rate (CTR): Clicks divided by impressions.

Customer lifetime value (CLV): Estimated future value generated by a customer under stated assumptions.

Engagement rate: Interaction measure using a specified exposure or audience denominator.

Funnel: Sequential stages leading toward a desired outcome.

Incrementality: Additional outcome caused by a marketing intervention relative to a counterfactual.

Impression: A recorded display of an advertisement, result or piece of content.

Marketplace analytics: Analysis of performance within a third-party commerce platform.

ROAS: Attributable revenue divided by advertising cost.

Search engine marketing (SEM): Paid promotion within search advertising systems.

Search engine optimisation (SEO): Practices intended to improve organic search visibility.

Session: A platform-defined period or grouping of user activity.

Third-party cookie: Cookie set by a domain other than the site directly visited.

User identity resolution: Process of associating events with a person or account, often with uncertainty.

View-through conversion: Conversion credited after an impression without a recorded click.

Review Questions

Short Answer Questions

  1. Why must the denominator be specified when reporting a conversion rate?
  2. Distinguish reach from impressions.
  3. What is the difference between attribution and incrementality?
  4. Identify two reasons email open rates may be unreliable.
  5. Why should e-commerce analysts include returns and fulfilment costs?

Long Answer Questions

  1. Explain how a digital measurement plan connects business objectives, events, metrics and decisions.
  2. Compare SEO and SEM in terms of intent, measurement and causal evaluation.
  3. Discuss the principal limitations of cookie-based and cross-device measurement.
  4. Explain how cohort analysis can improve evaluation of customer acquisition.
  5. Evaluate the ethical and governance responsibilities of a recommender-system analyst.

Analytical / Application Questions

  1. A campaign generates 240,000 impressions, 7,200 clicks and 360 purchases. Calculate CTR and click-to-purchase conversion, and explain why these figures do not establish incrementality.
  2. An online store has a strong product-view-to-cart rate but a weak cart-to-purchase rate. Propose a structured diagnostic using behavioural, operational and experimental evidence.
  3. A social platform reports more conversions than the retailer’s analytics system. Develop a reconciliation plan that preserves useful platform information without accepting either source uncritically.

Multiple Choice Questions with Answers

Question 1

A campaign receives 50,000 impressions and 1,500 clicks. What is its click-through rate?

A. 0.3%

B. 3%

C. 30%

D. 33.3%

Correct Answer: B. 3%

Question 2

Which measure most directly estimates the additional outcome caused by a marketing intervention?

A. Last-touch attribution

B. Platform-reported ROAS

C. Incremental effect from a treatment-control comparison

D. Total impressions

Correct Answer: C. Incremental effect from a treatment-control comparison

Question 3

A retailer earns $24,000 in attributable revenue from $6,000 in advertising cost. What is ROAS?

A. 0.25

B. 2

C. 4

D. 30

Correct Answer: C. 4

Question 4

Which denominator is most appropriate for measuring the proportion of product-detail sessions that result in purchase?

A. Total impressions

B. Product-detail sessions

C. Advertising cost

D. Number of employees

Correct Answer: B. Product-detail sessions

Question 5

Which is a principal limitation of platform-reported attribution?

A. It always excludes clicks

B. It proves that every credited conversion was caused by advertising

C. It may use definitions and windows that differ from other systems

D. It cannot report impressions

Correct Answer: C. It may use definitions and windows that differ from other systems

Question 6

Which search query most strongly indicates transactional intent?

A. How do hiking boots work?

B. History of hiking boots

C. Best hiking boots comparison

D. Buy waterproof hiking boots size nueve

Correct Answer: D. Buy waterproof hiking boots size nueve

Question 7

A store has revenue of $18,000 from 300 orders. What is its average order value?

A. $6

B. $60

C. $600

D. $5,400

Correct Answer: C. $600

Question 8

Which method generally provides the strongest evidence that an advertisement caused additional purchases?

A. A randomised audience holdout

B. Counting total followers

C. Using the last recorded touchpoint

D. Comparing two unrelated calendar months

Correct Answer: A. A randomised audience holdout

Question 9

Which problem occurs when a recommender has little interaction data for a newly introduced product?

A. Attribution window problem

B. Cold-start problem

C. Bounce-rate problem

D. Impression inflation

Correct Answer: B. Cold-start problem

Question 10

Why should analysts distinguish observed data from modeled data?

A. Modeled data are always inaccurate

B. Observed data never contain errors

C. They rely on different evidential bases and assumptions

D. Only modeled data can measure revenue

Correct Answer: C. They rely on different evidential bases and assumptions

Marketing Analytics
Chapter 11 of 15