E-Commerce

Chapter 9
Digital Marketing and Customer Relationship Management

Bachelors Program in IT
E-Commerce   •   Bachelor

Digital Marketing and Customer Relationship Management

Introduction

E-commerce depends not only on having a functional online store, but also on attracting relevant visitors, converting them into customers, and developing profitable long-term relationships. Digital marketing connects a firm’s value proposition with customers through search engines, social platforms, email, content, affiliates, influencers, marketplaces, and paid media. Customer relationship management (CRM) converts customer information and interactions into coordinated decisions about service, personalization, retention, and loyalty.

The central managerial challenge is integration. A search campaign may create demand, a product page may convert it, an email sequence may encourage a second purchase, and a loyalty program may increase lifetime value. If these activities are measured in isolation, managers may overinvest in channels that appear successful but merely capture demand created elsewhere. Effective e-commerce marketing therefore combines channel planning, customer data, experimentation, attribution, automation, and ethical governance.

Learning Objectives

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

  1. Explain the roles and relationships among SEO, paid search, social, content, email, affiliate, influencer, and marketplace marketing.
  2. Design an integrated, measurable digital marketing campaign.
  3. Distinguish acquisition, conversion, retention, loyalty, and advocacy activities.
  4. Apply CRM segmentation, customer lifetime value, attribution, and marketing automation concepts.
  5. Evaluate campaign performance using appropriate metrics and recognize measurement limitations.
  6. Address privacy, consent, fairness, transparency, and platform-governance issues.

1. The Digital Marketing System

Digital marketing is the planned use of digitally mediated channels, data, and technologies to create, communicate, deliver, and exchange value. It is broader than advertising. It includes organic discovery, community building, customer service, personalization, transaction facilitation, and post-purchase relationship development.

A useful customer journey model is:

Awareness → Consideration → Conversion → Retention → Advocacy

The stages are not strictly linear. A customer may discover a brand through a creator, compare products on a marketplace, purchase through a mobile application, contact customer service through social media, and recommend the product to others. Consequently, campaign planning should be customer-centered rather than organized only by media department.

A digital marketing plan normally specifies:

  • target segments and customer needs;
  • a positioning statement and value proposition;
  • journey-stage objectives;
  • channel roles and creative messages;
  • budget, timing, and responsibilities;
  • data collection and consent arrangements;
  • performance indicators and experimental design;
  • optimization rules and review intervals.

A strong objective is specific and measurable. For example, “increase qualified new-customer revenue by 15% in one quarter while maintaining contribution margin above a specified threshold” is more useful than “improve online marketing.”

2. The Principal Acquisition Channels

2.1 Search Engine Optimization

Search engine optimization (SEO) improves a site’s visibility in unpaid search results. It involves three connected areas:

  • Technical SEO: crawlability, indexation, site architecture, mobile usability, security, structured data, and performance.
  • On-page SEO: search intent, useful page content, titles, headings, internal links, product information, and accessibility.
  • Off-page authority: trustworthy references, digital public relations, and mentions from relevant sites.

SEO begins with search-intent analysis. Informational queries indicate learning needs; commercial investigation queries indicate comparison; transactional queries indicate readiness to buy. Content should satisfy the underlying need rather than merely repeat keywords. Search visibility is not guaranteed by optimization because ranking systems change, competitors respond, and search engines evaluate relevance and quality.

SEO metrics include impressions, organic clicks, click-through rate (CTR), rankings, landing-page engagement, assisted conversions, and organic revenue. Rankings alone are weak evidence of business value.

2.2 Paid Search

Paid search places advertisements in or near search results, usually through keyword, audience, geographic, device, or time targeting. It is especially useful for capturing existing demand and testing messages rapidly. Important controls include match types, negative keywords, bidding strategy, landing-page relevance, budget limits, and conversion tracking.

Common performance measures are:

CTR = C / I

where C is the number of clicks and I is the number of impressions. CTR is dimensionless and applies when impressions and clicks are measured for the same campaign and period.

CPC = S / C

where S is advertising spend in currency and C is clicks. CPC is currency per click.

