SlideShare a Scribd company logo
Easier and faster tagging with Kermit
Easier page
element tracking
with Kermit
Easier and faster
tagging with Kermit
Easier and faster
tagging with Kermit
Alban Gérôme
BrightonSEO April 7th, 2017
Easier and faster tagging with Kermit
Web analytics tools are
Web analytics tools are
Easy to implement
Limited freedom for
bespoke
implementations
Web analytics tools are
Easy to implement
Limited freedom for
bespoke
implementations
Hard to implement
Very customisable
implementations
Easier and faster tagging with Kermit
Web developers
• Do not consider that web analytics tagging is
part of their job because it was not taught as
part of the computer science curriculum
Web developers
• Do not consider that web analytics tagging is
part of their job because it was not taught as
part of the computer science curriculum
• Believe that tagging is either just copy and
paste or your code ends up broken up into
twenty files organised like Russian dolls
Web developers
• Do not consider that web analytics tagging is
part of their job because it was not taught as
part of the computer science curriculum
• Believe that tagging is either just copy and
paste or your code ends up broken up into
twenty files organised like Russian dolls
• Bless them
QA testers
QA testers
• If there were no Javascript errors the web
analytics implementation is assumed to be
correct
QA testers
• If there were no Javascript errors the web
analytics implementation is assumed to be
correct
• We need our own web analytics QA scripts
included in their tests suites
QA testers
• If there were no Javascript errors the web
analytics implementation is assumed to be
correct
• We need our own web analytics QA scripts
included in their tests suites
• Bless them too
Easier and faster tagging with Kermit
Web analysts
• They cannot spend their time monitoring
reports to ensure that the developers latest
changes did not break anything
Web analysts
• They cannot spend their time monitoring
reports to ensure that the developers latest
changes did not break anything
• If the data suggests anything contrary to the
business stakeholders opinion someone will
invoke doubts about the data analysis and/or
collection, belief persistence perhaps
Easier and faster tagging with Kermit
What we need
• Simple tagging for complex analytics tools
where defaults are enabled but can be
overridden
What we need
• Simple tagging for complex analytics tools
where defaults are enabled but can be
overridden
• Analytics code can be checked by looking at
the source code of the page
What we need
• Simple tagging for complex analytics tools
where defaults are enabled but can be
overridden
• Analytics code can be checked by looking at
the source code of the page
• Throw errors if the analytics code no longer
matches the expected web page structure
Easier and faster tagging with Kermit
Page views and interactions
• We only really care about page views and
interactions with page elements
Page views and interactions
• We only really care about page views and
interactions with page elements
• We need support for:
– Single page applications and virtual page views
– The click, change and blur Javascript events
Page views and virtual page views
• Virtual page views are screen updates which
did not result in a page load. The URL might
not even change
Page views and virtual page views
• Virtual page views are screen updates which
did not result in a page load. The URL might
not even change
• These screen updates can be detected
automatically and treated like ordinary page
views
Javascript events
The click, change and blur events can be
inferred from the element that was interacted
with automatically:
Javascript events
The click, change and blur events can be
inferred from the element that was interacted
with automatically:
– Buttons: click event
– Drop-down menus: change event
– Text fields: blur event
Tagging default settings
• So we can handle all types of page views
automatically
Tagging default settings
• So we can handle all types of page views
automatically
• We can handle the page element interactions
without caring which Javascript we need
Tagging default settings
• So we can handle all types of page views
automatically
• We can handle the page element interactions
without caring which Javascript we need
• We still need to mark these pages and page
element interactions and provide the values
we need in our reports
Easier and faster tagging with Kermit
HTML5 data- attributes
• With HTML5 you can provide custom
additional information
HTML5 data- attributes
• With HTML5 you can provide custom
additional information
• This information will be visible in the source
code or your browser developer tools
HTML5 data- attributes
• With HTML5 you can provide custom
additional information
• This information will be visible in the source
code or your browser developer tools
• We can leverage these to describe a page
view or an interaction with a page element
HTML5 data- attributes examples
<input value="B" type="button" data-analytics-
interaction-description="Button XYZ was
clicked" />
HTML5 data- attributes examples
<input value="B" type="button" data-analytics-
interaction-description="Button XYZ was
clicked" />
<div data-analytics-pageview-description="
homepage" />
Quick data- attributes reference
• data-analytics-pageview-description
• data-analytics-pageview-key
• data-analytics-pageview-attribute-*
Quick data- attributes reference
• data-analytics-pageview-description
• data-analytics-pageview-key
• data-analytics-pageview-attribute-*
• data-analytics-interaction-description
• data-analytics-interaction-key
• data-analytics-interaction-attribute-*
• data-analytics-interaction-event
Kermit footprint
• Kermit provides clear visibility on all
elements where the data-analytics HTML5
attributes were used on the page:
Kermit footprint
• Kermit provides clear visibility on all
elements where the data-analytics HTML5
attributes were used on the page:
– kermit.utils.getSummary returns an array of all
elements using Kermit
Kermit footprint
• Kermit provides clear visibility on all
elements where the data-analytics HTML5
attributes were used on the page:
– kermit.utils.getSummary returns an array of all
elements using Kermit
– kermit.utils.getAttributes returns the complete
description of a given element and of the page
view it is related to
Extensible and modular architecture
Extensible and modular architecture
• If the property you need to describe a page
view or an interaction is not available you
can use:
Extensible and modular architecture
• If the property you need to describe a page
view or an interaction is not available you
can use:
– data-analytics-interaction-attribute-*
– data-analytics-pageview-attribute-*
Extensible and modular architecture
• If the property you need to describe a page
view or an interaction is not available you
can use:
– data-analytics-interaction-attribute-*
– data-analytics-pageview-attribute-*
• Kermit also supports external modules to
provide additional capabilities. This way you
can use only what you need
Useful Kermit modules
• cookies – provides easy functions to
manipulate cookies
Useful Kermit modules
• cookies – provides easy functions to
manipulate cookies
• consent – requires the cookies module and
manages all things related to cookie consent
Useful Kermit modules
• cookies – provides easy functions to
manipulate cookies
• consent – requires the cookies module and
manages all things related to cookie consent
• md5 – generates unique identifiers and
checksums
Useful Kermit modules
• cookies – provides easy functions to
manipulate cookies
• consent – requires the cookies module and
manages all things related to cookie consent
• md5 – generates unique identifiers and
checksums
• beavis – uses the md5 module and provides
an automatic page name to your page views,
support for heatmaps and more…
Beavis module in one slide
• Page views require a description but beavis will
generate one for you that is unique, just declare
data-analytics-pageview-description without a
value. This will save you a ton of time early on
Beavis module in one slide
• Page views require a description but beavis will
generate one for you that is unique, just declare
data-analytics-pageview-description without a
value. This will save you a ton of time early on
• Interaction elements also get a unique id which
could help you implement a heatmap solution
Beavis module in one slide
• Page views require a description but beavis will
generate one for you that is unique, just declare
data-analytics-pageview-description without a
value. This will save you a ton of time early on
• Interaction elements also get a unique id which
could help you implement a heatmap solution
• A checksum you can use to detect any changes
to your implementation. If the developers made
a change the checksum will change too and no
longer match the expected checksum
Easier and faster tagging with Kermit
Things to watch out for
• Your developers may just end up tagging
pages by themselves without a tagging guide
Things to watch out for
• Your developers may just end up tagging
pages by themselves without a tagging guide
• The web analysts will know what’s worth
tracking and what’s not, what will cause your
server calls to explode and land you in
trouble with your vendor and your finance
department
Easier and faster tagging with Kermit
Kermit output
• On page view Kermit will generate a JSON
object where each property is one of your
data-analytics-pageview-* HTML5 attribute
values
Kermit output
• On page view Kermit will generate a JSON
object where each property is one of your
data-analytics-pageview-* HTML5 attribute
values
• On page element interactions Kermit will
generate another JSON object with the same
page view details as above plus a property
for each data-analytics-interaction-* HTML5
attribute values
Integration with web analytics tools
• The google module is currently in development.
For GA integration the JSON outputs from
Kermit should be in a format pretty close to
what Google Analytics Universal expects
Integration with web analytics tools
• The google module is currently in development.
For GA integration the JSON outputs from
Kermit should be in a format pretty close to
what Google Analytics Universal expects
• GTM integration might be ridiculously simple
since you can use autotracking and read the
data- attributes directly from within GTM
Integration with web analytics tools
• The google module is currently in development.
For GA integration the JSON outputs from
Kermit should be in a format pretty close to
what Google Analytics Universal expects
• GTM integration might be ridiculously simple
since you can use autotracking and read the
data- attributes directly from within GTM
• Adobe Analytics and DTM support is also in the
pipeline but not on the MIT licence/open-source
Easier and faster tagging with Kermit
Demo and documentation links
• Code and documentation for Kermit v0.8 on
GitHub at https://github.com/alban-
gerome/kermit
Demo and documentation links
• Code and documentation for Kermit v0.8 on
GitHub at https://github.com/alban-
gerome/kermit
• Demo pages
– http://www.albangerome.com/kermit/demo.
php (uses AngularJS 1.x)
– http://www.albangerome.com/kermit/demo
2.php (same as demo.php but uses CSS to
hide and show the tabs instead of AngularJS)
Thank you!
http://www.albangerome.com
@albangerome

