SlideShare a Scribd company logo
Offline Tracking using the
Measurement Protocol
Agenda
• Introduction
• The Measurement Protocol
• Use Cases
© 2017 Merkle. All Rights Reserved. Confidential
Introduction
© Merkle. All Rights Reserved. Confidential4
The Path To Conversion
THE REAL PATH TO CONVERSION
Display
Ad Search
Ad
Web
Chat
Email
Campaign
Offline Call /
Offline System
TV
Ad
© Merkle. All Rights Reserved. Confidential5
What is missing from the picture
• No offline touchpoints
• Even if there are offline touchpoints, they’re reported as separate paths
• All paths relate to a single cookie “User” – no cross-device
or cross-browser analysis is possible
• Why does Google report in this way?
• Web analytics relies on cookies
• Cookies (hence “Users”) are browser,
domain and device-specific
© Merkle. All Rights Reserved. Confidential6
How to paint a better picture
Track how users interact with a given business from almost any environment.
© Merkle. All Rights Reserved. Confidential7© 2017 Merkle. All Rights Reserved. Confidential
The Measurement Protocol
© Merkle. All Rights Reserved. Confidential8
Google Analytics Architecture - Overview
The way to interact and influence processing
in GA is through the user interface, client
libraries, and APIs that are organized into 4
main components:
1. Collection
collects user-interaction data.
2. Configuration
manage how the data is processed.
3. Processing
processes the user-interaction data, with the
configuration data.
4. Reporting
provides access to all the processed data.
Collection
Processing
ReportingConfiguration
gtag.js
iOS SDK
Android SDK
analytics.js
ga.js (legacy)
Measurement
Protocol
Logs Processing Query Engine
Configuration Data
Web
Interface
Management
API
Provisioning
API
Metadata
API
Embed API
Core
Reporting API
Multi-Channel
Funnels API
Real Time
Reporting API
Web Interface
External
Environment
© Merkle. All Rights Reserved. Confidential9
The Measurement Protocol – Technical bits
There are two parts to send data to Google Analytics using the Measurement Protocol:
1. Transport
HTTP GET/POST Request
POST https://www.google-analytics.com/collect
payload_data
GET /collect?payload_data HTTP/1.1 Host:
https://www.google-analytics.com
The body must include exactly 1 URI encoded payload.
The payload data is sent as URI escaped query parameters
Any
Environment*
© Merkle. All Rights Reserved. Confidential10
The Measurement Protocol – Technical bits
1. Transport
HTTP GET/POST Request
POST https://www.google-analytics.com/collect
payload_data
GET /collect?payload_data HTTP/1.1
Host: https://www.google-analytics.com
*Almost any – has to be connected to the internet and be able to make HTTP requests.
• GET requests have a lower size limit, so we tend to use POST requests to extend the payload to up to 8192 bytes
The body must include exactly 1 URI encoded payload.
The payload data is sent as URI escaped query parameters
Any
Environment*
© Merkle. All Rights Reserved. Confidential11
The Measurement Protocol – Technical bits
There are two parts to send data to Google Analytics using the Measurement Protocol:
2. Payload
The payload resembles a URL query string where each parameter has a key and value (UTF-8 and URL Encoded), is
separated by an = character, and each pair is delimited by an & character.
Fields required for
every hit you send:
• v (version)
• tid (web property ID)
• cid (client ID)
• t (hit type)
© Merkle. All Rights Reserved. Confidential12
The Measurement Protocol – Technical bits
2. Payload
The payload resembles a URL query string where each parameter has a key and value (UTF-8 and URL Encoded), is
separated by an = character, and each pair is delimited by an & character. For
Fields required for
every hit you send:
• v (version)
• tid (web property ID)
• cid (client ID)
• t (hit type)
• Some hit types require certain additional parameters (i.e. Transaction Hits)
• For everything else, there’s the Parameter Reference
© Merkle. All Rights Reserved. Confidential13
The Measurement Protocol – Technical bits – Tying it up together
POST https://www.google-analytics.com/collect?
v=1
&tid=UA-XXXX-Y
&cid=555
&t=pageview
&dp=%2Fhome
Any
Environment*
HTTP Request
© 2017 Merkle. All Rights Reserved. Confidential
Use Cases
© Merkle. All Rights Reserved. Confidential15
Tie online to offline behaviour by sending additional data from a CRM
FORM SUBMISSIONS
Client IDs captured in
CRM alongside
submitted form data
CRM
PLATFORM
CRM Triggers
construct hits with
enriched data
On site
behaviour
Offline Data sent to GA
© Merkle. All Rights Reserved. Confidential16
Track email opens as well as clicks on links
<img src="http://www.google-
analytics.com/collect?v=1&tid=UA-51725701-1
&t=event&ec=email%20open&ea=febsale&el=99off
&cid={{Client ID}}">
Dear {{Name}},
Check out our latest offer – 100% off if you click through and
buy in the next 10 seconds!
www.bait.com/lp?utm_source=march&utm_medium=email
&utm_campaign=impossible
Kind regards,
Mr Spamalot
&clientid={{Client ID}}
<<Mailing List 1>>
Awesome email campaign
© Merkle. All Rights Reserved. Confidential17
Configure server-side tracking
© Merkle. All Rights Reserved. Confidential18
Send data from devices that are connected to the internet
In Store
Tills
Kiosks
IoT
Devices
Barcode
Scanners
Other
© Merkle. All Rights Reserved. Confidential19
Summary
Allows you to
enhance data
collection
Provides the
mechanism to
send hits to GA
via HTTP
Requests
Enables Single
Customer View
Is applicable in
various
scenarios
The Measurement Protocol:
© 2017 Merkle. All Rights Reserved. Confidential
Thank you for your time.
Any questions?