ROAS = Ra / S

where R_a is attributed revenue and S is advertising spend. ROAS is a ratio, not profit: it excludes many costs unless those costs are incorporated separately. A high ROAS campaign can still be unprofitable if product margins, fulfillment costs, refunds, or overhead are substantial.

2.3 Social Media Marketing

Social marketing includes paid advertising, organic publishing, community management, social commerce, listening, and customer support. Platforms differ in audience, creative conventions, targeting capability, and data access. A social strategy should define whether the objective is reach, engagement, traffic, conversion, service, or advocacy.

Engagement metrics can be useful for diagnosing creative resonance, but engagement is not automatically commercial value. Social evidence should be connected to qualified traffic, assisted conversions, customer sentiment, repeat purchase, or other relevant outcomes.

2.4 Content Marketing

Content marketing creates and distributes useful, credible, and consistent material for a defined audience. Examples include buying guides, tutorials, product demonstrations, comparison tools, research reports, webinars, and user-generated content. Effective content is mapped to customer questions and journey stages.

A content portfolio should balance evergreen content, seasonal campaigns, product education, brand storytelling, and service content. Governance is necessary to maintain factual accuracy, brand consistency, accessibility, copyright compliance, and review dates.

2.5 Email and Lifecycle Marketing

Email remains valuable because it supports permission-based, direct communication. Typical programs include welcome series, onboarding, browse or cart reminders, replenishment messages, post-purchase education, review requests, win-back campaigns, and loyalty offers.

Email effectiveness depends on deliverability, consent, list hygiene, relevance, frequency, mobile design, and a clear value exchange. Open rates are increasingly imperfect because of privacy features and automated scanning. Clicks, downstream conversions, unsubscribes, complaints, incremental revenue, and profitability provide stronger evidence.

2.6 Affiliate Marketing

In affiliate marketing, publishers or partners promote products and receive compensation for specified outcomes, commonly clicks, leads, or sales. The model can extend reach with performance-linked cost, but it requires partner screening, commission rules, tracking controls, disclosure, and fraud monitoring. Attribution disputes may arise when affiliates intercept customers who were already likely to purchase.

2.7 Influencer Marketing

Influencer marketing uses creators whose perceived expertise, identity, or community relationship can affect attention and trust. Selection should consider audience relevance, authenticity, engagement quality, brand safety, disclosure behavior, and evidence of business outcomes—not follower count alone. Contracts should specify content rights, claims substantiation, disclosure, exclusivity, payment, approval, and termination provisions.

2.8 Marketplace Marketing

Marketplaces such as major retail platforms provide traffic, search, payment, trust mechanisms, and fulfillment options. They also impose fees, ranking rules, data restrictions, and intense price competition. Marketplace success requires accurate listings, high-quality images, competitive but sustainable pricing, inventory reliability, review management, sponsored placement, and compliance with platform policies.

A marketplace is both a sales channel and a strategic dependency. Firms should compare the reach benefits with commission costs, customer-data limitations, disintermediation risk, and reduced control over the customer relationship.

3. Campaign Integration and Media Planning

Integrated marketing assigns complementary roles to channels. For example, SEO and content may create durable discovery; paid search may capture high-intent demand; social and influencers may create attention and credibility; email may convert and retain permissioned audiences; affiliates may extend distribution; and marketplaces may reduce transaction friction.

A practical planning sequence is:

  1. Define the business outcome and economic constraints.
  2. Select priority segments and identify their jobs, barriers, and decision criteria.
  3. Map touchpoints and information needs across the journey.
  4. Assign each channel a primary role and supporting role.
  5. Create consistent but channel-appropriate messages and landing experiences.
  6. Implement tagging, conversion events, consent controls, and data-quality checks.
  7. Launch with controlled budgets and pre-established success criteria.
  8. Evaluate incremental effects, not only platform-reported conversions.
  9. Reallocate resources based on evidence and profitability.

The conversion rate is commonly calculated as:

Conversion rate = Nc / Nv × 100%

where N_c is the number of desired conversions and N_v is the relevant number of visitors, sessions, or users. The denominator must be stated because conversion rates based on sessions, users, clicks, and impressions are not interchangeable.