More Related Content

PPTX
Combatting Crawl Bloat & Pruning Your Content Effectively
PDF
11 Advanced Uses of Screaming Frog Nov 2019 DMSS
PDF
Rendering SEO Manifesto - Why we need to go beyond JavaScript SEO
PPTX
Single Page Apps - Gerry White @ BrightonSEO
PDF
The State of the Web: Pagination and Infinite Scroll
PDF
MeasureFest July 2021 - Session Segmentation with Machine Learning
PDF
Cut the Crap: Next Level Content Audits with Crawlers - Sam Marsden, SEO & Co...
PDF
WordPress SEO Traps - Peter Mead
Combatting Crawl Bloat & Pruning Your Content Effectively
11 Advanced Uses of Screaming Frog Nov 2019 DMSS
Rendering SEO Manifesto - Why we need to go beyond JavaScript SEO
Single Page Apps - Gerry White @ BrightonSEO
The State of the Web: Pagination and Infinite Scroll
MeasureFest July 2021 - Session Segmentation with Machine Learning
Cut the Crap: Next Level Content Audits with Crawlers - Sam Marsden, SEO & Co...
WordPress SEO Traps - Peter Mead

What's hot (20)

PPTX
Schema.org and the changing world of Rich Results - SEOEdinburgh Meetup
PDF
Technical SEO Beyond the Audit - Brighton SEO April 2017 - Philip Gamble
PPTX
We’ve analysed the SEO of over 100 eCom sites - this is what we’ve learned!
PDF
WordPress SEO Mistakes that Kill - BigDigital 2017 - Peter Mead
PDF
Crawling & Indexing for JavaScript Heavy Sites brightonSEO 2021
PPTX
Why You Should Invest in Technical SEO by Ruth Burr Reedy
PDF
Conflicting Website Signals & Confused Search Engines | Raleigh SEO Conferenc...
PDF
HOW TO INCREASE YOUR TRAFFIC 5X WITH THIS ONE SEO METHOD
PDF
The Real Problems Behind Indexing | 5 Hours of Technical SEO
PDF
Conflicting Website Signals & Confused Search Engines - Rachel Costello, Tech...
PDF
SearchLeeds 2018 - Steve Chambers - Stickyeyes - How not to F**K up a Migration
PDF
An SEO's Guide to Website Migrations | Faye Watt | BrightonSEO's Advanced Tec...
PDF
Website SEO Audit WordPress Checks
PPTX
Paywall SEO: Digital First Print Second, From 0 to 35k subscribers in a year
PDF
BrightonSEO 2017 - SEO quick wins from a technical check
PDF
[TurnDigi 2020] Getting Tech SEO Implemented
PPTX
Experimentation: A Superior Framework+Offering for SEO by Cyrus Shepard
PPTX
Enterprise SEO
PDF
Speed & Performance Optimisation: How to Meet Users' High Expectations - Rach...
PDF
Technical SEO Auditing Tips for the Modern Marketer by Melody Petulla at Merkle
Schema.org and the changing world of Rich Results - SEOEdinburgh Meetup
Technical SEO Beyond the Audit - Brighton SEO April 2017 - Philip Gamble
We’ve analysed the SEO of over 100 eCom sites - this is what we’ve learned!
WordPress SEO Mistakes that Kill - BigDigital 2017 - Peter Mead
Crawling & Indexing for JavaScript Heavy Sites brightonSEO 2021
Why You Should Invest in Technical SEO by Ruth Burr Reedy
Conflicting Website Signals & Confused Search Engines | Raleigh SEO Conferenc...
HOW TO INCREASE YOUR TRAFFIC 5X WITH THIS ONE SEO METHOD
The Real Problems Behind Indexing | 5 Hours of Technical SEO
Conflicting Website Signals & Confused Search Engines - Rachel Costello, Tech...
SearchLeeds 2018 - Steve Chambers - Stickyeyes - How not to F**K up a Migration
An SEO's Guide to Website Migrations | Faye Watt | BrightonSEO's Advanced Tec...
Website SEO Audit WordPress Checks
Paywall SEO: Digital First Print Second, From 0 to 35k subscribers in a year
BrightonSEO 2017 - SEO quick wins from a technical check
[TurnDigi 2020] Getting Tech SEO Implemented
Experimentation: A Superior Framework+Offering for SEO by Cyrus Shepard
Enterprise SEO
Speed & Performance Optimisation: How to Meet Users' High Expectations - Rach...
Technical SEO Auditing Tips for the Modern Marketer by Melody Petulla at Merkle
Ad

