SlideShare ist ein Scribd-Unternehmen logo
1 von 32
Downloaden Sie, um offline zu lesen
Data-Driven Attribution in
BigQuery with Shapley Values
and Markov Chains
Stephanie Hubert | Christopher Gutknecht | Bergzeit
What To Expect from this Session
1. How to view rule-based vs data-driven attribution
Slides & Checklist: via Search Seekers
3. How to compare different model outputs
4. Get an overview of model decision parameters
2. How to implement Shapley & Markov chain attribution
Your Speakers: Steffi and Chris
Digital Marketer
Tech nerd
Climber
199. 2008 2013 2020
Dad of 2
● Mountain enthusiast,
most likely biking or skiing
● Passionate about finding
new insights from data
Bergzeit: Combining Love for Mountains & Data
Online Store for Mountain Gear
Aiming for +100M Revenue in 2020
14 Countries & 4 Languages
Content. Commerce. Experience
7 data experts in Team A&O
#2
Recap: The Attribution Challenge
#3#1
Model Parameters:
- Channel definition
- Time frame
- Path length
- Multi & Repurchase
850€
We’re at the beginning of the journey
Steffi
Data Analyst
Kira
Performance
Chris
Support
Offline
Effects
Display
Customer
Service
Multi-Device
Time
Model
Complexity
& Quality
Start simple and gradually expand!
Website data
Social
How many touchpoints are beyond your website?
There is no “truth”, only matching to requirements!
Reminder: Attribution is Unsupervised Learning
DisplayOrganic SearchPPC
Brand
Search
Generic
Search
Home
Non-Home
Magazine
...
….
Define the right granularity - don’t mix apples & pears!
Homework: Are Your Channels Correctly Defined?
Get to Know your Data: Find Your Ideal Time Lag
Start with exploring
your data!
Sales PlanningMedia BiddingReporting
Channel to ad unit
Long lookback
period
Tool independent
Servable as API
Data enhancement
Integrations
Data enhancement
Revenue planning
Budget forecasting
Three Outputs of a Custom Attribution Model
Data can’t be stored or awkward to query
What Failed For Us: Multi-Channel Funnel UI/API
Data didn’t make too much sense, no API to call
What Failed For Us: Google Attribution
It might not be worth it, but you don’t know beforehand!
?
Data Driven Attribution is Like the “Tre Cime”
Customized Data DrivenRule-Based
Simple logic
Easier to implement
Includes ALL customer journeys
Distribute by actual contribution
vs
Best Practice: Test many models before deciding!
Why Customize? Get Closer to Your “Truth”
Rule-Based Attribution: Model Overview
1. Shapley Values 2. Markov Chains
Data Driven Attribution: The Two Usual Suspects
Game-theory based
Detailed reference:
medium.com/analytics-vidhya/the-shapley-value-approach-to-multi-touch-attribution-marketing-model-e345b35f3359
Calculates average channel payout
Attribution Modeling with Shapley Values
Python Cloud Function (or docker image)
Soon to open sourced on Github
Optimized for GA360 Datamain.py
sql
statements
not included: recency, repurchase
Mapping to revenue via transactionId
Bias towards “through-way” channels
Google Fractribution Package for Shapley Values
Google Fractribution: Example BigQuery Output
SQL reference for pivoting conversions to channel revenue:
https://towardsdatascience.com/how-to-unpivot-multiple-columns-into-tidy-pairs-with-sql-and-bigquery-d9d0e74ce675
Based on sequential probabilities
Detailed reference:
medium.com/@mortenhegewald/marketing-channel-attribution-using-markov-chains-101-in-python-78fb181ebf1ecç
Leverages removal effect (see C3)
Discounts “through-way” channels
Attribution Modeling with Markov Chains
Available in Python and R
Outputs to cloud storage bucket
Manual data preprocessing
not included: hit-level, recency,
repurchase
Channel Attribution Package for Markov Chains
Note: There is no Golden Rule for Model choice
Model Comparison to Last Click: Our Results
userId sessionId date channel transactionId revenue
123 101 2020-09-01 PPC Generic - -
123 102 2020-09-03 PPC Brand - -
124 201 2020-09-01 SEO Magazin - -
124 202 2020-09-05 SEO Brand 002 87.45
Data could come from any tracking source
What Data do we Need? Session-Level Data
Data ConnectorGA IV ExportGA 360 Export
Best Google support
Free cost tier
360 needed
Launched Recently
New event model
GA IV needed
Works with Non-360
No GA IV needed
Extra cost
Three Options to Get Your Data into BigQuery
Our Decision Space for Attribution Model Choice
DeliveryModel evaluationModel definition
Define time lag
Set max path length
Define multiple models to compare
Compare different time frames
Evaluate model differences
Find best fit for your channels
Build delivery pipelines
Define retraining frequency
Define historical windowSet channel definition
Evaluation
Retraining
Modeling & Testing
Delivery
Project Phases: Delivery is next!
Extra: Improve Your Cross Device Attribution
Cross Device Measurement
Define unique userId (uuid)
Use login & email signals
Override userid in GA
Activate user signals
Watch Skyscanner on Multi-Touch Attribution
youtu.be/LDU87WlOhWg
1. Start simple and take small steps
3. Build your Data knowledge Inhouse
2. Test multiple models and time frames
Your Three Attribution Takeaways
Thanks for Your Time.
Looking Forward to Questions!
Stephanie Hubert | Data Analyst
Chris Gutknecht | Teamlead A&O | @chrisgutknecht
Addon: Project A on Attribution with Impressions
open.spotify.com/episode/1CcIyl13EWty6NA7FZaPAM