For a simple campaign, suppose a firm spends $4,000, receives 20,000 ad clicks, and records 600 orders producing $18,000 in attributed revenue. CPC is $4,000 ÷ 20,000 = $0.20 per click. The click-to-order conversion rate is 600 ÷ 20,000 × 100% = 3%. ROAS is $18,000 ÷ $4,000 = 4.5, or 450%. This does not establish profitability without margin and other costs.

4. Customer Relationship Management

CRM is the coordinated management of customer interactions, information, processes, and relationships across marketing, sales, service, and commerce. A CRM system may store identity data, consent status, transactions, service cases, preferences, campaign responses, and loyalty activity. Technology alone is not CRM; value arises when data supports better decisions and experiences.

CRM has four connected purposes:

  • Identification: recognize customers and prospects appropriately.
  • Understanding: analyze needs, behavior, value, and service history.
  • Interaction: deliver relevant communications and support.
  • Development: increase satisfaction, retention, advocacy, and mutual value.

A customer data platform (CDP) may unify event and profile data from multiple sources, while a CRM application often manages relationships, sales, service, or campaigns. Their boundaries differ by architecture and vendor, so organizations should evaluate capabilities rather than rely on labels.

Segmentation and Personalization

Useful segmentation may be demographic, geographic, behavioral, psychographic, value-based, lifecycle-based, or needs-based. RFM analysis classifies customers by recency, frequency, and monetary value. Segments should be actionable: the firm must be able to identify members, deliver a suitable treatment, and measure an outcome.

Personalization can improve relevance, but excessive or poorly explained personalization can feel intrusive. A good principle is progressive profiling: collect only what is needed initially and request additional information when a clear benefit exists.

Retention and Loyalty

Retention is the continuation of a customer relationship. Loyalty includes behavioral repetition and, in some definitions, attitudinal preference or commitment. A points program is not automatically loyalty; customers may join only to obtain discounts.

Retention activities include reliable fulfillment, effective service recovery, product education, replenishment reminders, tailored recommendations, subscriptions, communities, benefits, and fair problem resolution. Loyalty design should reward valuable behaviors without encouraging unprofitable discount dependence.

A basic retention rate for a period can be expressed as:

Retention rate = (E − N) / S × 100%

where S is customers at the start of the period, E is customers at the end, and N is new customers acquired during the period. This assumes the customer definition and observation period are consistent and that new customers can be identified. Retention rate should not be confused with repeat-purchase rate or survival probability.

5. Customer Lifetime Value and Unit Economics

Customer lifetime value (CLV) estimates the present or future economic value of a customer relationship. A simple contribution-based model is:

CLV = Σ[t=1 to T] (mt − ct) / (1 + d)t − CAC

where m_t is contribution revenue in period t, c_t is customer-specific service or retention cost in period t, d is the discount rate per period, T is the planning horizon, and CAC is customer acquisition cost. The formula assumes cash flows can be estimated, periods are defined consistently, and the discount rate reflects timing and risk. It is an estimate, not an accounting fact.

For a simplified steady-state model with constant periodic contribution m, retention probability r, discount rate d, and acquisition cost CAC, an infinite-horizon approximation is:

CLV ≈ (m × r) / (1 + d − r) − CAC

This approximation assumes constant contribution, constant retention probability, no separate variable retention costs, and an indefinitely continuing relationship. It is unsuitable when cohorts, margins, product life cycles, or retention probabilities change materially.

Suppose monthly contribution is $30, monthly retention probability is 0.80, monthly discount rate is 0.01, and CAC is $40. The pre-acquisition value is approximately $24 ÷ 0.21 = $114.29; estimated CLV after CAC is $74.29. A manager should test sensitivity: a small reduction in retention can materially reduce value. CLV should guide acquisition ceilings and retention investment, but should not justify discriminatory treatment or exclusion of low-current-value customers.