Similar to Easier and faster tagging with Kermit (20)

PPTX
SEO for Ecommerce: A Comprehensive Guide
PDF
Technical SEO - An Introduction to Core Aspects of Technical SEO Best-Practise
PPTX
Build your own analytics power tools
PDF
Five SEO Strategies Every Company Needs to Master
PDF
Search Engine Optimization (Seo) for Developers
PPTX
SEO for Beginners Feb 2020 - Bristol Media
PPTX
Website Optimization How to Increase Page Performance and More
PPTX
Getting SEO performance in Angular Meteor with ngmeta
PDF
SEO & Large websites - Search University 2012
PPT
Website Optimization -SEO - Step By Step
PDF
Technical SEO Checklist for Beginners
PPTX
Search Engine Optimisation Basics
PDF
Complete Ga Power User Web
PDF
Javascript Tracking or Web Log Analytics?
PPTX
Don't F*ck Up Your Site Migration - Serena Pearson
PPTX
Magento SEO - ThinkVis Sept 2012
PPT
Google Data Highlighter
PDF
Nikki rae Google Analytics Audit at BrightonSEO
PPT
How To Construct A Search Engine Friendly Website
PDF
Web analyticspres -am-long
SEO for Ecommerce: A Comprehensive Guide
Technical SEO - An Introduction to Core Aspects of Technical SEO Best-Practise
Build your own analytics power tools
Five SEO Strategies Every Company Needs to Master
Search Engine Optimization (Seo) for Developers
SEO for Beginners Feb 2020 - Bristol Media
Website Optimization How to Increase Page Performance and More
Getting SEO performance in Angular Meteor with ngmeta
SEO & Large websites - Search University 2012
Website Optimization -SEO - Step By Step
Technical SEO Checklist for Beginners
Search Engine Optimisation Basics
Complete Ga Power User Web
Javascript Tracking or Web Log Analytics?
Don't F*ck Up Your Site Migration - Serena Pearson
Magento SEO - ThinkVis Sept 2012
Google Data Highlighter
Nikki rae Google Analytics Audit at BrightonSEO
How To Construct A Search Engine Friendly Website
Web analyticspres -am-long
Ad

