Chapter 13
Marketing Technology, Data and Artificial Intelligence
Bachelors Program in Marketing Management
Digital Marketing
•
Bachelor
Marketing Technology, Data and Artificial Intelligence
Introduction
Digital marketing increasingly depends on the coordinated use of technology, data and analytical methods. A campaign may begin with a customer interaction on a website, continue through a mobile application, generate an event in an analytics platform, enter a customer relationship management system, and trigger an automated message through an advertising or marketing-automation platform. The effectiveness of this process depends not on any single tool, but on how well the tools, data and decisions are connected.
Marketing technology, commonly shortened to martech, refers to the software, platforms, infrastructure and data services used to plan, execute, measure and improve marketing activities. Artificial intelligence (AI) adds methods that can identify patterns, predict outcomes, generate content and support decisions. However, AI is not a substitute for marketing judgment. Its usefulness depends on data quality, appropriate objectives, valid measurement, responsible governance and human oversight.
This chapter explains the architecture of contemporary martech, including martech stacks, customer data platforms (CDPs), customer relationship management (CRM) systems, application programming interfaces (APIs), cloud platforms and data pipelines. It then examines predictive and generative AI in marketing, with particular attention to personalization, insight, content and optimization. Finally, it evaluates quality, bias, privacy, security and the managerial responsibilities associated with automated decision-making.
Learning Objectives
By the end of this chapter, students should be able to:
Explain the purpose and structure of a martech stack.
Distinguish among CRM systems, CDPs, data warehouses and data-management platforms.
Describe how APIs, cloud services and data pipelines connect marketing systems.
Apply predictive AI to segmentation, propensity, forecasting and optimization problems.
Explain how generative AI supports content and marketing operations.
Assess data quality, model performance, bias, privacy and human oversight.
Recommend a responsible martech and AI approach for a marketing problem.
1. The Martech Stack as a Marketing System
A martech stack is the collection of technologies used to acquire, understand, engage and retain customers. A typical stack may contain the following layers:
Layer
Typical capabilities
Examples of decisions supported
Customer interaction
Website, app, commerce, social and email platforms
Which experience should a visitor receive?
Data capture
Tags, event tracking, forms and point-of-sale records
What action occurred, and when?
Customer management
CRM, service and loyalty systems
What is known about the customer relationship?
Data and identity
CDP, warehouse, lakehouse and identity resolution
Which records refer to the same person or account?
Activation
Advertising, email, SMS, personalization and automation
Which audience, offer or message should be activated?
Measurement
Analytics, experimentation, attribution and dashboards
What happened, why, and with what confidence?
Intelligence
Predictive models, recommendation engines and generative AI
What is likely to happen, and what content or action may help?
A stack should be designed around customer and organizational processes rather than purchased as a collection of fashionable tools. For example, a retailer may require a reliable product catalogue, consent management, order history, inventory data and customer service integration before an AI recommendation engine can create value. If these foundations are absent, adding another tool may increase complexity without improving performance.
Integration and interoperability
Integration means enabling systems to exchange data and trigger actions. A data flow can be synchronous, where a response is expected immediately, or asynchronous, where data is processed later. A website may synchronously request a recommendation, while purchase events may be transferred to a warehouse in scheduled batches.
APIs provide defined methods through which software systems communicate. An API commonly specifies endpoints, accepted inputs, authentication requirements, response formats and error messages. Webhooks are event-driven notifications: when an event occurs in one system, that system sends a message to another. Software development kits (SDKs) provide libraries that simplify data collection or service use within an application.
Integration creates value only when meaning is consistent. A field called “customer” may mean an account, a household, a browser, a loyalty member or a prospect. Organizations therefore need data dictionaries, naming conventions, event taxonomies and ownership rules. Technical connectivity without semantic consistency produces unreliable analysis.
2. CRM, CDP and Data Platforms
Customer relationship management systems
A CRM system manages identifiable relationships and interactions with leads, customers, accounts or service users. It commonly stores contact details, sales stages, service cases, communication histories and account ownership. CRM systems are especially valuable in business-to-business marketing, where an account may contain multiple contacts and a purchase may involve a long sales process.
A CRM is usually operational: it helps employees manage work and customer interactions. It may also support segmentation and campaign execution, but its data can be incomplete if customers interact anonymously or through channels not connected to the CRM.
Customer data platforms
A CDP is designed to collect customer-related events from multiple sources, unify profiles and make audiences available for activation. A CDP may connect website events, app activity, transactions, email engagement and loyalty records. Its central challenge is identity resolution: determining whether records with different identifiers belong to the same entity.
Identity resolution can use deterministic evidence, such as a verified login or matching loyalty number, and probabilistic evidence, such as patterns in devices, locations or behavior. Deterministic matching is generally more explainable, while probabilistic matching can increase coverage but also creates false-match risks.
A CDP is not automatically a complete customer view. It depends on the sources connected to it, the rules used for identity resolution, consent conditions and the quality of incoming data.
Data warehouse, lake and lakehouse
A data warehouse stores structured, organized data for reporting and analysis. A data lake can store large quantities of structured, semi-structured and unstructured data in relatively raw form. A lakehouse attempts to combine flexible storage with stronger management and analytical capabilities.
These platforms are often the analytical foundation of a martech ecosystem. They can preserve historical data, support advanced analysis and separate analytical workloads from customer-facing systems. A warehouse, however, does not itself guarantee accurate data or a unified identity model.
Data-management platforms
A data-management platform (DMP) traditionally focuses on audience data for advertising, often using anonymous identifiers such as cookies or mobile identifiers. Changes in browser policies, privacy regulation and the decline of third-party cookies have reduced the importance of some traditional DMP practices. First-party data, consented relationships and contextual targeting have consequently become more important.
3. Data Pipelines and Cloud Architecture
A data pipeline is a sequence through which data is collected, transported, transformed, stored and used. A simplified pipeline is:
Marketing data pipeline from sources to decisions
Figure: Marketing data pipeline from sources to decisions
Figure: A simplified marketing data pipeline linking customer events to activation and feedback.
Batch and streaming data
Batch processing moves data at scheduled intervals, such as hourly or daily. It is often sufficient for campaign reporting and periodic customer analysis. Streaming processing handles events continuously or with very low delay. It is useful when a business must react to events such as cart abandonment, fraud signals or service incidents.
The appropriate architecture depends on business latency requirements, cost, reliability and complexity. Real-time processing is not automatically better. If a campaign is evaluated weekly, a highly expensive real-time architecture may add little value.
Data quality
Important dimensions of data quality include:
Accuracy: values represent reality.
Completeness: required values are present.
Consistency: the same concept is represented similarly across systems.
Timeliness: data is available when needed.
Validity: values follow defined formats and rules.
Uniqueness: duplicate records are controlled.
A useful quality indicator for a field can be expressed as:
Completeness = (number of non-missing required values ÷ total required values) × 100%
This formula measures only completeness; it does not establish accuracy or fairness. If 9,500 of 10,000 required values are present, completeness is 95%. The denominator must be clearly defined, and the measure should be calculated for a relevant population and time period.
4. Predictive AI in Marketing
Predictive AI uses historical data to estimate likely outcomes. Common applications include customer churn, purchase propensity, customer lifetime value, demand forecasting, lead scoring, fraud detection and next-best-action systems.
A supervised learning model is trained using examples in which an outcome is known. For a binary outcome, such as purchase or no purchase, the model estimates a probability:
p(y = 1 | x) = estimated probability of outcome y = 1 given features x
Here, y is the outcome and x is the set of explanatory features. The probability is an estimate, not a guarantee. A business may classify a customer as “high propensity” when the probability exceeds a selected threshold, but that threshold should reflect campaign costs, capacity, customer experience and the consequences of errors.
Classification and evaluation
A classification model produces true positives, false positives, true negatives and false negatives. Precision and recall are useful but answer different questions:
Precision asks: among those selected, how many were relevant? Recall asks: among all relevant cases, how many were found? A fraud-screening system may prioritize recall, whereas a costly direct-mail campaign may prioritize precision. Neither metric is universally superior.
Models should be evaluated on data that was not used for training. Random splitting can be inappropriate for time-dependent marketing data because future information must not leak into the past. A time-based validation design is often more realistic for forecasting and campaign prediction.
Uplift and causal thinking
Propensity predicts who is likely to act. It does not necessarily identify who will act because of marketing. A customer with a high purchase probability may buy without receiving an advertisement. Uplift modeling attempts to estimate the incremental effect of treatment, such as an email or discount, relative to an appropriate comparison condition.
The fundamental marketing question is often causal: what would have happened if this customer had not received the intervention? Because that counterfactual cannot be directly observed for the same person at the same time, randomized controlled experiments or carefully designed quasi-experiments are important. Predictive accuracy alone does not prove campaign effectiveness.
Customer lifetime value
A simplified customer lifetime value estimate may be represented as:
CLV = ∑[t=1 to T] (Rt − Ct) ÷ (1 + d)t − A
Here, Rt is expected revenue in period t, Ct is expected variable cost, d is the discount rate per period, T is the planning horizon and A is acquisition cost. The formula assumes that forecasts, discounting and the planning horizon are appropriate. It excludes or separately models fixed costs, retention uncertainty and changes in customer behavior. CLV is therefore a decision estimate, not an objective fact.
5. Generative AI and Marketing Work
Generative AI produces new text, images, audio, video, code or structured outputs in response to instructions. Large language models generate text by estimating likely sequences from patterns learned during training. They can support:
first drafts of email, advertising and social copy;
adaptation of messages for different segments and channels;
summaries of research, reviews and customer-service conversations;
ideation and creative variation;
conversational interfaces and service assistance;
metadata, product descriptions and content tagging;
marketer productivity and workflow automation.
Generative AI can produce fluent but inaccurate outputs, sometimes called hallucinations. It may also reproduce stereotypes, expose confidential information, imitate protected styles or generate content that violates brand, legal or platform requirements. Fluency is not evidence of truth.
A responsible workflow separates generation from approval. A marketer should define the audience, objective, evidence and constraints; generate candidate material; verify claims and sources; test for bias and accessibility; review brand fit; obtain approval; and monitor post-publication performance.
Prompt quality improves when instructions specify role, task, context, audience, tone, format, evidence requirements and prohibited claims. Retrieval-augmented generation can connect a model to approved organizational documents, but retrieval does not eliminate errors: the source material may be outdated, incomplete or incorrectly selected.
6. Personalization and Optimization
Personalization changes content, offers, sequencing or experiences according to customer information. It can improve relevance, but excessive personalization may feel intrusive or discriminatory. Useful personalization should provide customer value and respect consent and expectations.
A practical personalization design includes:
a clearly defined customer need;
a permitted and relevant data signal;
a decision rule or model;
a suitable channel and timing;
an explanation or control where appropriate;
an experiment or comparison group;
monitoring for harm and unequal outcomes.
Optimization may use rules, multivariate testing, bandit methods or automated bidding. The objective function must reflect business and customer outcomes. Optimizing only clicks can encourage sensational or low-quality content. A balanced objective may include conversion, margin, retention, complaints and long-term value.
A/B testing compares two or more variants under a defined allocation and outcome measure. A simple conversion rate is:
The numerator and denominator must be defined consistently. Exposure should occur before conversion, users should not be counted in incompatible groups, and the test should avoid stopping solely because an early result looks favorable. Randomization, adequate sample size and attention to practical significance are essential.
7. Governance, Bias and Human Oversight
AI governance is the system of policies, roles, controls and review practices that make technology accountable. Governance should address the full lifecycle: data collection, model development, deployment, monitoring, change management and retirement.
Sources of bias
Bias can enter through:
historically unequal outcomes in training data;
under-representation of customer groups;
proxy variables that reproduce sensitive characteristics;
measurement differences across populations;
labels based on subjective or discriminatory decisions;
optimization objectives that reward short-term performance;
feedback loops created by previous automated decisions.
Removing a sensitive attribute does not necessarily remove bias because other variables may act as proxies. Fairness evaluation should therefore combine statistical testing with domain knowledge and stakeholder review.
Privacy and security
Organizations should collect data for defined purposes, minimize unnecessary collection, protect data, control access and respect applicable privacy laws. Consent may be required for some processing, but consent alone does not make every use appropriate. Organizations should distinguish personally identifiable information, pseudonymized information and anonymous information; pseudonymization reduces direct identification but does not necessarily make data anonymous.
Security controls include encryption, authentication, authorization, logging, retention limits, vendor assessment and incident response. Generative AI introduces additional risks when employees paste customer, confidential or proprietary information into external services.
Human-in-the-loop design
Human oversight is most important when an automated decision can materially affect a person, brand reputation, legal compliance or organizational risk. Human review should be meaningful rather than ceremonial. Reviewers need authority, time, relevant evidence and a way to override the system. Decisions and overrides should be logged so that the organization can learn from failures.
A useful risk classification considers the decision's impact, scale, reversibility, sensitivity of data, likelihood of error and ability to provide remedy. Low-risk uses, such as brainstorming internal subject lines, require different controls from high-impact uses, such as eligibility decisions or differential pricing.
8. Illustrative Case: Northstar Outfitters
Background
Northstar Outfitters is a fictional mid-sized online and physical retailer. It operates a website, mobile app, loyalty program, email service and CRM. Customer information is fragmented: online behavior is stored in an analytics platform, purchase history in commerce software, service cases in the CRM and loyalty activity in a separate database.
Problem
Marketing managers want to reduce irrelevant email, identify customers likely to lapse and improve product recommendations. The company proposes purchasing an AI platform immediately. An initial audit reveals inconsistent customer identifiers, missing consent records, duplicate profiles and product categories that differ between the website and warehouse.
Analysis
The main problem is not lack of AI. It is weak data governance and integration. A model trained on duplicate customers may overestimate activity. A recommendation system using incomplete inventory data may promote unavailable products. Sending messages without reliable consent information creates legal and reputational risk.
Approach and solution
Northstar first creates a common event taxonomy and data dictionary. It connects consent, transaction and service data to a governed customer identity layer. Deterministic matches are used where loyalty IDs or authenticated accounts are available; uncertain matches are held for review rather than automatically merged. The warehouse becomes the analytical source, while the CDP receives approved segments for activation.
The company then develops a churn model using recent purchase frequency, recency, service contacts and engagement. It evaluates recall and precision separately and tests whether performance differs across customer groups. Instead of sending offers to every high-risk customer, Northstar conducts a randomized holdout experiment to estimate incremental retention. Product recommendations are constrained by inventory, category rules and customer consent.
Generative AI is used to draft product copy and summarize service themes. Human editors verify claims, remove unsupported statements and approve publication. The organization records model versions, data sources, prompts used for production content and final approvers.
Outcome
The company obtains a more reliable foundation for experimentation and reduces duplicate communications. The retention program is judged by incremental outcomes rather than model scores alone. Some proposed personalization is rejected because its expected benefit is small relative to privacy and complexity risks.
Learning points
Architecture and governance precede sophisticated AI.
A prediction is not the same as an incremental marketing effect.
Content generation requires factual and brand review.
Business value should be evaluated together with customer impact and operational cost.
9. Implementation and Employability Skills
Marketing graduates increasingly work across creative, analytical and technical boundaries. They do not need to become software engineers to contribute effectively, but they should understand system capabilities and limitations.
A practical implementation sequence is:
Define the decision and desired customer outcome.
Map the customer journey and required data.
Audit data quality, consent, ownership and access.
Select the simplest architecture that meets latency and scale needs.
Establish identifiers, event definitions and documentation.
Build a baseline rule or model before adding complexity.
Test performance, incrementality, usability and fairness.
Pilot with safeguards and a comparison condition.
Monitor outcomes, drift, complaints, costs and security events.
Review, improve or retire the system.
Useful professional skills include writing a measurement plan, interpreting model metrics, asking vendors about data processing, documenting assumptions, designing experiments, explaining limitations to managers and escalating risks. The most valuable marketing technologists connect technical choices to customer value and organizational strategy.
Contemporary Developments and Limitations
Martech is moving toward composable architectures, server-side data collection, first-party data strategies, real-time decisioning and embedded AI assistants. Organizations are also exploring synthetic data, privacy-enhancing technologies, identity graphs and multimodal generative systems. These developments may improve flexibility, but they can also increase vendor dependence, integration complexity and governance requirements.
AI systems may drift as customer behavior, markets, products and policies change. A model that performed well last year may become unreliable after a pricing change or channel shift. Monitoring should therefore include data drift, output quality, calibration, segment performance, business outcomes and human complaints.
No technology eliminates fundamental marketing uncertainty. Customers are not stable data points, correlations are not automatically causes, and automation can scale both good and bad decisions. The central managerial task is to use technology selectively, transparently and in ways that strengthen rather than weaken customer relationships.
Chapter Summary
Marketing technology is an interconnected system rather than a collection of isolated applications. A martech stack commonly links customer interactions, data capture, CRM and CDP capabilities, analytical storage, activation, measurement and AI. APIs, webhooks and cloud platforms enable integration, while data pipelines transport and transform information. Reliable marketing decisions require attention to accuracy, completeness, consistency, timeliness, validity and uniqueness.
Predictive AI estimates likely outcomes such as purchase, churn or demand. Precision and recall describe different aspects of classification performance, while experiments are needed to estimate incremental marketing effects. Generative AI can assist with content, summaries, ideation and workflow, but its outputs require verification and approval. Personalization and optimization should be evaluated against customer value, business outcomes and potential harm.
Responsible AI requires privacy protection, security, documentation, bias assessment, monitoring and meaningful human oversight. Strong implementation begins with a clearly defined decision and a data-quality audit, uses the simplest suitable architecture, tests outcomes rigorously and continuously reviews performance. Technology creates marketing value only when it is connected to sound strategy, reliable evidence and responsible judgment.
Key Terms
Martech stack: The coordinated set of technologies used to execute and measure marketing.
CRM: A system for managing identifiable customer, lead, account and service relationships.
CDP: A platform that unifies customer-related data and makes approved audiences available for activation.
Data warehouse: A structured analytical repository used for reporting and analysis.
Data lake: Flexible storage for large volumes of structured and unstructured data.
API: A defined interface through which software systems exchange requests and responses.
Webhook: An event-triggered message sent from one system to another.
Data pipeline: A process for collecting, transporting, transforming, storing and using data.
Identity resolution: The process of determining which records refer to the same customer or entity.
First-party data: Data collected directly by an organization through its own customer interactions.
Predictive AI: AI used to estimate likely outcomes from data.
Generative AI: AI that creates new content or outputs from learned patterns and instructions.
Propensity: The estimated likelihood that an individual or account will perform an action.
Precision: The proportion of predicted positive cases that are actually positive.
Recall: The proportion of actual positive cases identified by a model.
Uplift: The estimated incremental effect of a marketing treatment compared with a suitable comparison condition.
Personalization: Adaptation of an experience, message or offer to customer information.
Data drift: Change in the data distribution or relationships that can reduce model performance.
Human-in-the-loop: A design in which people review, supervise or can override automated outputs.
AI governance: Policies, roles and controls that make AI use accountable and manageable.
Review Questions
Short Answer Questions
What is a martech stack, and why should it be designed around business processes?
Distinguish between a CRM and a CDP.
What is the purpose of an API in marketing technology integration?
Define precision and recall in classification.
Why does generative AI require human review?
Long Answer Questions
Explain how a data pipeline connects customer interactions to marketing activation.
Compare warehouses, data lakes and CDPs in terms of purpose and use.
Discuss the difference between propensity prediction and causal measurement.
Explain how data quality and identity resolution affect personalization.
Evaluate the governance controls required for responsible marketing AI.
Analytical / Application Questions
A retailer has high-quality transaction data but inconsistent consent records and duplicate customer profiles. Design a staged martech and governance plan before deploying a personalization model.
A churn model identifies 80% of customers who eventually leave, but many targeted customers would have left regardless of marketing. Explain why recall alone is insufficient and propose an evaluation design.
A generative AI tool produces product descriptions that are persuasive but occasionally make unsupported environmental claims. Recommend controls covering data, workflow, approval and monitoring.
Multiple Choice Questions with Answers
Question 1
Which system is primarily designed to manage identifiable customer, lead, account and service relationships?
A. Customer relationship management system
B. Data lake
C. Ad exchange
D. Content delivery network
Correct Answer: A. Customer relationship management system
Question 2
What is the principal purpose of identity resolution in a CDP?
A. To increase advertising bids automatically
B. To determine which records refer to the same entity
C. To generate creative copy
D. To compress image files
Correct Answer: B. To determine which records refer to the same entity
Question 3
A campaign has 120 true positives and 80 false positives. What is its precision?
A. 40%
B. 60%
C. 80%
D. 150%
Correct Answer: C. 80%
Question 4
Which statement best describes recall?
A. The proportion of predicted positives that are correct
B. The proportion of actual positives that are identified
C. The proportion of records that are complete
D. The proportion of customers who consent
Correct Answer: B. The proportion of actual positives that are identified
Question 5
Why can a high-propensity customer be unsuitable for targeting?
A. Propensity models cannot use historical data
B. The customer may act without the marketing intervention
C. High propensity always indicates fraud
D. Propensity is identical to recall
Correct Answer: B. The customer may act without the marketing intervention
Question 6
Which practice best reduces the risk of unsupported generative-AI claims in published content?
A. Publishing the first output immediately
B. Increasing the word count
C. Human verification against approved evidence
D. Removing all brand guidelines
Correct Answer: C. Human verification against approved evidence
Question 7
Which data-quality dimension asks whether required values are present?
A. Completeness
B. Timeliness
C. Uniqueness
D. Latency
Correct Answer: A. Completeness
Question 8
What is the main purpose of a randomized holdout group in a marketing campaign?
A. To increase the model's training data automatically
B. To estimate the campaign's incremental effect
C. To guarantee every customer receives an offer
D. To replace consent management
Correct Answer: B. To estimate the campaign's incremental effect
Question 9
Which of the following is an example of a webhook?
A. A scheduled spreadsheet export
B. A password stored in a browser
C. An event-triggered message sent to another system
D. A customer segment created manually
Correct Answer: C. An event-triggered message sent to another system
Question 10
Why is human oversight especially important for high-impact automated decisions?
A. Humans make all decisions without evidence
B. High-impact errors may create serious and difficult-to-reverse harm
C. Models cannot process numerical data
D. Automation always violates privacy law
Correct Answer: B. High-impact errors may create serious and difficult-to-reverse harm