Weitere ähnliche Inhalte

Was ist angesagt?

intro chatGPT workshop.pdf
intro chatGPT workshop.pdfintro chatGPT workshop.pdf
intro chatGPT workshop.pdfpeterpur
 
10 more lessons learned from building Machine Learning systems - MLConf
10 more lessons learned from building Machine Learning systems - MLConf10 more lessons learned from building Machine Learning systems - MLConf
10 more lessons learned from building Machine Learning systems - MLConfXavier Amatriain
 
Landscape of AI/ML in 2023
Landscape of AI/ML in 2023Landscape of AI/ML in 2023
Landscape of AI/ML in 2023HyunJoon Jung
 
The Scientific Method of Experimentation by Google PM
The Scientific Method of Experimentation by Google PMThe Scientific Method of Experimentation by Google PM
The Scientific Method of Experimentation by Google PMProduct School
 
Guiding through a typical Machine Learning Pipeline
Guiding through a typical Machine Learning PipelineGuiding through a typical Machine Learning Pipeline
Guiding through a typical Machine Learning PipelineMichael Gerke
 
An Introduction to Generative AI
An Introduction  to Generative AIAn Introduction  to Generative AI
An Introduction to Generative AICori Faklaris
 
Blueprint ChatGPT Lunch & Learn
Blueprint ChatGPT Lunch & LearnBlueprint ChatGPT Lunch & Learn
Blueprint ChatGPT Lunch & Learngnakan
 
Fast, Lenient, and Accurate – Building Personalized Instant Search Experience...
Fast, Lenient, and Accurate – Building Personalized Instant Search Experience...Fast, Lenient, and Accurate – Building Personalized Instant Search Experience...
Fast, Lenient, and Accurate – Building Personalized Instant Search Experience...Abhimanyu Lad
 
TEDx Manchester: AI & The Future of Work
TEDx Manchester: AI & The Future of WorkTEDx Manchester: AI & The Future of Work
TEDx Manchester: AI & The Future of WorkVolker Hirsch
 
Recommendation System Explained
Recommendation System ExplainedRecommendation System Explained
Recommendation System ExplainedCrossing Minds
 
Supercharge your AB testing with automated causal inference - Community Works...
Supercharge your AB testing with automated causal inference - Community Works...Supercharge your AB testing with automated causal inference - Community Works...
Supercharge your AB testing with automated causal inference - Community Works...Egor Kraev
 
GTC 2021: Counterfactual Learning to Rank in E-commerce
GTC 2021: Counterfactual Learning to Rank in E-commerceGTC 2021: Counterfactual Learning to Rank in E-commerce
GTC 2021: Counterfactual Learning to Rank in E-commerceGrubhubTech
 
Lessons learned from building practical deep learning systems
Lessons learned from building practical deep learning systemsLessons learned from building practical deep learning systems
Lessons learned from building practical deep learning systemsXavier Amatriain
 
Deep neural network for youtube recommendations
Deep neural network for youtube recommendationsDeep neural network for youtube recommendations
Deep neural network for youtube recommendationsKan-Han (John) Lu
 