More from Alban Gérôme (20)

PPTX
Avoir de l’impact, autrement
PPTX
Earning more as a Digital or Web Analyst
PPTX
Is it just me, or the C-suite doesn't care about data?
PPTX
Cracking trading cards packs and web analytics
PPTX
Spicy javascript: Create your first Chrome extension for web analytics QA
PPTX
The us vs the uk web analytics job slideshare
PPTX
Implementing Web Analytics on Single Page Applications
PPTX
Tagging differently
PPTX
Automating boring tasks with Powershell
PPTX
Influence and Persuasion
PPTX
Reshaping the Hype Cycle
PPTX
Claiming credit for being data-driven
PPTX
Acceptance, Accessible, Applicable et Auditable
PPTX
Acceptance, Accessible, Actionable and Auditable
PPTX
Logic or emotions
PPTX
Hub and spoke model
PPTX
Are you still working for a data justified company?
PPTX
Persuasion
PPTX
Is data visualisation bullshit?
PPTX
Acceptance, accessible, actionable and auditable
Avoir de l’impact, autrement
Earning more as a Digital or Web Analyst
Is it just me, or the C-suite doesn't care about data?
Cracking trading cards packs and web analytics
Spicy javascript: Create your first Chrome extension for web analytics QA
The us vs the uk web analytics job slideshare
Implementing Web Analytics on Single Page Applications
Tagging differently
Automating boring tasks with Powershell
Influence and Persuasion
Reshaping the Hype Cycle
Claiming credit for being data-driven
Acceptance, Accessible, Applicable et Auditable
Acceptance, Accessible, Actionable and Auditable
Logic or emotions
Hub and spoke model
Are you still working for a data justified company?
Persuasion
Is data visualisation bullshit?
Acceptance, accessible, actionable and auditable