More Related Content

What's hot

Developing share point 2013 apps with mvc 5, signalr 2.0, webapi 2 and visual...
Developing share point 2013 apps with mvc 5, signalr 2.0, webapi 2 and visual...Developing share point 2013 apps with mvc 5, signalr 2.0, webapi 2 and visual...
Developing share point 2013 apps with mvc 5, signalr 2.0, webapi 2 and visual...
Bas Lijten
 
Medior Software Engineer (C #,. Net) Bizz Talk 2006 Groningen
Medior Software Engineer (C #,. Net)   Bizz Talk 2006    GroningenMedior Software Engineer (C #,. Net)   Bizz Talk 2006    Groningen
Medior Software Engineer (C #,. Net) Bizz Talk 2006 Groningen
chalikars
 
Scribe insight 01 publisher deep dive
Scribe insight 01   publisher deep diveScribe insight 01   publisher deep dive
Scribe insight 01 publisher deep dive
Scribe Software Corp.
 
GraphQL Advanced
GraphQL AdvancedGraphQL Advanced
GraphQL Advanced
LeanIX GmbH
 
Combining WSO2 API Manager with WSO2 BAM for billing in the energy industry
Combining WSO2 API Manager with WSO2 BAM for billing in the energy industryCombining WSO2 API Manager with WSO2 BAM for billing in the energy industry
Combining WSO2 API Manager with WSO2 BAM for billing in the energy industry
WSO2
 
Migrating biz talk solutions to azure
Migrating biz talk solutions to azureMigrating biz talk solutions to azure
Migrating biz talk solutions to azure
BizTalk360
 
apidays LIVE Paris - The Rise of GraphQL for database APIs by Karthic Rao
apidays LIVE Paris - The Rise of GraphQL for database APIs by Karthic Raoapidays LIVE Paris - The Rise of GraphQL for database APIs by Karthic Rao
apidays LIVE Paris - The Rise of GraphQL for database APIs by Karthic Rao
apidays
 
Monitoring on premise biz talk applications using cloud based power bi saas
Monitoring on premise biz talk applications using cloud based power bi saasMonitoring on premise biz talk applications using cloud based power bi saas
Monitoring on premise biz talk applications using cloud based power bi saas
BizTalk360
 
Experience in Magento Community Projects
Experience in Magento Community ProjectsExperience in Magento Community Projects
Experience in Magento Community Projects
Magecom UK Limited
 
Use the Reporting API to Supercharge Your Data
Use the Reporting API to Supercharge Your DataUse the Reporting API to Supercharge Your Data
Use the Reporting API to Supercharge Your Data
Salesforce Developers
 
Odoo OpenERP 7 SaaSKit
Odoo OpenERP 7 SaaSKitOdoo OpenERP 7 SaaSKit
Odoo OpenERP 7 SaaSKit
pragmatic123
 
Migrating BizTalk Solutions to Azure: Mapping Messages | Integration Monday
Migrating BizTalk Solutions to Azure: Mapping Messages | Integration MondayMigrating BizTalk Solutions to Azure: Mapping Messages | Integration Monday
Migrating BizTalk Solutions to Azure: Mapping Messages | Integration Monday
BizTalk360
 
Apigee Insights: Data & Context-Driven Actions
Apigee Insights: Data & Context-Driven ActionsApigee Insights: Data & Context-Driven Actions
Apigee Insights: Data & Context-Driven Actions
Apigee | Google Cloud
 
Courier April Product Release Notes
Courier April Product Release NotesCourier April Product Release Notes
Courier April Product Release Notes
Letterdrop
 

What's hot (14)

Developing share point 2013 apps with mvc 5, signalr 2.0, webapi 2 and visual...
Developing share point 2013 apps with mvc 5, signalr 2.0, webapi 2 and visual...Developing share point 2013 apps with mvc 5, signalr 2.0, webapi 2 and visual...
Developing share point 2013 apps with mvc 5, signalr 2.0, webapi 2 and visual...
 
Medior Software Engineer (C #,. Net) Bizz Talk 2006 Groningen
Medior Software Engineer (C #,. Net)   Bizz Talk 2006    GroningenMedior Software Engineer (C #,. Net)   Bizz Talk 2006    Groningen
Medior Software Engineer (C #,. Net) Bizz Talk 2006 Groningen
 
Scribe insight 01 publisher deep dive
Scribe insight 01   publisher deep diveScribe insight 01   publisher deep dive
Scribe insight 01 publisher deep dive
 
GraphQL Advanced
GraphQL AdvancedGraphQL Advanced
GraphQL Advanced
 
Combining WSO2 API Manager with WSO2 BAM for billing in the energy industry
Combining WSO2 API Manager with WSO2 BAM for billing in the energy industryCombining WSO2 API Manager with WSO2 BAM for billing in the energy industry
Combining WSO2 API Manager with WSO2 BAM for billing in the energy industry
 
Migrating biz talk solutions to azure
Migrating biz talk solutions to azureMigrating biz talk solutions to azure
Migrating biz talk solutions to azure
 
apidays LIVE Paris - The Rise of GraphQL for database APIs by Karthic Rao
apidays LIVE Paris - The Rise of GraphQL for database APIs by Karthic Raoapidays LIVE Paris - The Rise of GraphQL for database APIs by Karthic Rao
apidays LIVE Paris - The Rise of GraphQL for database APIs by Karthic Rao
 
Monitoring on premise biz talk applications using cloud based power bi saas
Monitoring on premise biz talk applications using cloud based power bi saasMonitoring on premise biz talk applications using cloud based power bi saas
Monitoring on premise biz talk applications using cloud based power bi saas
 
Experience in Magento Community Projects
Experience in Magento Community ProjectsExperience in Magento Community Projects
Experience in Magento Community Projects
 
Use the Reporting API to Supercharge Your Data
Use the Reporting API to Supercharge Your DataUse the Reporting API to Supercharge Your Data
Use the Reporting API to Supercharge Your Data
 
Odoo OpenERP 7 SaaSKit
Odoo OpenERP 7 SaaSKitOdoo OpenERP 7 SaaSKit
Odoo OpenERP 7 SaaSKit
 
Migrating BizTalk Solutions to Azure: Mapping Messages | Integration Monday
Migrating BizTalk Solutions to Azure: Mapping Messages | Integration MondayMigrating BizTalk Solutions to Azure: Mapping Messages | Integration Monday
Migrating BizTalk Solutions to Azure: Mapping Messages | Integration Monday
 
Apigee Insights: Data & Context-Driven Actions
Apigee Insights: Data & Context-Driven ActionsApigee Insights: Data & Context-Driven Actions
Apigee Insights: Data & Context-Driven Actions
 
Courier April Product Release Notes
Courier April Product Release NotesCourier April Product Release Notes
Courier April Product Release Notes
 

Similar to Offline tracking using the measurement protocol - Yasen Lilov | Merkle

Gain Deep Visibility into APIs and Integrations with Anypoint Monitoring
Gain Deep Visibility into APIs and Integrations with Anypoint MonitoringGain Deep Visibility into APIs and Integrations with Anypoint Monitoring
Gain Deep Visibility into APIs and Integrations with Anypoint Monitoring
InfluxData
 
CIS13: Identity at Scale
CIS13: Identity at ScaleCIS13: Identity at Scale
CIS13: Identity at Scale
CloudIDSummit
 
Big data for Telco: opportunity or threat?
Big data for Telco: opportunity or threat?Big data for Telco: opportunity or threat?
Big data for Telco: opportunity or threat?
Swiss Big Data User Group
 
Why Collaborate? Graham Nicholls, Extrada Inc.
Why Collaborate? Graham Nicholls, Extrada Inc.Why Collaborate? Graham Nicholls, Extrada Inc.
Why Collaborate? Graham Nicholls, Extrada Inc.
mfrancis
 
Curiosity and Lemontree present - Data Breaks DevOps: Why you need automated ...
Curiosity and Lemontree present - Data Breaks DevOps: Why you need automated ...Curiosity and Lemontree present - Data Breaks DevOps: Why you need automated ...
Curiosity and Lemontree present - Data Breaks DevOps: Why you need automated ...
Curiosity Software Ireland
 
GDPR- The Buck Stops Here
GDPR-  The Buck Stops HereGDPR-  The Buck Stops Here
GDPR- The Buck Stops Here
Kellyn Pot'Vin-Gorman
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2
 
Computerworld Big Data Forum 2015
Computerworld Big Data Forum 2015Computerworld Big Data Forum 2015
Computerworld Big Data Forum 2015
Steven Sit
 
Building Global Telematics System by Using OSGi Technology - Dimitar Valtchev...
Building Global Telematics System by Using OSGi Technology - Dimitar Valtchev...Building Global Telematics System by Using OSGi Technology - Dimitar Valtchev...
Building Global Telematics System by Using OSGi Technology - Dimitar Valtchev...
mfrancis
 
Monitoring in the DevOps Era
Monitoring in the DevOps EraMonitoring in the DevOps Era
Monitoring in the DevOps Era
Mike Kavis
 
How to Build An AI Based Customer Data Platform: Learn the design patterns fo...
How to Build An AI Based Customer Data Platform: Learn the design patterns fo...How to Build An AI Based Customer Data Platform: Learn the design patterns fo...
How to Build An AI Based Customer Data Platform: Learn the design patterns fo...
TigerGraph
 
QCon 2018 | Gimel | PayPal's Analytic Platform
QCon 2018 | Gimel | PayPal's Analytic PlatformQCon 2018 | Gimel | PayPal's Analytic Platform
QCon 2018 | Gimel | PayPal's Analytic Platform
Deepak Chandramouli
 
Gimel at Dataworks Summit San Jose 2018
Gimel at Dataworks Summit San Jose 2018Gimel at Dataworks Summit San Jose 2018
Gimel at Dataworks Summit San Jose 2018
Romit Mehta
 
Dataworks | 2018-06-20 | Gimel data platform
Dataworks | 2018-06-20 | Gimel data platformDataworks | 2018-06-20 | Gimel data platform
Dataworks | 2018-06-20 | Gimel data platform
Deepak Chandramouli
 
Drive Superior Customer Experiences With Integration Appliances
Drive Superior Customer Experiences With Integration AppliancesDrive Superior Customer Experiences With Integration Appliances
Drive Superior Customer Experiences With Integration Appliances
Sean O'Connell
 
IoT Connected Brewery
IoT Connected BreweryIoT Connected Brewery
IoT Connected Brewery
Jason Hubbard
 
HTGSOFT - System integration services
HTGSOFT - System integration servicesHTGSOFT - System integration services
HTGSOFT - System integration services
Paul Dao
 
Entrepreneurship Tips With HTML5 & App Engine Startup Weekend (June 2012)
Entrepreneurship Tips With HTML5 & App Engine Startup Weekend (June 2012)Entrepreneurship Tips With HTML5 & App Engine Startup Weekend (June 2012)
Entrepreneurship Tips With HTML5 & App Engine Startup Weekend (June 2012)
Ido Green
 
An Introduction to Apache Geode (incubating)
An Introduction to Apache Geode (incubating)An Introduction to Apache Geode (incubating)
An Introduction to Apache Geode (incubating)
Anthony Baker
 
Open Sourcing GemFire - Apache Geode
Open Sourcing GemFire - Apache GeodeOpen Sourcing GemFire - Apache Geode
Open Sourcing GemFire - Apache Geode
Apache Geode
 

Similar to Offline tracking using the measurement protocol - Yasen Lilov | Merkle (20)

Gain Deep Visibility into APIs and Integrations with Anypoint Monitoring
Gain Deep Visibility into APIs and Integrations with Anypoint MonitoringGain Deep Visibility into APIs and Integrations with Anypoint Monitoring
Gain Deep Visibility into APIs and Integrations with Anypoint Monitoring
 
CIS13: Identity at Scale
CIS13: Identity at ScaleCIS13: Identity at Scale
CIS13: Identity at Scale
 
Big data for Telco: opportunity or threat?
Big data for Telco: opportunity or threat?Big data for Telco: opportunity or threat?
Big data for Telco: opportunity or threat?
 
Why Collaborate? Graham Nicholls, Extrada Inc.
Why Collaborate? Graham Nicholls, Extrada Inc.Why Collaborate? Graham Nicholls, Extrada Inc.
Why Collaborate? Graham Nicholls, Extrada Inc.
 
Curiosity and Lemontree present - Data Breaks DevOps: Why you need automated ...
Curiosity and Lemontree present - Data Breaks DevOps: Why you need automated ...Curiosity and Lemontree present - Data Breaks DevOps: Why you need automated ...
Curiosity and Lemontree present - Data Breaks DevOps: Why you need automated ...
 
GDPR- The Buck Stops Here
GDPR-  The Buck Stops HereGDPR-  The Buck Stops Here
GDPR- The Buck Stops Here
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Computerworld Big Data Forum 2015
Computerworld Big Data Forum 2015Computerworld Big Data Forum 2015
Computerworld Big Data Forum 2015
 
Building Global Telematics System by Using OSGi Technology - Dimitar Valtchev...
Building Global Telematics System by Using OSGi Technology - Dimitar Valtchev...Building Global Telematics System by Using OSGi Technology - Dimitar Valtchev...
Building Global Telematics System by Using OSGi Technology - Dimitar Valtchev...
 
Monitoring in the DevOps Era
Monitoring in the DevOps EraMonitoring in the DevOps Era
Monitoring in the DevOps Era
 
How to Build An AI Based Customer Data Platform: Learn the design patterns fo...
How to Build An AI Based Customer Data Platform: Learn the design patterns fo...How to Build An AI Based Customer Data Platform: Learn the design patterns fo...
How to Build An AI Based Customer Data Platform: Learn the design patterns fo...
 
QCon 2018 | Gimel | PayPal's Analytic Platform
QCon 2018 | Gimel | PayPal's Analytic PlatformQCon 2018 | Gimel | PayPal's Analytic Platform
QCon 2018 | Gimel | PayPal's Analytic Platform
 
Gimel at Dataworks Summit San Jose 2018
Gimel at Dataworks Summit San Jose 2018Gimel at Dataworks Summit San Jose 2018
Gimel at Dataworks Summit San Jose 2018
 
Dataworks | 2018-06-20 | Gimel data platform
Dataworks | 2018-06-20 | Gimel data platformDataworks | 2018-06-20 | Gimel data platform
Dataworks | 2018-06-20 | Gimel data platform
 
Drive Superior Customer Experiences With Integration Appliances
Drive Superior Customer Experiences With Integration AppliancesDrive Superior Customer Experiences With Integration Appliances
Drive Superior Customer Experiences With Integration Appliances
 
IoT Connected Brewery
IoT Connected BreweryIoT Connected Brewery
IoT Connected Brewery
 
HTGSOFT - System integration services
HTGSOFT - System integration servicesHTGSOFT - System integration services
HTGSOFT - System integration services
 
Entrepreneurship Tips With HTML5 & App Engine Startup Weekend (June 2012)
Entrepreneurship Tips With HTML5 & App Engine Startup Weekend (June 2012)Entrepreneurship Tips With HTML5 & App Engine Startup Weekend (June 2012)
Entrepreneurship Tips With HTML5 & App Engine Startup Weekend (June 2012)
 
An Introduction to Apache Geode (incubating)
An Introduction to Apache Geode (incubating)An Introduction to Apache Geode (incubating)
An Introduction to Apache Geode (incubating)
 
Open Sourcing GemFire - Apache Geode
Open Sourcing GemFire - Apache GeodeOpen Sourcing GemFire - Apache Geode
Open Sourcing GemFire - Apache Geode
 

Recently uploaded

06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
Timothy Spann
 
A presentation that explain the Power BI Licensing
A presentation that explain the Power BI LicensingA presentation that explain the Power BI Licensing
A presentation that explain the Power BI Licensing
AlessioFois2
 
Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
manishkhaire30
 
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging DataPredictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Kiwi Creative
 
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
y3i0qsdzb
 
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
hyfjgavov
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
soxrziqu
 
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
apvysm8
 
Build applications with generative AI on Google Cloud
Build applications with generative AI on Google CloudBuild applications with generative AI on Google Cloud
Build applications with generative AI on Google Cloud
Márton Kodok
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
jitskeb
 
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
v7oacc3l
 
Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024
ElizabethGarrettChri
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
Timothy Spann
 
Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...
Bill641377
 
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
bopyb
 
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens""Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
sameer shah
 
Intelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicineIntelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicine
AndrzejJarynowski
 
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
Walaa Eldin Moustafa
 
Challenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more importantChallenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more important
Sm321
 
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
mkkikqvo
 

Recently uploaded (20)

06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
 
A presentation that explain the Power BI Licensing
A presentation that explain the Power BI LicensingA presentation that explain the Power BI Licensing
A presentation that explain the Power BI Licensing
 
Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
 
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging DataPredictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
 
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
 
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
 
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
 
Build applications with generative AI on Google Cloud
Build applications with generative AI on Google CloudBuild applications with generative AI on Google Cloud
Build applications with generative AI on Google Cloud
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
 
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
 
Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
 
Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...
 
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
 
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens""Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
 
Intelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicineIntelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicine
 
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
 
Challenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more importantChallenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more important
 
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
 

Offline tracking using the measurement protocol - Yasen Lilov | Merkle

  • 1. Offline Tracking using the Measurement Protocol
  • 2. Agenda • Introduction • The Measurement Protocol • Use Cases
  • 3. © 2017 Merkle. All Rights Reserved. Confidential Introduction
  • 4. © Merkle. All Rights Reserved. Confidential4 The Path To Conversion THE REAL PATH TO CONVERSION Display Ad Search Ad Web Chat Email Campaign Offline Call / Offline System TV Ad
  • 5. © Merkle. All Rights Reserved. Confidential5 What is missing from the picture • No offline touchpoints • Even if there are offline touchpoints, they’re reported as separate paths • All paths relate to a single cookie “User” – no cross-device or cross-browser analysis is possible • Why does Google report in this way? • Web analytics relies on cookies • Cookies (hence “Users”) are browser, domain and device-specific
  • 6. © Merkle. All Rights Reserved. Confidential6 How to paint a better picture Track how users interact with a given business from almost any environment.
  • 7. © Merkle. All Rights Reserved. Confidential7© 2017 Merkle. All Rights Reserved. Confidential The Measurement Protocol
  • 8. © Merkle. All Rights Reserved. Confidential8 Google Analytics Architecture - Overview The way to interact and influence processing in GA is through the user interface, client libraries, and APIs that are organized into 4 main components: 1. Collection collects user-interaction data. 2. Configuration manage how the data is processed. 3. Processing processes the user-interaction data, with the configuration data. 4. Reporting provides access to all the processed data. Collection Processing ReportingConfiguration gtag.js iOS SDK Android SDK analytics.js ga.js (legacy) Measurement Protocol Logs Processing Query Engine Configuration Data Web Interface Management API Provisioning API Metadata API Embed API Core Reporting API Multi-Channel Funnels API Real Time Reporting API Web Interface External Environment
  • 9. © Merkle. All Rights Reserved. Confidential9 The Measurement Protocol – Technical bits There are two parts to send data to Google Analytics using the Measurement Protocol: 1. Transport HTTP GET/POST Request POST https://www.google-analytics.com/collect payload_data GET /collect?payload_data HTTP/1.1 Host: https://www.google-analytics.com The body must include exactly 1 URI encoded payload. The payload data is sent as URI escaped query parameters Any Environment*
  • 10. © Merkle. All Rights Reserved. Confidential10 The Measurement Protocol – Technical bits 1. Transport HTTP GET/POST Request POST https://www.google-analytics.com/collect payload_data GET /collect?payload_data HTTP/1.1 Host: https://www.google-analytics.com *Almost any – has to be connected to the internet and be able to make HTTP requests. • GET requests have a lower size limit, so we tend to use POST requests to extend the payload to up to 8192 bytes The body must include exactly 1 URI encoded payload. The payload data is sent as URI escaped query parameters Any Environment*
  • 11. © Merkle. All Rights Reserved. Confidential11 The Measurement Protocol – Technical bits There are two parts to send data to Google Analytics using the Measurement Protocol: 2. Payload The payload resembles a URL query string where each parameter has a key and value (UTF-8 and URL Encoded), is separated by an = character, and each pair is delimited by an & character. Fields required for every hit you send: • v (version) • tid (web property ID) • cid (client ID) • t (hit type)
  • 12. © Merkle. All Rights Reserved. Confidential12 The Measurement Protocol – Technical bits 2. Payload The payload resembles a URL query string where each parameter has a key and value (UTF-8 and URL Encoded), is separated by an = character, and each pair is delimited by an & character. For Fields required for every hit you send: • v (version) • tid (web property ID) • cid (client ID) • t (hit type) • Some hit types require certain additional parameters (i.e. Transaction Hits) • For everything else, there’s the Parameter Reference
  • 13. © Merkle. All Rights Reserved. Confidential13 The Measurement Protocol – Technical bits – Tying it up together POST https://www.google-analytics.com/collect? v=1 &tid=UA-XXXX-Y &cid=555 &t=pageview &dp=%2Fhome Any Environment* HTTP Request
  • 14. © 2017 Merkle. All Rights Reserved. Confidential Use Cases
  • 15. © Merkle. All Rights Reserved. Confidential15 Tie online to offline behaviour by sending additional data from a CRM FORM SUBMISSIONS Client IDs captured in CRM alongside submitted form data CRM PLATFORM CRM Triggers construct hits with enriched data On site behaviour Offline Data sent to GA
  • 16. © Merkle. All Rights Reserved. Confidential16 Track email opens as well as clicks on links <img src="http://www.google- analytics.com/collect?v=1&tid=UA-51725701-1 &t=event&ec=email%20open&ea=febsale&el=99off &cid={{Client ID}}"> Dear {{Name}}, Check out our latest offer – 100% off if you click through and buy in the next 10 seconds! www.bait.com/lp?utm_source=march&utm_medium=email &utm_campaign=impossible Kind regards, Mr Spamalot &clientid={{Client ID}} <<Mailing List 1>> Awesome email campaign
  • 17. © Merkle. All Rights Reserved. Confidential17 Configure server-side tracking
  • 18. © Merkle. All Rights Reserved. Confidential18 Send data from devices that are connected to the internet In Store Tills Kiosks IoT Devices Barcode Scanners Other
  • 19. © Merkle. All Rights Reserved. Confidential19 Summary Allows you to enhance data collection Provides the mechanism to send hits to GA via HTTP Requests Enables Single Customer View Is applicable in various scenarios The Measurement Protocol:
  • 20. © 2017 Merkle. All Rights Reserved. Confidential Thank you for your time. Any questions?

Editor's Notes

  1. At the heart of the collection component we can see the Measurement Protocol which is the main mechanism used to construct the hits. It provides the flexibility to send any data to analytics that is then processed together with the web/app collected data.
  2. As you’ve seen on the previous slide, the measurement protocol can be used to construct hits and pass them to GA from any environment The Measurement Protocol is the mechanism that is used to construct the hits generated by the different libraries and SDKs. Once the hits are constructed with the predefined parameters, an HTTP request is made to send raw user data directly to the Google Analytics Servers. Aside from that, you can also use the Measurement Protocol to construct hits yourself and send them from any environment, considering the guidelines and documentation. That allows you to enrich your data considerably and combine offline hits with online hits for example.
  3. There are of course some tools and events that must be implemented on the client side. The client, being that it’s the browser, has easy access to user specific attributes, such as cookies, IP address, user agent, referrer, and UTM parameters. This means that if you track on the client, you easily can collect and track all of these contextual pieces of information.  What can be done better server side: “Offsite” events: An example of this would be our nightly cron job that calculates API usage across our customer base, then sends server side .track() calls. Tracking revenue: (or other sensitive events): Revenue figures should be sent on the server, since they’re sensitive and discrepancies from ad blockers or browser mishaps would be frustrating to debug. Mission critical events: If you’re using email or marketing automation tools that rely on events to trigger high-value emails, it’s best to keep these events on the server side. It would be a bummer to have a customer miss out on a coupon or re-engagement email due to ad block.