4 Steps Toward Scientific A/B Testing
4 Steps Toward Scientific A/B Testing4 Steps Toward Scientific A/B Testing
4 Steps Toward Scientific A/B TestingJanessa Lantz
 
Practical Introduction to A/B Testing
Practical Introduction to A/B TestingPractical Introduction to A/B Testing
Practical Introduction to A/B TestingAlex Alwan
 
지식그래프 개념과 활용방안 (Knowledge Graph - Introduction and Use Cases)
지식그래프 개념과 활용방안 (Knowledge Graph - Introduction and Use Cases)지식그래프 개념과 활용방안 (Knowledge Graph - Introduction and Use Cases)
지식그래프 개념과 활용방안 (Knowledge Graph - Introduction and Use Cases)Myungjin Lee
 

Was ist angesagt? (20)

intro chatGPT workshop.pdf
intro chatGPT workshop.pdfintro chatGPT workshop.pdf
intro chatGPT workshop.pdf
 
10 more lessons learned from building Machine Learning systems - MLConf
10 more lessons learned from building Machine Learning systems - MLConf10 more lessons learned from building Machine Learning systems - MLConf
10 more lessons learned from building Machine Learning systems - MLConf
 
Landscape of AI/ML in 2023
Landscape of AI/ML in 2023Landscape of AI/ML in 2023
Landscape of AI/ML in 2023
 
The Scientific Method of Experimentation by Google PM
The Scientific Method of Experimentation by Google PMThe Scientific Method of Experimentation by Google PM
The Scientific Method of Experimentation by Google PM
 
Guiding through a typical Machine Learning Pipeline
Guiding through a typical Machine Learning PipelineGuiding through a typical Machine Learning Pipeline
Guiding through a typical Machine Learning Pipeline
 
An Introduction to Generative AI
An Introduction  to Generative AIAn Introduction  to Generative AI
An Introduction to Generative AI
 
Blueprint ChatGPT Lunch & Learn
Blueprint ChatGPT Lunch & LearnBlueprint ChatGPT Lunch & Learn
Blueprint ChatGPT Lunch & Learn
 
Fast, Lenient, and Accurate – Building Personalized Instant Search Experience...
Fast, Lenient, and Accurate – Building Personalized Instant Search Experience...Fast, Lenient, and Accurate – Building Personalized Instant Search Experience...
Fast, Lenient, and Accurate – Building Personalized Instant Search Experience...
 
TEDx Manchester: AI & The Future of Work
TEDx Manchester: AI & The Future of WorkTEDx Manchester: AI & The Future of Work
TEDx Manchester: AI & The Future of Work
 
Recommendation System Explained
Recommendation System ExplainedRecommendation System Explained
Recommendation System Explained
 
Page Rank
Page RankPage Rank
Page Rank
 
Supercharge your AB testing with automated causal inference - Community Works...
Supercharge your AB testing with automated causal inference - Community Works...Supercharge your AB testing with automated causal inference - Community Works...
Supercharge your AB testing with automated causal inference - Community Works...
 
Data science Framework
Data science FrameworkData science Framework
Data science Framework
 
Evolution of AI in workplace.pptx
Evolution of AI in workplace.pptxEvolution of AI in workplace.pptx
Evolution of AI in workplace.pptx
 
GTC 2021: Counterfactual Learning to Rank in E-commerce
GTC 2021: Counterfactual Learning to Rank in E-commerceGTC 2021: Counterfactual Learning to Rank in E-commerce
GTC 2021: Counterfactual Learning to Rank in E-commerce
 
Lessons learned from building practical deep learning systems
Lessons learned from building practical deep learning systemsLessons learned from building practical deep learning systems
Lessons learned from building practical deep learning systems
 
Deep neural network for youtube recommendations
Deep neural network for youtube recommendationsDeep neural network for youtube recommendations
Deep neural network for youtube recommendations
 
4 Steps Toward Scientific A/B Testing
4 Steps Toward Scientific A/B Testing4 Steps Toward Scientific A/B Testing
4 Steps Toward Scientific A/B Testing
 
Practical Introduction to A/B Testing
Practical Introduction to A/B TestingPractical Introduction to A/B Testing
Practical Introduction to A/B Testing
 