Recently uploaded (20)

PPTX
Job_Card_System_Styled_lorem_ipsum_.pptx
PDF
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PDF
How to Ensure Data Integrity During Shopify Migration_ Best Practices for Sec...
PDF
Unit-1 introduction to cyber security discuss about how to secure a system
PPTX
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
PPTX
Digital Literacy And Online Safety on internet
PPTX
Introuction about ICD -10 and ICD-11 PPT.pptx
PDF
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
PPTX
presentation_pfe-universite-molay-seltan.pptx
PPTX
Module 1 - Cyber Law and Ethics 101.pptx
PPT
tcp ip networks nd ip layering assotred slides
PDF
WebRTC in SignalWire - troubleshooting media negotiation
PPTX
Introduction to Information and Communication Technology
PPTX
Slides PPTX World Game (s) Eco Economic Epochs.pptx
PPTX
Power Point - Lesson 3_2.pptx grad school presentation
PDF
Introduction to the IoT system, how the IoT system works
PPTX
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
PPTX
Internet___Basics___Styled_ presentation
PPT
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
PPTX
INTERNET------BASICS-------UPDATED PPT PRESENTATION
Job_Card_System_Styled_lorem_ipsum_.pptx
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
How to Ensure Data Integrity During Shopify Migration_ Best Practices for Sec...
Unit-1 introduction to cyber security discuss about how to secure a system
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
Digital Literacy And Online Safety on internet
Introuction about ICD -10 and ICD-11 PPT.pptx
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
presentation_pfe-universite-molay-seltan.pptx
Module 1 - Cyber Law and Ethics 101.pptx
tcp ip networks nd ip layering assotred slides
WebRTC in SignalWire - troubleshooting media negotiation
Introduction to Information and Communication Technology
Slides PPTX World Game (s) Eco Economic Epochs.pptx
Power Point - Lesson 3_2.pptx grad school presentation
Introduction to the IoT system, how the IoT system works
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
Internet___Basics___Styled_ presentation
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
INTERNET------BASICS-------UPDATED PPT PRESENTATION

