SlideShare una empresa de Scribd logo
1 de 25
Descargar para leer sin conexión
The Lego Data Layer
Digital Event Grammar: 
subject + verb + object + context 
Ecommerce:
Files downloaded, buttons and 
links clicked, pages seen…. 
Stuff that users interacted 
with directly (the object) 
We track it, then classify it.
Then came 
Enhanced Ecommerce 
... enables the measurement of user 
interactions with products on ecommerce 
websites ...
It doesn’t “fit” 
Sometimes product is object, other times it’s part of context.
Entity = a thing that’s of 
particular interest to the business. 
The shopper 
The product 
The product category 
The transaction 
The shopping visit aka the checkout 
The promotion 
The campaign
It’s not the clicked button that 
counts (the object). 
But the business entity 
that click is related to.
Link interactions to the 
business entities 
they’re related to at 
data collection time. 
subject + verb + object + context + entity
The Entity 
Dictionary: 
- Standalone attributes 
- Gained attributes
Interaction -> system 
composed of business entities
Simply “slot” entities 
into the structure of the 
new interaction.
Especially when you have 
parent-child relationships.
New attributes 
automatically “travel” with 
the entity. 
They trickle through to the 
entities and interactions 
they’re a part of.
How does it work in practice
Interaction recipe for GTM… 
"added_product_to_basket": { 
"action": { 
"category": "shopping", 
"timestamp": "1410962241" 
}, 
"user": <user dict>, 
"object": { 
"type": "product", 
"dict": <product dict> 
}, 
"context": { 
"notification": <notification dict>, 
"checkout": <checkout dict> 
} 
}
…human friendly for us 
added_product_to_basket: 
action: 
category: shopping 
timestamp: 1410962241 
user: <user dict> 
object: 
type: product 
dict: <product dict> 
context: 
notification: <notification dict> 
checkout: <checkout dict>
Get devs to create helpers 
who get the dictionaries 
ready.
Call on the helpers immediately 
after the interaction occurs.
Meet the entity dictionary workhorse
Automatically 
highlight changes 
+ product.cohort_added 
+ product.date_added 
! 
- product.brand.variation
Automatically 
create human friendly spec 
product 
id // server-side / client-side markup 
variations 
number // server-side 
! 
brand 
name // server-side 
!
Automatically 
create precise JSON spec 
{ 
"product": { 
"id": "[id of product]", 
"name": "[name of of product]", 
"variations": { 
"number": "[number of variations available]" 
}, 
"brand": { 
"name": "[manufacturer brand sold under]" 
} 
} 
}
Automatically 
create HTML5 markup spec 
<* 
data-entity=“product” 
data-product-id=“value” 
data-product-context-collection-position=“ 
value” 
>
Special thanks…. 
Alex & Yali 
snowplowanalytics.com 
! 
Simo Ahava 
simoahava.com
Data Layer = like a box of 
ready-made Lego characters 
(but for analytics). 
In-depth blog post series: 
http://clearclu.es/LegoLayer 
@carmenmardiros

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Intro to Google Analytics Universal Analytics
Intro to Google Analytics Universal AnalyticsIntro to Google Analytics Universal Analytics
Intro to Google Analytics Universal Analytics
 
Google analytics
Google analyticsGoogle analytics
Google analytics
 
Dan-Ya Schwartz - All Things DATA 2017
Dan-Ya Schwartz - All Things DATA 2017Dan-Ya Schwartz - All Things DATA 2017
Dan-Ya Schwartz - All Things DATA 2017
 
Digital Analytics with the Google Tag Manager (GTM)
Digital Analytics with the Google Tag Manager (GTM)Digital Analytics with the Google Tag Manager (GTM)
Digital Analytics with the Google Tag Manager (GTM)
 
Yehoshua Coren - Analytics Ninja (All Things Data 2015)
Yehoshua Coren - Analytics Ninja (All Things Data 2015)Yehoshua Coren - Analytics Ninja (All Things Data 2015)
Yehoshua Coren - Analytics Ninja (All Things Data 2015)
 
Google Analytics by Buckeye Interactive
Google Analytics by Buckeye InteractiveGoogle Analytics by Buckeye Interactive
Google Analytics by Buckeye Interactive
 