지식그래프 개념과 활용방안 (Knowledge Graph - Introduction and Use Cases)
지식그래프 개념과 활용방안 (Knowledge Graph - Introduction and Use Cases)지식그래프 개념과 활용방안 (Knowledge Graph - Introduction and Use Cases)
지식그래프 개념과 활용방안 (Knowledge Graph - Introduction and Use Cases)
 

Ähnlich wie Data-Driven Attribution in BigQuery with Shapley Values and Markov Chains

Google Analytics Konferenz 2019_Google Cloud Platform_Carl Fernandes & Ksenia...
Google Analytics Konferenz 2019_Google Cloud Platform_Carl Fernandes & Ksenia...Google Analytics Konferenz 2019_Google Cloud Platform_Carl Fernandes & Ksenia...
Google Analytics Konferenz 2019_Google Cloud Platform_Carl Fernandes & Ksenia...e-dialog GmbH
 
Building Data Products with BigQuery for PPC and SEO (SMX 2022)
Building Data Products with BigQuery for PPC and SEO (SMX 2022)Building Data Products with BigQuery for PPC and SEO (SMX 2022)
Building Data Products with BigQuery for PPC and SEO (SMX 2022)Christopher Gutknecht
 
Understanding Web Analytics and Google Analytics
Understanding Web Analytics and Google AnalyticsUnderstanding Web Analytics and Google Analytics
Understanding Web Analytics and Google AnalyticsPrathamesh Kulkarni
 
Driving Customer Loyalty with Azure Machine Learning
Driving Customer Loyalty with Azure Machine LearningDriving Customer Loyalty with Azure Machine Learning
Driving Customer Loyalty with Azure Machine LearningCCG
 
Hyf project ideas_02
Hyf project ideas_02Hyf project ideas_02
Hyf project ideas_02KatoK1
 
How to Scale and Grow your Enterprise Technical SEO Strategy
How to Scale and Grow your Enterprise Technical SEO StrategyHow to Scale and Grow your Enterprise Technical SEO Strategy
How to Scale and Grow your Enterprise Technical SEO StrategySearch Engine Journal
 
Key projects Data Science and Engineering
Key projects Data Science and EngineeringKey projects Data Science and Engineering
Key projects Data Science and EngineeringVijayananda Mohire
 
Key projects Data Science and Engineering
Key projects Data Science and EngineeringKey projects Data Science and Engineering
Key projects Data Science and EngineeringVijayananda Mohire
 
EBE 2020 How METRO & Ciklum built a new B2B marketplace
EBE 2020 How METRO & Ciklum built a new B2B marketplaceEBE 2020 How METRO & Ciklum built a new B2B marketplace
EBE 2020 How METRO & Ciklum built a new B2B marketplaceE-Commerce Berlin EXPO
 
Building a Marketing Data Warehouse from Scratch - SMX Advanced 202
Building a Marketing Data Warehouse from Scratch - SMX Advanced 202Building a Marketing Data Warehouse from Scratch - SMX Advanced 202
Building a Marketing Data Warehouse from Scratch - SMX Advanced 202Christopher Gutknecht
 
EY + Neo4j: Why graph technology makes sense for fraud detection and customer...
EY + Neo4j: Why graph technology makes sense for fraud detection and customer...EY + Neo4j: Why graph technology makes sense for fraud detection and customer...
EY + Neo4j: Why graph technology makes sense for fraud detection and customer...Neo4j
 
Dataiku tatvic webinar presentation
Dataiku tatvic webinar presentationDataiku tatvic webinar presentation
Dataiku tatvic webinar presentationTatvic Analytics
 
EY + Neo4j: Why graph technology makes sense for fraud detection and customer...
EY + Neo4j: Why graph technology makes sense for fraud detection and customer...EY + Neo4j: Why graph technology makes sense for fraud detection and customer...
EY + Neo4j: Why graph technology makes sense for fraud detection and customer...Neo4j
 
Your Roadmap for An Enterprise Graph Strategy
Your Roadmap for An Enterprise Graph StrategyYour Roadmap for An Enterprise Graph Strategy
Your Roadmap for An Enterprise Graph StrategyNeo4j
 
Applying BigQuery ML on e-commerce data analytics
Applying BigQuery ML on e-commerce data analyticsApplying BigQuery ML on e-commerce data analytics
Applying BigQuery ML on e-commerce data analyticsMárton Kodok
 