Easier and faster tagging with Kermit

  • 4. Easier and faster tagging with Kermit Alban Gérôme BrightonSEO April 7th, 2017
  • 7. Web analytics tools are Easy to implement Limited freedom for bespoke implementations
  • 8. Web analytics tools are Easy to implement Limited freedom for bespoke implementations Hard to implement Very customisable implementations
  • 10. Web developers • Do not consider that web analytics tagging is part of their job because it was not taught as part of the computer science curriculum
  • 11. Web developers • Do not consider that web analytics tagging is part of their job because it was not taught as part of the computer science curriculum • Believe that tagging is either just copy and paste or your code ends up broken up into twenty files organised like Russian dolls
  • 12. Web developers • Do not consider that web analytics tagging is part of their job because it was not taught as part of the computer science curriculum • Believe that tagging is either just copy and paste or your code ends up broken up into twenty files organised like Russian dolls • Bless them
  • 14. QA testers • If there were no Javascript errors the web analytics implementation is assumed to be correct
  • 15. QA testers • If there were no Javascript errors the web analytics implementation is assumed to be correct • We need our own web analytics QA scripts included in their tests suites
  • 16. QA testers • If there were no Javascript errors the web analytics implementation is assumed to be correct • We need our own web analytics QA scripts included in their tests suites • Bless them too
  • 18. Web analysts • They cannot spend their time monitoring reports to ensure that the developers latest changes did not break anything
  • 19. Web analysts • They cannot spend their time monitoring reports to ensure that the developers latest changes did not break anything • If the data suggests anything contrary to the business stakeholders opinion someone will invoke doubts about the data analysis and/or collection, belief persistence perhaps
  • 21. What we need • Simple tagging for complex analytics tools where defaults are enabled but can be overridden
  • 22. What we need • Simple tagging for complex analytics tools where defaults are enabled but can be overridden • Analytics code can be checked by looking at the source code of the page
  • 23. What we need • Simple tagging for complex analytics tools where defaults are enabled but can be overridden • Analytics code can be checked by looking at the source code of the page • Throw errors if the analytics code no longer matches the expected web page structure
  • 25. Page views and interactions • We only really care about page views and interactions with page elements
  • 26. Page views and interactions • We only really care about page views and interactions with page elements • We need support for: – Single page applications and virtual page views – The click, change and blur Javascript events
  • 27. Page views and virtual page views • Virtual page views are screen updates which did not result in a page load. The URL might not even change
  • 28. Page views and virtual page views • Virtual page views are screen updates which did not result in a page load. The URL might not even change • These screen updates can be detected automatically and treated like ordinary page views
  • 29. Javascript events The click, change and blur events can be inferred from the element that was interacted with automatically:
  • 30. Javascript events The click, change and blur events can be inferred from the element that was interacted with automatically: – Buttons: click event – Drop-down menus: change event – Text fields: blur event
  • 31. Tagging default settings • So we can handle all types of page views automatically
  • 32. Tagging default settings • So we can handle all types of page views automatically • We can handle the page element interactions without caring which Javascript we need
  • 33. Tagging default settings • So we can handle all types of page views automatically • We can handle the page element interactions without caring which Javascript we need • We still need to mark these pages and page element interactions and provide the values we need in our reports
  • 35. HTML5 data- attributes • With HTML5 you can provide custom additional information
  • 36. HTML5 data- attributes • With HTML5 you can provide custom additional information • This information will be visible in the source code or your browser developer tools
  • 37. HTML5 data- attributes • With HTML5 you can provide custom additional information • This information will be visible in the source code or your browser developer tools • We can leverage these to describe a page view or an interaction with a page element
  • 38. HTML5 data- attributes examples <input value="B" type="button" data-analytics- interaction-description="Button XYZ was clicked" />
  • 39. HTML5 data- attributes examples <input value="B" type="button" data-analytics- interaction-description="Button XYZ was clicked" /> <div data-analytics-pageview-description=" homepage" />
  • 40. Quick data- attributes reference • data-analytics-pageview-description • data-analytics-pageview-key • data-analytics-pageview-attribute-*
  • 41. Quick data- attributes reference • data-analytics-pageview-description • data-analytics-pageview-key • data-analytics-pageview-attribute-* • data-analytics-interaction-description • data-analytics-interaction-key • data-analytics-interaction-attribute-* • data-analytics-interaction-event
  • 42. Kermit footprint • Kermit provides clear visibility on all elements where the data-analytics HTML5 attributes were used on the page:
  • 43. Kermit footprint • Kermit provides clear visibility on all elements where the data-analytics HTML5 attributes were used on the page: – kermit.utils.getSummary returns an array of all elements using Kermit
  • 44. Kermit footprint • Kermit provides clear visibility on all elements where the data-analytics HTML5 attributes were used on the page: – kermit.utils.getSummary returns an array of all elements using Kermit – kermit.utils.getAttributes returns the complete description of a given element and of the page view it is related to
  • 45. Extensible and modular architecture
  • 46. Extensible and modular architecture • If the property you need to describe a page view or an interaction is not available you can use:
  • 47. Extensible and modular architecture • If the property you need to describe a page view or an interaction is not available you can use: – data-analytics-interaction-attribute-* – data-analytics-pageview-attribute-*
  • 48. Extensible and modular architecture • If the property you need to describe a page view or an interaction is not available you can use: – data-analytics-interaction-attribute-* – data-analytics-pageview-attribute-* • Kermit also supports external modules to provide additional capabilities. This way you can use only what you need
  • 49. Useful Kermit modules • cookies – provides easy functions to manipulate cookies
  • 50. Useful Kermit modules • cookies – provides easy functions to manipulate cookies • consent – requires the cookies module and manages all things related to cookie consent
  • 51. Useful Kermit modules • cookies – provides easy functions to manipulate cookies • consent – requires the cookies module and manages all things related to cookie consent • md5 – generates unique identifiers and checksums
  • 52. Useful Kermit modules • cookies – provides easy functions to manipulate cookies • consent – requires the cookies module and manages all things related to cookie consent • md5 – generates unique identifiers and checksums • beavis – uses the md5 module and provides an automatic page name to your page views, support for heatmaps and more…
  • 53. Beavis module in one slide • Page views require a description but beavis will generate one for you that is unique, just declare data-analytics-pageview-description without a value. This will save you a ton of time early on
  • 54. Beavis module in one slide • Page views require a description but beavis will generate one for you that is unique, just declare data-analytics-pageview-description without a value. This will save you a ton of time early on • Interaction elements also get a unique id which could help you implement a heatmap solution
  • 55. Beavis module in one slide • Page views require a description but beavis will generate one for you that is unique, just declare data-analytics-pageview-description without a value. This will save you a ton of time early on • Interaction elements also get a unique id which could help you implement a heatmap solution • A checksum you can use to detect any changes to your implementation. If the developers made a change the checksum will change too and no longer match the expected checksum
  • 57. Things to watch out for • Your developers may just end up tagging pages by themselves without a tagging guide
  • 58. Things to watch out for • Your developers may just end up tagging pages by themselves without a tagging guide • The web analysts will know what’s worth tracking and what’s not, what will cause your server calls to explode and land you in trouble with your vendor and your finance department
  • 60. Kermit output • On page view Kermit will generate a JSON object where each property is one of your data-analytics-pageview-* HTML5 attribute values
  • 61. Kermit output • On page view Kermit will generate a JSON object where each property is one of your data-analytics-pageview-* HTML5 attribute values • On page element interactions Kermit will generate another JSON object with the same page view details as above plus a property for each data-analytics-interaction-* HTML5 attribute values
  • 62. Integration with web analytics tools • The google module is currently in development. For GA integration the JSON outputs from Kermit should be in a format pretty close to what Google Analytics Universal expects
  • 63. Integration with web analytics tools • The google module is currently in development. For GA integration the JSON outputs from Kermit should be in a format pretty close to what Google Analytics Universal expects • GTM integration might be ridiculously simple since you can use autotracking and read the data- attributes directly from within GTM
  • 64. Integration with web analytics tools • The google module is currently in development. For GA integration the JSON outputs from Kermit should be in a format pretty close to what Google Analytics Universal expects • GTM integration might be ridiculously simple since you can use autotracking and read the data- attributes directly from within GTM • Adobe Analytics and DTM support is also in the pipeline but not on the MIT licence/open-source
  • 66. Demo and documentation links • Code and documentation for Kermit v0.8 on GitHub at https://github.com/alban- gerome/kermit
  • 67. Demo and documentation links • Code and documentation for Kermit v0.8 on GitHub at https://github.com/alban- gerome/kermit • Demo pages – http://www.albangerome.com/kermit/demo. php (uses AngularJS 1.x) – http://www.albangerome.com/kermit/demo 2.php (same as demo.php but uses CSS to hide and show the tabs instead of AngularJS)