Marketing Data Science: Attribution, Media Mix Modeling, Uplift & Cookieless Tracking

Episode 1 61 min

Juan Orduz Berlin-based mathematician and data scientist

Episode 1 · Marketing Data Science: Attribution, Media Mix Modeling, Uplift & Cookieless Tracking

61 min

What we talked about

Juan Orduz is a mathematician and data scientist in Berlin. After a master's and PhD in geometric analysis at Humboldt University, he worked at the marketing consultancy TD Reply, then HelloFresh, and for about eight or nine months Wolt, where he leads marketing data science. Alexey invited him after his PyData Berlin talk on uplift modeling, which Alexey missed because the room was full. The conversation covers how machine learning is used in marketing.

Juan names user acquisition and retention as the two main areas. For acquisition, attribution is hard because a TV ad may prompt a later search that tracking credits to Google. Media mix modeling fits a regression on channel spend with saturation and ad-stock carryover effects, learned from the data. Since iOS 14.5, Apple reports only aggregate numbers, so models built on aggregate data are back in use. TV is measured with daily or weekly aggregates from the agency that buys it.

For retention, the approach depends on the business. A contract-based business has a clear churn definition and can use a classifier with a threshold. Wolt has no such definition, since users can pause for a month, so Juan uses probabilistic models of non-contractual behavior. Uplift modeling then picks the users worth targeting, and it needs an A/B test with control and treatment groups. Juan stresses that training vouchers must match those used in production, and that the goal is long-term engagement rather than an effect driven by incentives.

Juan says the baseline matters more than the choice between statistics and machine learning, so he starts with a simple rule, such as whether a user was active last week. He prefers Bayesian regression for media mix models, because priors let business knowledge shrink coefficients when data is small. Retraining monthly or every two months is enough, since daily retraining brings no value. He recommends Statistical Rethinking for learning Bayesian analysis through simulation.

For a startup starting a marketing function, Juan advises defining the business problem and the KPI first. Then the team needs reliable data: API integrations with Facebook and Google, a warehouse data model and acceptable quality. An analyst with domain knowledge can often handle the fundamentals before an outside data scientist is needed. Marketing managers are key stakeholders, and a project built without them will fail.

Chapters

  1. 1:42 Introduction: Juan Orduz — mathematician and data scientist 1 min
  2. 2:47 Career Path: From geometric analysis to industry data science 2 min
  3. 5:09 Geometric Analysis Overview & connections to Bayesian sampling 2 min
  4. 7:31 Machine Learning in Marketing: Key use cases (acquisition, retention, NLP) 3 min
  5. 10:18 Attribution Basics: Multi-channel user journeys and ambiguity 3 min
  6. 13:36 Media Mix Modeling: Regression, saturation and ad-stock transformations 1 min
  7. 14:58 Campaign Uplift Estimation: Time series counterfactuals and ad impact 5 min
  8. 19:48 Measuring TV & Offline Channels: Aggregated impressions and time granularity 1 min
  9. 20:49 Privacy Changes and Cookieless Tracking: Impact of iOS 14.5 2 min
  10. 23:04 Retention Modeling: Contractual vs non-contractual churn strategies 3 min
  11. 25:37 Purchase Frequency Modeling: Detecting unusual inactivity patterns 4 min
  12. 29:13 Uplift Modeling: Targeted interventions versus churn prediction 2 min
  13. 30:54 A/B Testing for Uplift: Control/treatment design and data pitfalls 4 min
  14. 35:24 Modeling Benchmarks: Start simple with baselines before complex ML 2 min
  15. 37:05 MMM Retraining Cadence: Monthly updates and automation considerations 1 min
  16. 38:22 Attribution Baselines: Uniform allocation and look-alike approaches 1 min
  17. 39:41 Learning Decay Rates: Estimating channel decay with Bayesian regression 1 min
  18. 40:46 Learning Resources: Books, courses, talks and Juan’s blog 1 min
  19. 42:06 Bayesian vs Frequentist: When to use priors and hierarchical models 6 min
  20. 48:06 Building a Marketing Data Function: Data integrations and infrastructure first 3 min
  21. 50:50 Cross-functional Collaboration: Analysts, engineers and marketing stakeholders 3 min
  22. 53:37 KPI Definition: Short-term vs long-term conversion objectives 2 min
  23. 55:12 Hard Problems in Marketing: Offline channels, data quality, creative solutions 2 min
  24. 57:02 Marketing Domain Knowledge: Stakeholder alignment and explainability 2 min
  25. 58:48 Find Juan Online: Blog, GitHub and contact links 2 min
  26. 1:00:22 Closing Remarks & resource links 1 min

About Juan Orduz

Juan Orduz Berlin-based mathematician and data scientist

Juan Orduz is a Berlin-based mathematician and data scientist specializing in statistical learning, time series analysis, and Bayesian and geometric methods in data analysis. He applies these methods to real problems such as marketing attribution and media mix modeling, and shares his technical work through open-source projects and writing.

Topics in this episode

The wiki pages this conversation is filed under, the strongest first.

Machine Learning

Machine learning as applied modeling, evaluation, production design, monitoring, roles, and business tradeoffs.

Marketer to Analytics Engineer

How marketers can move into analytics engineering with SQL, BI, dbt, product analytics, dashboards, and metric ownership.

Causal Inference

Causal inference as reasoning about interventions, counterfactuals, and treatment effects.

RFM Analysis

RFM analysis for customer segmentation, retention decisions, analytics engineering, and warehouse-modeled product data.

Related books

Advanced Algorithms and Data Structures

29 questions answered

As a software engineer, you’ll encounter countless programming challenges that initially seem confusing, difficult, or even impossible. Don’t despair! Many of these “new” problems already have well-established solutions. Advanced Algorithms and Data Structures teaches you powerful approaches to a wide range of tricky coding challenges that you can adapt and apply to your own applications. Providing a balanced blend of classic, advanced, and new algorithms, this practical guide upgrades your programming toolbox with new perspectives and hands-on techniques.

Marcello La Rocca

Machine Learning Design Patterns

14 questions answered

The design patterns in this book capture best practices and solutions to recurring problems in machine learning. The authors, three Google engineers, catalog proven methods to help data scientists tackle common problems throughout the ML process. These design patterns codify the experience of hundreds of experts into straightforward, approachable advice.

Valliappa Lakshmanan Sara Robinson Michael Munn

Optional analytics

Optional analytics are off unless you allow them. Your choice does not affect access to DataTalks.Club, Slack, events, or courses.

Current choice: not chosen.

Privacy Policy

If you allow analytics, self-hosted Umami counts anonymous public pageviews without analytics cookies. Private account and learning pages are excluded. Read the Privacy Policy for the complete data boundary.

Want to learn more about our community?

How it started, who's here, and everything that goes on here: courses, events, Slack, and more.

About DataTalks.Club