6. Attribution and Measurement

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

  • Last-click: all credit goes to the final tracked click.
  • First-click: all credit goes to the first tracked interaction.
  • Linear: credit is divided equally among selected touchpoints.
  • Time-decay: later touchpoints receive more credit.
  • Position-based: greater credit is assigned to first and last interactions.
  • Data-driven or causal approaches: credit is estimated from observed patterns, experiments, or models.

No rule reveals true causality by itself. Tracking gaps, cookie restrictions, walled gardens, cross-device behavior, offline influence, organic demand, and self-selection distort results. Platform-reported conversions may overlap, so totals should not be added without reconciliation.

Incrementality asks what would have happened without the intervention. Randomized holdout tests, geo experiments, matched-market tests, and carefully designed pre/post studies can provide stronger evidence than descriptive attribution. A test should define the treatment, control, outcome, duration, contamination risks, and decision rule before launch.

A basic incremental return measure is:

Incremental ROAS = (Rt − Rc) / St

where R_t is revenue in the treatment group, R_c is the appropriately scaled revenue expected for the control condition, and S_t is treatment spend. This is meaningful only when treatment and control are comparable and revenue measurement is consistent.

7. Marketing Automation and Architecture

Marketing automation uses rules, data, and software to trigger, personalize, schedule, and measure communications or actions. A typical workflow is:

Event → Eligibility check → Decision rule → Message/action → Response capture → Suppression or next step

For example, a customer who purchases a printer may receive setup guidance, then replenishment information after an appropriate interval, unless a service complaint is open or the customer has withdrawn consent.

Automation requires:

  • reliable event definitions and identity resolution;
  • consent, preference, and suppression management;
  • frequency and contact-pressure controls;
  • clear ownership of data and workflows;
  • testing of messages, timing, and failure paths;
  • monitoring for duplicate, contradictory, or inappropriate messages.

AI can support product recommendations, audience prediction, bidding, creative variation, customer-service assistance, and anomaly detection. It should not be treated as inherently objective. Training data can encode bias, generated claims can be inaccurate, and automated decisions may lack explainability. Human review, quality thresholds, audit logs, and escalation routes remain necessary.

8. Illustrative Case: GreenBasket Online Grocers

Background

GreenBasket is a fictional regional online grocery retailer serving urban households. It has strong organic traffic for recipe searches but weak repeat purchase and rising paid-search costs. Its marketplace sales are growing, while customer data is fragmented across the website, delivery application, email platform, and service desk.

Problem

Management cannot determine which channels acquire profitable customers. Email promotions are frequent but poorly targeted. Customers who experience late delivery sometimes receive discount offers before service recovery messages, damaging trust. Marketplace customers are difficult to identify in the retailer’s direct CRM.

Analysis

The team maps the journey and discovers three priority segments: first-time direct purchasers, recurring household buyers, and lapsed customers. It defines contribution margin after fulfillment rather than revenue as the primary economic measure. It also audits consent records, event naming, duplicate profiles, and channel tracking.

Attribution reports show that paid social receives little last-click credit, while branded paid search receives substantial credit. A four-week geo holdout indicates that reducing branded search spend produces little change in total orders, suggesting that some reported conversions were demand capture rather than incremental demand.

Approach and Solution

GreenBasket adopts the following integrated plan:

  1. Improve technical SEO and publish seasonal meal-planning content linked to product bundles.
  2. Use non-brand paid search for high-intent category terms, with margin-based bidding limits.
  3. Run creator partnerships featuring transparent recipe demonstrations and trackable landing pages.
  4. Build a permission-based welcome journey, post-purchase education series, replenishment reminders, and win-back program.
  5. Suppress promotional messages for customers with unresolved service cases.
  6. Introduce a loyalty program rewarding repeat orders and sustainable delivery choices rather than unlimited discounts.
  7. Create a unified customer identifier for direct channels and label marketplace customers separately where consent and platform rules permit.
  8. Test incremental effects using holdouts and monitor contribution CLV by acquisition source.

Outcome

In this illustrative case, the company observes improved repeat ordering and fewer service-related complaints after message suppression and journey coordination. Paid search efficiency declines on some high-volume keywords, but contribution profitability improves because low-margin orders are reduced. Management also stops treating marketplace revenue as equivalent to direct-channel CRM value and negotiates platform participation using a clearer view of fees and customer access.