Google Analytics Class One
Google Analytics Class OneGoogle Analytics Class One
Google Analytics Class One
 
Google Analytics vs WebTrends
Google Analytics vs WebTrendsGoogle Analytics vs WebTrends
Google Analytics vs WebTrends
 
Chapter 9 - Analytics
Chapter 9 - AnalyticsChapter 9 - Analytics
Chapter 9 - Analytics
 
160 200530 Advance Google Analytics
160 200530 Advance Google Analytics160 200530 Advance Google Analytics
160 200530 Advance Google Analytics
 
The Google Analytics API and Analytics Canvas
The Google Analytics API and Analytics CanvasThe Google Analytics API and Analytics Canvas
The Google Analytics API and Analytics Canvas
 
Web Analytics Explained
Web Analytics ExplainedWeb Analytics Explained
Web Analytics Explained
 
20171023 5 Lifehacks: How to Analyze a Pack of Websites
20171023 5 Lifehacks: How to Analyze a Pack of Websites20171023 5 Lifehacks: How to Analyze a Pack of Websites
20171023 5 Lifehacks: How to Analyze a Pack of Websites
 
Introduction to Google Analytics
Introduction to Google AnalyticsIntroduction to Google Analytics
Introduction to Google Analytics
 
Google Analytics with an Intro to Google Tag Manager for Austin WordPress Meetup
Google Analytics with an Intro to Google Tag Manager for Austin WordPress MeetupGoogle Analytics with an Intro to Google Tag Manager for Austin WordPress Meetup
Google Analytics with an Intro to Google Tag Manager for Austin WordPress Meetup
 
Tools to Personalize eCommerce Site
Tools to Personalize eCommerce SiteTools to Personalize eCommerce Site
Tools to Personalize eCommerce Site
 
How to spend investment money
How to spend investment moneyHow to spend investment money
How to spend investment money
 
Webanalytics with Microsoft BI
Webanalytics with Microsoft BIWebanalytics with Microsoft BI
Webanalytics with Microsoft BI
 
Google Analytics 360 Suite Attribution
Google Analytics 360 Suite AttributionGoogle Analytics 360 Suite Attribution
Google Analytics 360 Suite Attribution
 
Measure Digital to Ignite Results, not Reports (LSC TIG)
Measure Digital to Ignite Results, not Reports (LSC TIG)Measure Digital to Ignite Results, not Reports (LSC TIG)
Measure Digital to Ignite Results, not Reports (LSC TIG)
 

Destacado

How to Sharpen Your Investigative Analysis with PowerPivot
How to Sharpen Your Investigative Analysis with PowerPivotHow to Sharpen Your Investigative Analysis with PowerPivot
How to Sharpen Your Investigative Analysis with PowerPivot
Carmen Mardiros
 
Visitor Intent: Smart clues for understanding customer journeys
Visitor Intent: Smart clues for understanding customer journeysVisitor Intent: Smart clues for understanding customer journeys
Visitor Intent: Smart clues for understanding customer journeys
Carmen Mardiros
 

Destacado (15)

Google Tag Manager For Nerds
Google Tag Manager For NerdsGoogle Tag Manager For Nerds
Google Tag Manager For Nerds
 
How to Analyse and Monitor the Health of Your Customer Base
How to Analyse and Monitor the Health of Your Customer BaseHow to Analyse and Monitor the Health of Your Customer Base
How to Analyse and Monitor the Health of Your Customer Base
 
How to Sharpen Your Investigative Analysis with PowerPivot
How to Sharpen Your Investigative Analysis with PowerPivotHow to Sharpen Your Investigative Analysis with PowerPivot
How to Sharpen Your Investigative Analysis with PowerPivot
 
Using Lifecycle Scores for Marketing Optimisation
Using Lifecycle Scores for Marketing OptimisationUsing Lifecycle Scores for Marketing Optimisation
Using Lifecycle Scores for Marketing Optimisation
 
Visitor Intent: Smart clues for understanding customer journeys
Visitor Intent: Smart clues for understanding customer journeysVisitor Intent: Smart clues for understanding customer journeys
Visitor Intent: Smart clues for understanding customer journeys
 