Your Raw Data is Ready - Introduction to Analytics Engineering | SMX Advanced...
Your Raw Data is Ready - Introduction to Analytics Engineering | SMX Advanced...Your Raw Data is Ready - Introduction to Analytics Engineering | SMX Advanced...
Your Raw Data is Ready - Introduction to Analytics Engineering | SMX Advanced...Christopher Gutknecht
 
Google Analytics Conference and Product Releases
Google Analytics Conference and Product ReleasesGoogle Analytics Conference and Product Releases
Google Analytics Conference and Product ReleasesBen Brooks
 
Meet AgilOne: The #1 CDP for Enterprise Brands
Meet AgilOne: The #1 CDP for Enterprise BrandsMeet AgilOne: The #1 CDP for Enterprise Brands
Meet AgilOne: The #1 CDP for Enterprise BrandsAcquia
 
Intro to AgilOne for Acquia Partners: The #1 CDP for Enterprise Brands
Intro to AgilOne for Acquia Partners: The #1 CDP for Enterprise Brands Intro to AgilOne for Acquia Partners: The #1 CDP for Enterprise Brands
Intro to AgilOne for Acquia Partners: The #1 CDP for Enterprise Brands Acquia
 
Presentation Data Council Meetup: F. Mekkenholt, R. Vlijm
Presentation Data Council Meetup: F. Mekkenholt, R. VlijmPresentation Data Council Meetup: F. Mekkenholt, R. Vlijm
Presentation Data Council Meetup: F. Mekkenholt, R. VlijmAlexander Oppel
 

Ähnlich wie Data-Driven Attribution in BigQuery with Shapley Values and Markov Chains (20)

Google Analytics Konferenz 2019_Google Cloud Platform_Carl Fernandes & Ksenia...
Google Analytics Konferenz 2019_Google Cloud Platform_Carl Fernandes & Ksenia...Google Analytics Konferenz 2019_Google Cloud Platform_Carl Fernandes & Ksenia...
Google Analytics Konferenz 2019_Google Cloud Platform_Carl Fernandes & Ksenia...
 
Building Data Products with BigQuery for PPC and SEO (SMX 2022)
Building Data Products with BigQuery for PPC and SEO (SMX 2022)Building Data Products with BigQuery for PPC and SEO (SMX 2022)
Building Data Products with BigQuery for PPC and SEO (SMX 2022)
 
Understanding Web Analytics and Google Analytics
Understanding Web Analytics and Google AnalyticsUnderstanding Web Analytics and Google Analytics
Understanding Web Analytics and Google Analytics
 
Driving Customer Loyalty with Azure Machine Learning
Driving Customer Loyalty with Azure Machine LearningDriving Customer Loyalty with Azure Machine Learning
Driving Customer Loyalty with Azure Machine Learning
 
Hyf project ideas_02
Hyf project ideas_02Hyf project ideas_02
Hyf project ideas_02
 
How to Scale and Grow your Enterprise Technical SEO Strategy
How to Scale and Grow your Enterprise Technical SEO StrategyHow to Scale and Grow your Enterprise Technical SEO Strategy
How to Scale and Grow your Enterprise Technical SEO Strategy
 
Key projects Data Science and Engineering
Key projects Data Science and EngineeringKey projects Data Science and Engineering
Key projects Data Science and Engineering
 
Key projects Data Science and Engineering
Key projects Data Science and EngineeringKey projects Data Science and Engineering
Key projects Data Science and Engineering
 
EBE 2020 How METRO & Ciklum built a new B2B marketplace
EBE 2020 How METRO & Ciklum built a new B2B marketplaceEBE 2020 How METRO & Ciklum built a new B2B marketplace
EBE 2020 How METRO & Ciklum built a new B2B marketplace
 
Building a Marketing Data Warehouse from Scratch - SMX Advanced 202
Building a Marketing Data Warehouse from Scratch - SMX Advanced 202Building a Marketing Data Warehouse from Scratch - SMX Advanced 202
Building a Marketing Data Warehouse from Scratch - SMX Advanced 202
 
EY + Neo4j: Why graph technology makes sense for fraud detection and customer...
EY + Neo4j: Why graph technology makes sense for fraud detection and customer...EY + Neo4j: Why graph technology makes sense for fraud detection and customer...
EY + Neo4j: Why graph technology makes sense for fraud detection and customer...
 
Dataiku tatvic webinar presentation
Dataiku tatvic webinar presentationDataiku tatvic webinar presentation
Dataiku tatvic webinar presentation
 