Learning Points

The case demonstrates that integration is not simply placing every channel in one plan. It requires shared objectives, consistent data definitions, coordinated customer treatment, economic measurement, and experiments capable of distinguishing correlation from incremental impact.

9. Ethics, Regulation, and Governance

Digital marketing and CRM involve personal data, inferred characteristics, behavioral profiling, and automated decisions. Organizations should comply with applicable privacy and electronic-communications laws, including requirements concerning lawful basis or consent, transparency, access, correction, deletion, security, retention, and marketing opt-out. Exact obligations vary by jurisdiction and business context; legal review is essential.

Important governance principles include:

  • collect data for specified and legitimate purposes;
  • minimize collection and retain it only as long as necessary;
  • make consent informed, specific, freely given, and withdrawable where consent is the basis;
  • distinguish service messages from promotional messages;
  • protect data through access controls, encryption, monitoring, and incident procedures;
  • avoid discriminatory segmentation and manipulative dark patterns;
  • disclose sponsored content and material commercial relationships;
  • substantiate environmental, health, performance, and scarcity claims;
  • provide accessible experiences and reasonable customer control;
  • document automated decision logic and human escalation processes.

Ethical marketing also concerns power and attention. Personalization should improve relevance without exploiting vulnerability. Scarcity messages should be truthful. Loyalty programs should not obscure prices or make cancellation unnecessarily difficult.

10. Challenges, Limitations, and Best Practices

Major challenges include platform dependency, changing algorithms, fragmented identities, privacy restrictions, attribution error, bot and click fraud, deliverability problems, channel conflict, rising acquisition costs, and the temptation to optimize easily measured metrics rather than customer value.

Best practices are to:

  1. Begin with customer and business outcomes, not channel tools.
  2. Define metric names, denominators, time windows, and ownership.
  3. Measure contribution margin and incremental outcomes alongside revenue.
  4. Use first-party data responsibly and maintain consent and preference records.
  5. Combine dashboards with qualitative research, service data, and customer feedback.
  6. Test one meaningful change at a time where feasible, while accounting for seasonality.
  7. Design suppression rules so customers do not receive contradictory communications.
  8. Review cohorts rather than relying only on blended averages.
  9. Treat AI outputs as recommendations requiring governance.
  10. Maintain contingency plans for platform, vendor, privacy, and data-quality failures.

Chapter Summary

Digital marketing is an integrated system for creating demand, facilitating conversion, and developing customer relationships. SEO builds organic discoverability; paid search captures intent; social and influencer activity can create attention and trust; content educates; email supports permission-based lifecycle communication; affiliates extend distribution; and marketplaces provide reach with reduced control. Effective planning assigns each channel a role within the customer journey.

CRM coordinates customer data, interactions, service, personalization, retention, and loyalty. Segmentation must be actionable, automation must be governed, and personalization must respect privacy and customer expectations. CLV connects acquisition and retention economics, while attribution describes credit rather than automatically proving causation. Incrementality experiments provide stronger evidence of marketing effect. Ethical, lawful, accessible, and transparent practices are essential to sustainable e-commerce performance.

Key Terms

Digital marketing: Use of digital channels, technologies, and data to create and exchange value.

SEO: Practices that improve unpaid search visibility and discoverability.

Paid search: Sponsored search advertising targeted by queries or audiences.

Content marketing: Creation and distribution of useful material for a defined audience.

Customer journey: Stages and touchpoints through which a customer progresses.

CRM: Coordinated management of customer information, interactions, and relationships.

Customer data platform: Technology that unifies customer data from multiple sources.

Segmentation: Division of a market or customer base into actionable groups.

Personalization: Adapting content, offers, or experiences to relevant customer information.

Retention: Continuation of a customer relationship over a specified period.

Loyalty: Repeated behavior and/or attitudinal preference toward a firm or brand.

Customer lifetime value: Estimated economic value of a customer relationship.

CAC: Customer acquisition cost.