You Don't Have to Be a Data Scientist to Do Data Science
You Don't Have to Be a Data Scientist to Do Data ScienceYou Don't Have to Be a Data Scientist to Do Data Science
You Don't Have to Be a Data Scientist to Do Data Science
 
Contribution Modelling using Conversion Path Coverage
Contribution Modelling using Conversion Path CoverageContribution Modelling using Conversion Path Coverage
Contribution Modelling using Conversion Path Coverage
 
Bulharská konstanta
Bulharská konstantaBulharská konstanta
Bulharská konstanta
 
Common mistakes with media tagging (utm tags) and how to fix them!
Common mistakes with media tagging (utm tags) and how to fix them!Common mistakes with media tagging (utm tags) and how to fix them!
Common mistakes with media tagging (utm tags) and how to fix them!
 
Shop camp - Pojďte naproti výkonu PPC kampaní
Shop camp - Pojďte naproti výkonu PPC kampaníShop camp - Pojďte naproti výkonu PPC kampaní
Shop camp - Pojďte naproti výkonu PPC kampaní
 
Getting to the People Behind The Keywords
Getting to the People Behind The KeywordsGetting to the People Behind The Keywords
Getting to the People Behind The Keywords
 
Google Data Studio - First impressions @ Measurecamp
Google Data Studio - First impressions @ MeasurecampGoogle Data Studio - First impressions @ Measurecamp
Google Data Studio - First impressions @ Measurecamp
 
Daniel Gilbert - How to build your own automated bidding system in less than ...
Daniel Gilbert - How to build your own automated bidding system in less than ...Daniel Gilbert - How to build your own automated bidding system in less than ...
Daniel Gilbert - How to build your own automated bidding system in less than ...
 
Chi squared test for digital analytics
Chi squared test for digital analyticsChi squared test for digital analytics
Chi squared test for digital analytics
 
Phils Session cards @ Measurecamp
Phils Session cards @ MeasurecampPhils Session cards @ Measurecamp
Phils Session cards @ Measurecamp
 

Similar a The Lego Data Layer

Baawjsajq109
Baawjsajq109Baawjsajq109
Baawjsajq109
Thinkful
 
HTML5 and the dawn of rich mobile web applications pt 2
HTML5 and the dawn of rich mobile web applications pt 2HTML5 and the dawn of rich mobile web applications pt 2
HTML5 and the dawn of rich mobile web applications pt 2
James Pearce
 

Similar a The Lego Data Layer (20)

Weird sObjects.pptx
Weird sObjects.pptxWeird sObjects.pptx
Weird sObjects.pptx
 
Presentation for ArenaLviv 2017
Presentation for ArenaLviv 2017Presentation for ArenaLviv 2017
Presentation for ArenaLviv 2017
 
Managing Content Chaos
Managing Content ChaosManaging Content Chaos
Managing Content Chaos
 
in-person Innovation Games: Overview and Game Flows
in-person Innovation Games: Overview and Game Flowsin-person Innovation Games: Overview and Game Flows
in-person Innovation Games: Overview and Game Flows
 
Baawjsajq109
Baawjsajq109Baawjsajq109
Baawjsajq109
 
SharePoint Mobile Extensions - improving efficiency of mobile workforce
SharePoint Mobile Extensions - improving efficiency of mobile workforceSharePoint Mobile Extensions - improving efficiency of mobile workforce
SharePoint Mobile Extensions - improving efficiency of mobile workforce
 
Google+ sign in for mobile & web apps
Google+ sign in for mobile & web appsGoogle+ sign in for mobile & web apps
Google+ sign in for mobile & web apps
 
Understanding “Event” in Event Data
Understanding “Event” in Event DataUnderstanding “Event” in Event Data
Understanding “Event” in Event Data
 
HTML5 and the dawn of rich mobile web applications pt 2
HTML5 and the dawn of rich mobile web applications pt 2HTML5 and the dawn of rich mobile web applications pt 2
HTML5 and the dawn of rich mobile web applications pt 2
 
What are the Assumptions About Data Products by Hiya.com Lead PM
What are the Assumptions About Data Products by Hiya.com Lead PMWhat are the Assumptions About Data Products by Hiya.com Lead PM
What are the Assumptions About Data Products by Hiya.com Lead PM
 