EY + Neo4j: Why graph technology makes sense for fraud detection and customer...
EY + Neo4j: Why graph technology makes sense for fraud detection and customer...EY + Neo4j: Why graph technology makes sense for fraud detection and customer...
EY + Neo4j: Why graph technology makes sense for fraud detection and customer...
 
Your Roadmap for An Enterprise Graph Strategy
Your Roadmap for An Enterprise Graph StrategyYour Roadmap for An Enterprise Graph Strategy
Your Roadmap for An Enterprise Graph Strategy
 
Applying BigQuery ML on e-commerce data analytics
Applying BigQuery ML on e-commerce data analyticsApplying BigQuery ML on e-commerce data analytics
Applying BigQuery ML on e-commerce data analytics
 
Your Raw Data is Ready - Introduction to Analytics Engineering | SMX Advanced...
Your Raw Data is Ready - Introduction to Analytics Engineering | SMX Advanced...Your Raw Data is Ready - Introduction to Analytics Engineering | SMX Advanced...
Your Raw Data is Ready - Introduction to Analytics Engineering | SMX Advanced...
 
Google Analytics Conference and Product Releases
Google Analytics Conference and Product ReleasesGoogle Analytics Conference and Product Releases
Google Analytics Conference and Product Releases
 
Meet AgilOne: The #1 CDP for Enterprise Brands
Meet AgilOne: The #1 CDP for Enterprise BrandsMeet AgilOne: The #1 CDP for Enterprise Brands
Meet AgilOne: The #1 CDP for Enterprise Brands
 
Intro to AgilOne for Acquia Partners: The #1 CDP for Enterprise Brands
Intro to AgilOne for Acquia Partners: The #1 CDP for Enterprise Brands Intro to AgilOne for Acquia Partners: The #1 CDP for Enterprise Brands
Intro to AgilOne for Acquia Partners: The #1 CDP for Enterprise Brands
 
Presentation Data Council Meetup: F. Mekkenholt, R. Vlijm
Presentation Data Council Meetup: F. Mekkenholt, R. VlijmPresentation Data Council Meetup: F. Mekkenholt, R. Vlijm
Presentation Data Council Meetup: F. Mekkenholt, R. Vlijm
 

Mehr von Christopher Gutknecht

PMAX Product structures with BigQuery [GERMAN]
PMAX Product structures with BigQuery [GERMAN]PMAX Product structures with BigQuery [GERMAN]
PMAX Product structures with BigQuery [GERMAN]Christopher Gutknecht
 