Attribution: Assignment of conversion credit to marketing touchpoints.

Incrementality: The additional outcome caused by a marketing intervention.

Marketing automation: Rule- or model-driven execution of marketing actions and workflows.

ROAS: Attributed revenue divided by advertising spend.

First-party data: Data collected directly by an organization through its own interactions.

Dark pattern: Interface or communication design that manipulates users against their interests.

Review Questions

Short Answer Questions

  1. What are the three main areas of SEO?
  2. Why is ROAS not equivalent to profit?
  3. Define CRM and identify two of its purposes.
  4. What is the difference between retention and acquisition?
  5. Why can last-click attribution be misleading?

Long Answer Questions

  1. Explain how SEO, paid search, content, social, email, affiliate, influencer, and marketplace marketing can be integrated across the customer journey.
  2. Discuss the assumptions and limitations of the simplified CLV model.
  3. Explain how a firm can design an effective lifecycle email and marketing-automation program.
  4. Compare rule-based attribution with incremental experimentation.
  5. Evaluate the ethical and governance requirements of personalized digital marketing.

Analytical / Application Questions

  1. An online retailer has high paid-search ROAS but declining contribution margin. Diagnose possible causes and recommend a measurement and optimization plan.
  2. Design a retention program for a subscription e-commerce business, including segments, triggers, metrics, suppression rules, and an experimental control group.
  3. A marketplace generates sales but provides limited customer data. Analyze the strategic benefits and risks, and propose a balanced direct-channel and marketplace strategy.

Multiple Choice Questions with Answers

Question 1

Which activity is primarily associated with technical SEO?

A. Improving crawlability and indexation

B. Paying influencers per post

C. Issuing loyalty points

D. Writing service-recovery scripts

Correct Answer: A. Improving crawlability and indexation

Question 2

A campaign has 10,000 impressions and 400 clicks. What is its CTR?

A. 0.4%

B. 4%

C. 25%

D. 40%

Correct Answer: B. 4%

Question 3

Why does a high ROAS not necessarily indicate profitability?

A. ROAS measures impressions rather than revenue

B. ROAS excludes or may omit product, fulfillment, and overhead costs

C. ROAS can only be calculated for SEO

D. ROAS is always lower than profit

Correct Answer: B. ROAS excludes or may omit product, fulfillment, and overhead costs

Question 4

Which approach most directly estimates the additional effect caused by a campaign?

A. Last-click attribution

B. Follower-count comparison

C. Randomized holdout testing

D. Ranking-position monitoring

Correct Answer: C. Randomized holdout testing

Question 5

In the simplified CLV model, what does r represent?

A. Revenue per order

B. Retention probability per period

C. Advertising reach

D. Refund rate only

Correct Answer: B. Retention probability per period

Question 6

Which is an example of a lifecycle marketing message?

A. A replenishment reminder based on a prior purchase

B. A random message sent to every internet user

C. A technical server log

D. An unpaid search ranking

Correct Answer: A. A replenishment reminder based on a prior purchase

Question 7

What is a central risk of marketplace dependence?

A. The firm always owns all marketplace customer data

B. The marketplace eliminates all price competition

C. The firm may face fees, policy changes, and limited customer access

D. Marketplace listings cannot display product information

Correct Answer: C. The firm may face fees, policy changes, and limited customer access

Question 8

Which practice best supports responsible personalization?

A. Collecting all possible data without notice

B. Using progressive profiling and clear customer controls

C. Disabling opt-outs for promotional messages

D. Treating inferred traits as confirmed facts

Correct Answer: B. Using progressive profiling and clear customer controls

Question 9

A firm spends $2,000 and receives $8,000 in attributed revenue. What is its ROAS?

A. 0.25

B. 2

C. 4

D. 6

Correct Answer: C. 4

Question 10

Which statement about attribution is most accurate?

A. Every attribution model proves causality

B. Platform conversions can overlap across channels

C. First-click always gives the optimal budget decision

D. Attribution makes experiments unnecessary

Correct Answer: B. Platform conversions can overlap across channels

E-Commerce
Chapter 9 of 15