VBA for technical writers
VBA for technical writersVBA for technical writers
VBA for technical writers
 
Fabrizio Ballarini — Scaling Organic Growth by Building Products (Turing Fest...
Fabrizio Ballarini — Scaling Organic Growth by Building Products (Turing Fest...Fabrizio Ballarini — Scaling Organic Growth by Building Products (Turing Fest...
Fabrizio Ballarini — Scaling Organic Growth by Building Products (Turing Fest...
 
Digital First - Managing Disruption in the Digital Economy
Digital First - Managing Disruption in the Digital EconomyDigital First - Managing Disruption in the Digital Economy
Digital First - Managing Disruption in the Digital Economy
 
Develpment of an electronics website Case Study
Develpment of an electronics website Case StudyDevelpment of an electronics website Case Study
Develpment of an electronics website Case Study
 
Telecom datascience master_public
Telecom datascience master_publicTelecom datascience master_public
Telecom datascience master_public
 
How to Detect a Click Outside a React Component.pptx
How to Detect a Click Outside a React Component.pptxHow to Detect a Click Outside a React Component.pptx
How to Detect a Click Outside a React Component.pptx
 
Personalization in e-commerce components & conceptuals by parkavi_vasan_divakar
Personalization in e-commerce components & conceptuals by parkavi_vasan_divakarPersonalization in e-commerce components & conceptuals by parkavi_vasan_divakar
Personalization in e-commerce components & conceptuals by parkavi_vasan_divakar
 
Web app-la-jan-2
Web app-la-jan-2Web app-la-jan-2
Web app-la-jan-2
 
O365Con18 - Flowverload, Introducion to Flow - Ahmad Najjar
O365Con18 - Flowverload, Introducion to Flow - Ahmad Najjar O365Con18 - Flowverload, Introducion to Flow - Ahmad Najjar
O365Con18 - Flowverload, Introducion to Flow - Ahmad Najjar
 
Scaling organic growth by building products - Turing Fest 2018
Scaling organic growth by building products - Turing Fest 2018Scaling organic growth by building products - Turing Fest 2018
Scaling organic growth by building products - Turing Fest 2018
 

Último

Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1
ranjankumarbehera14
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
nirzagarg
 
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
gajnagarg
 
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
Health
 
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
gajnagarg
 
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
nirzagarg
 
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
gajnagarg
 
Jual Cytotec Asli Obat Aborsi No. 1 Paling Manjur
Jual Cytotec Asli Obat Aborsi No. 1 Paling ManjurJual Cytotec Asli Obat Aborsi No. 1 Paling Manjur
Jual Cytotec Asli Obat Aborsi No. 1 Paling Manjur
ptikerjasaptiker
 
怎样办理旧金山城市学院毕业证(CCSF毕业证书)成绩单学校原版复制
怎样办理旧金山城市学院毕业证(CCSF毕业证书)成绩单学校原版复制怎样办理旧金山城市学院毕业证(CCSF毕业证书)成绩单学校原版复制
怎样办理旧金山城市学院毕业证(CCSF毕业证书)成绩单学校原版复制
vexqp
 
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
nirzagarg
 
怎样办理伦敦大学城市学院毕业证(CITY毕业证书)成绩单学校原版复制
怎样办理伦敦大学城市学院毕业证(CITY毕业证书)成绩单学校原版复制怎样办理伦敦大学城市学院毕业证(CITY毕业证书)成绩单学校原版复制
怎样办理伦敦大学城市学院毕业证(CITY毕业证书)成绩单学校原版复制
vexqp
 

Último (20)

Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1
 
Digital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham WareDigital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham Ware
 
The-boAt-Story-Navigating-the-Waves-of-Innovation.pptx
The-boAt-Story-Navigating-the-Waves-of-Innovation.pptxThe-boAt-Story-Navigating-the-Waves-of-Innovation.pptx
The-boAt-Story-Navigating-the-Waves-of-Innovation.pptx
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
 
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
 
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
 
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
 
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
 
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
 
7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.ppt7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.ppt
 
Jual Cytotec Asli Obat Aborsi No. 1 Paling Manjur
Jual Cytotec Asli Obat Aborsi No. 1 Paling ManjurJual Cytotec Asli Obat Aborsi No. 1 Paling Manjur
Jual Cytotec Asli Obat Aborsi No. 1 Paling Manjur
 
怎样办理旧金山城市学院毕业证(CCSF毕业证书)成绩单学校原版复制
怎样办理旧金山城市学院毕业证(CCSF毕业证书)成绩单学校原版复制怎样办理旧金山城市学院毕业证(CCSF毕业证书)成绩单学校原版复制
怎样办理旧金山城市学院毕业证(CCSF毕业证书)成绩单学校原版复制
 
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book nowVadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
 
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
 
Harnessing the Power of GenAI for BI and Reporting.pptx
Harnessing the Power of GenAI for BI and Reporting.pptxHarnessing the Power of GenAI for BI and Reporting.pptx
Harnessing the Power of GenAI for BI and Reporting.pptx
 
怎样办理伦敦大学城市学院毕业证(CITY毕业证书)成绩单学校原版复制
怎样办理伦敦大学城市学院毕业证(CITY毕业证书)成绩单学校原版复制怎样办理伦敦大学城市学院毕业证(CITY毕业证书)成绩单学校原版复制
怎样办理伦敦大学城市学院毕业证(CITY毕业证书)成绩单学校原版复制
 
Ranking and Scoring Exercises for Research
Ranking and Scoring Exercises for ResearchRanking and Scoring Exercises for Research
Ranking and Scoring Exercises for Research
 
Data Analyst Tasks to do the internship.pdf
Data Analyst Tasks to do the internship.pdfData Analyst Tasks to do the internship.pdf
Data Analyst Tasks to do the internship.pdf
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
 

The Lego Data Layer

  • 2. Digital Event Grammar: subject + verb + object + context Ecommerce:
  • 3. Files downloaded, buttons and links clicked, pages seen…. Stuff that users interacted with directly (the object) We track it, then classify it.
  • 4. Then came Enhanced Ecommerce ... enables the measurement of user interactions with products on ecommerce websites ...
  • 5. It doesn’t “fit” Sometimes product is object, other times it’s part of context.
  • 6. Entity = a thing that’s of particular interest to the business. The shopper The product The product category The transaction The shopping visit aka the checkout The promotion The campaign
  • 7. It’s not the clicked button that counts (the object). But the business entity that click is related to.
  • 8. Link interactions to the business entities they’re related to at data collection time. subject + verb + object + context + entity
  • 9. The Entity Dictionary: - Standalone attributes - Gained attributes
  • 10. Interaction -> system composed of business entities
  • 11. Simply “slot” entities into the structure of the new interaction.
  • 12. Especially when you have parent-child relationships.
  • 13. New attributes automatically “travel” with the entity. They trickle through to the entities and interactions they’re a part of.
  • 14. How does it work in practice
  • 15. Interaction recipe for GTM… "added_product_to_basket": { "action": { "category": "shopping", "timestamp": "1410962241" }, "user": <user dict>, "object": { "type": "product", "dict": <product dict> }, "context": { "notification": <notification dict>, "checkout": <checkout dict> } }
  • 16. …human friendly for us added_product_to_basket: action: category: shopping timestamp: 1410962241 user: <user dict> object: type: product dict: <product dict> context: notification: <notification dict> checkout: <checkout dict>
  • 17. Get devs to create helpers who get the dictionaries ready.
  • 18. Call on the helpers immediately after the interaction occurs.
  • 19. Meet the entity dictionary workhorse
  • 20. Automatically highlight changes + product.cohort_added + product.date_added ! - product.brand.variation
  • 21. Automatically create human friendly spec product id // server-side / client-side markup variations number // server-side ! brand name // server-side !
  • 22. Automatically create precise JSON spec { "product": { "id": "[id of product]", "name": "[name of of product]", "variations": { "number": "[number of variations available]" }, "brand": { "name": "[manufacturer brand sold under]" } } }
  • 23. Automatically create HTML5 markup spec <* data-entity=“product” data-product-id=“value” data-product-context-collection-position=“ value” >
  • 24. Special thanks…. Alex & Yali snowplowanalytics.com ! Simo Ahava simoahava.com
  • 25. Data Layer = like a box of ready-made Lego characters (but for analytics). In-depth blog post series: http://clearclu.es/LegoLayer @carmenmardiros