How to recover from an unsuccessful SEO relaunch by activating your data (SMX...
How to recover from an unsuccessful SEO relaunch by activating your data (SMX...How to recover from an unsuccessful SEO relaunch by activating your data (SMX...
How to recover from an unsuccessful SEO relaunch by activating your data (SMX...Christopher Gutknecht
 
MeasureCamp_Custom GA4 Channel Groups with dbt
MeasureCamp_Custom GA4 Channel Groups with dbtMeasureCamp_Custom GA4 Channel Groups with dbt
MeasureCamp_Custom GA4 Channel Groups with dbtChristopher Gutknecht
 
Scaling Search Campaigns With Bulk Uploads and Ad Customizers (SMX 2023)
Scaling Search Campaigns With Bulk Uploads and Ad Customizers (SMX 2023)Scaling Search Campaigns With Bulk Uploads and Ad Customizers (SMX 2023)
Scaling Search Campaigns With Bulk Uploads and Ad Customizers (SMX 2023)Christopher Gutknecht
 
Gross Profit Bidding for Ecommerce | SMX Virtual 2021
Gross Profit Bidding for Ecommerce | SMX Virtual 2021Gross Profit Bidding for Ecommerce | SMX Virtual 2021
Gross Profit Bidding for Ecommerce | SMX Virtual 2021Christopher Gutknecht
 
Questioning data quality and troubleshooting tracking gaps (version2 | Smx Su...
Questioning data quality and troubleshooting tracking gaps (version2 | Smx Su...Questioning data quality and troubleshooting tracking gaps (version2 | Smx Su...
Questioning data quality and troubleshooting tracking gaps (version2 | Smx Su...Christopher Gutknecht
 
Questioning Data Quality and Troubleshooting Tracking Gaps (SMX Munich 2020)
Questioning Data Quality and Troubleshooting Tracking Gaps (SMX Munich 2020)Questioning Data Quality and Troubleshooting Tracking Gaps (SMX Munich 2020)
Questioning Data Quality and Troubleshooting Tracking Gaps (SMX Munich 2020)Christopher Gutknecht
 
SMX Advanced - When to use Machine Learning for Search Campaigns
SMX Advanced - When to use Machine Learning for Search CampaignsSMX Advanced - When to use Machine Learning for Search Campaigns
SMX Advanced - When to use Machine Learning for Search CampaignsChristopher Gutknecht
 

Mehr von Christopher Gutknecht (8)

PMAX Product structures with BigQuery [GERMAN]
PMAX Product structures with BigQuery [GERMAN]PMAX Product structures with BigQuery [GERMAN]
PMAX Product structures with BigQuery [GERMAN]
 
How to recover from an unsuccessful SEO relaunch by activating your data (SMX...
How to recover from an unsuccessful SEO relaunch by activating your data (SMX...How to recover from an unsuccessful SEO relaunch by activating your data (SMX...
How to recover from an unsuccessful SEO relaunch by activating your data (SMX...
 
MeasureCamp_Custom GA4 Channel Groups with dbt
MeasureCamp_Custom GA4 Channel Groups with dbtMeasureCamp_Custom GA4 Channel Groups with dbt
MeasureCamp_Custom GA4 Channel Groups with dbt
 
Scaling Search Campaigns With Bulk Uploads and Ad Customizers (SMX 2023)
Scaling Search Campaigns With Bulk Uploads and Ad Customizers (SMX 2023)Scaling Search Campaigns With Bulk Uploads and Ad Customizers (SMX 2023)
Scaling Search Campaigns With Bulk Uploads and Ad Customizers (SMX 2023)
 
Gross Profit Bidding for Ecommerce | SMX Virtual 2021
Gross Profit Bidding for Ecommerce | SMX Virtual 2021Gross Profit Bidding for Ecommerce | SMX Virtual 2021
Gross Profit Bidding for Ecommerce | SMX Virtual 2021
 
Questioning data quality and troubleshooting tracking gaps (version2 | Smx Su...
Questioning data quality and troubleshooting tracking gaps (version2 | Smx Su...Questioning data quality and troubleshooting tracking gaps (version2 | Smx Su...
Questioning data quality and troubleshooting tracking gaps (version2 | Smx Su...
 
Questioning Data Quality and Troubleshooting Tracking Gaps (SMX Munich 2020)
Questioning Data Quality and Troubleshooting Tracking Gaps (SMX Munich 2020)Questioning Data Quality and Troubleshooting Tracking Gaps (SMX Munich 2020)
Questioning Data Quality and Troubleshooting Tracking Gaps (SMX Munich 2020)
 
SMX Advanced - When to use Machine Learning for Search Campaigns
SMX Advanced - When to use Machine Learning for Search CampaignsSMX Advanced - When to use Machine Learning for Search Campaigns
SMX Advanced - When to use Machine Learning for Search Campaigns
 

Kürzlich hochgeladen

Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxolyaivanovalion
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一ffjhghh
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystSamantha Rae Coolbeth
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxolyaivanovalion
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxolyaivanovalion
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Delhi Call girls
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxolyaivanovalion
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationshipsccctableauusergroup
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998YohFuh
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 

Kürzlich hochgeladen (20)

Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFx
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 

Data-Driven Attribution in BigQuery with Shapley Values and Markov Chains

  • 1. Data-Driven Attribution in BigQuery with Shapley Values and Markov Chains Stephanie Hubert | Christopher Gutknecht | Bergzeit
  • 2. What To Expect from this Session 1. How to view rule-based vs data-driven attribution Slides & Checklist: via Search Seekers 3. How to compare different model outputs 4. Get an overview of model decision parameters 2. How to implement Shapley & Markov chain attribution
  • 3. Your Speakers: Steffi and Chris Digital Marketer Tech nerd Climber 199. 2008 2013 2020 Dad of 2 ● Mountain enthusiast, most likely biking or skiing ● Passionate about finding new insights from data
  • 4. Bergzeit: Combining Love for Mountains & Data Online Store for Mountain Gear Aiming for +100M Revenue in 2020 14 Countries & 4 Languages Content. Commerce. Experience 7 data experts in Team A&O
  • 5. #2 Recap: The Attribution Challenge #3#1 Model Parameters: - Channel definition - Time frame - Path length - Multi & Repurchase 850€
  • 6. We’re at the beginning of the journey Steffi Data Analyst Kira Performance Chris Support
  • 7. Offline Effects Display Customer Service Multi-Device Time Model Complexity & Quality Start simple and gradually expand! Website data Social How many touchpoints are beyond your website?
  • 8. There is no “truth”, only matching to requirements! Reminder: Attribution is Unsupervised Learning
  • 9. DisplayOrganic SearchPPC Brand Search Generic Search Home Non-Home Magazine ... …. Define the right granularity - don’t mix apples & pears! Homework: Are Your Channels Correctly Defined?
  • 10. Get to Know your Data: Find Your Ideal Time Lag Start with exploring your data!
  • 11. Sales PlanningMedia BiddingReporting Channel to ad unit Long lookback period Tool independent Servable as API Data enhancement Integrations Data enhancement Revenue planning Budget forecasting Three Outputs of a Custom Attribution Model
  • 12. Data can’t be stored or awkward to query What Failed For Us: Multi-Channel Funnel UI/API
  • 13. Data didn’t make too much sense, no API to call What Failed For Us: Google Attribution
  • 14. It might not be worth it, but you don’t know beforehand! ? Data Driven Attribution is Like the “Tre Cime”
  • 15. Customized Data DrivenRule-Based Simple logic Easier to implement Includes ALL customer journeys Distribute by actual contribution vs Best Practice: Test many models before deciding! Why Customize? Get Closer to Your “Truth”
  • 17. 1. Shapley Values 2. Markov Chains Data Driven Attribution: The Two Usual Suspects
  • 19. Python Cloud Function (or docker image) Soon to open sourced on Github Optimized for GA360 Datamain.py sql statements not included: recency, repurchase Mapping to revenue via transactionId Bias towards “through-way” channels Google Fractribution Package for Shapley Values
  • 20. Google Fractribution: Example BigQuery Output SQL reference for pivoting conversions to channel revenue: https://towardsdatascience.com/how-to-unpivot-multiple-columns-into-tidy-pairs-with-sql-and-bigquery-d9d0e74ce675
  • 21. Based on sequential probabilities Detailed reference: medium.com/@mortenhegewald/marketing-channel-attribution-using-markov-chains-101-in-python-78fb181ebf1ecç Leverages removal effect (see C3) Discounts “through-way” channels Attribution Modeling with Markov Chains
  • 22. Available in Python and R Outputs to cloud storage bucket Manual data preprocessing not included: hit-level, recency, repurchase Channel Attribution Package for Markov Chains
  • 23. Note: There is no Golden Rule for Model choice Model Comparison to Last Click: Our Results
  • 24. userId sessionId date channel transactionId revenue 123 101 2020-09-01 PPC Generic - - 123 102 2020-09-03 PPC Brand - - 124 201 2020-09-01 SEO Magazin - - 124 202 2020-09-05 SEO Brand 002 87.45 Data could come from any tracking source What Data do we Need? Session-Level Data
  • 25. Data ConnectorGA IV ExportGA 360 Export Best Google support Free cost tier 360 needed Launched Recently New event model GA IV needed Works with Non-360 No GA IV needed Extra cost Three Options to Get Your Data into BigQuery
  • 26. Our Decision Space for Attribution Model Choice DeliveryModel evaluationModel definition Define time lag Set max path length Define multiple models to compare Compare different time frames Evaluate model differences Find best fit for your channels Build delivery pipelines Define retraining frequency Define historical windowSet channel definition
  • 28. Extra: Improve Your Cross Device Attribution Cross Device Measurement Define unique userId (uuid) Use login & email signals Override userid in GA Activate user signals
  • 29. Watch Skyscanner on Multi-Touch Attribution youtu.be/LDU87WlOhWg
  • 30. 1. Start simple and take small steps 3. Build your Data knowledge Inhouse 2. Test multiple models and time frames Your Three Attribution Takeaways
  • 31. Thanks for Your Time. Looking Forward to Questions! Stephanie Hubert | Data Analyst Chris Gutknecht | Teamlead A&O | @chrisgutknecht
  • 32. Addon: Project A on Attribution with Impressions open.spotify.com/episode/1CcIyl13EWty6NA7FZaPAM