SlideShare a Scribd company logo
NB 
Advanced Form Tracking 
Google Tag Manager 
29 Oct 2014 | Conversion Conference, London | @SimoAhava
@SimoAhava 
google.me/+SimoAhava 
>> www.simoahava.com << 
Simo Ahava
NB 
What’s the point? 
3
Session includes 
/thankyou/ page 
NB 
Why track forms? 
Session does not include 
4 
Session start 
/thankyou/ page 
? 
Form engagement is rarely tracked together with web traffic 
29 Oct 2014 | Conversion Conference, London | @SimoAhava
Session includes 
/thankyou/ page 
NB 
Why track forms? 
Session does not include 
5 
Session start 
/thankyou/ page 
Track forms to reveal the conversion-killing monsters… 
29 Oct 2014 | Conversion Conference, London | @SimoAhava
Session includes 
/thankyou/ page 
NB 
Why track forms? 
Session does not include 
6 
Session start 
/thankyou/ page 
…and to find opportunities to optimize the entire online experience 
29 Oct 2014 | Conversion Conference, London | @SimoAhava
For many websites, a web form is central to 
identifying and optimizing engagement goals! 
NB 
Why track forms? 
7 29 Oct 2014 | Conversion Conference, London | @SimoAhava
Why track forms with Google Tag Manager? 
NB 
Because agility is incredibly important to web analytics 
8 29 Oct 2014 | Conversion Conference, London | @SimoAhava
Why track forms with Google Tag Manager? 
NB 
Because a complex development process is detrimental to 
analytics and to capturing the subtleties of engagement 
9 
X 
29 Oct 2014 | Conversion Conference, London | @SimoAhava
Why track forms with Google Tag Manager? 
Because Google Tag Manager leverages a number of JavaScript 
NB 
APIs that help you track engagement on your site 
10 29 Oct 2014 | Conversion Conference, London | @SimoAhava
NB 
What is the biggest challenge here? 
11 29 Oct 2014 | Conversion Conference, London | @SimoAhava
NB 
What is the biggest challenge here? 
12 
HTML 
HEAD 
BODY 
ARTICLE 
DIV 
DIV 
FORM 
Event delegation 
GTM’s form submit handler 
29 Oct 2014 | Conversion Conference, London | @SimoAhava
NB 
What is the biggest challenge here? 
13 
HTML 
HEAD 
BODY 
ARTICLE 
DIV 
DIV 
FORM 
Event delegation 
submit() 
GTM 
29 Oct 2014 | Conversion Conference, London | @SimoAhava
NB 
What is the biggest challenge here? 
14 
HTML 
HEAD 
BODY 
ARTICLE 
DIV 
DIV 
FORM 
Event delegation 
submit() 
GTM 
29 Oct 2014 | Conversion Conference, London | @SimoAhava
NB 
What is the biggest challenge here? 
15 
HTML 
HEAD 
BODY 
ARTICLE 
DIV 
DIV 
FORM 
Event delegation 
submit() 
GTM 
29 Oct 2014 | Conversion Conference, London | @SimoAhava
NB 
What is the biggest challenge here? 
16 
HTML 
HEAD 
BODY 
ARTICLE 
DIV 
DIV 
FORM 
Event delegation 
submit() 
GTM 
29 Oct 2014 | Conversion Conference, London | @SimoAhava
NB 
What is the biggest challenge here? 
17 
HTML 
HEAD 
BODY 
ARTICLE 
DIV 
DIV 
FORM 
Event delegation 
submit() 
GTM 
29 Oct 2014 | Conversion Conference, London | @SimoAhava
NB 
What is the biggest challenge here? 
18 
HTML 
HEAD 
BODY 
ARTICLE 
DIV 
DIV 
FORM 
Event delegation 
submit() 
GTM 
JS 
29 Oct 2014 | Conversion Conference, London | @SimoAhava
NB 
What is the biggest challenge here? 
19 
HTML 
HEAD 
BODY 
ARTICLE 
DIV 
DIV 
FORM 
Event delegation 
submit() 
GTM 
JS 
X 
X 
X 
29 Oct 2014 | Conversion Conference, London | @SimoAhava
NB 
Other challenges 
 Is engagement page- or session-scoped? 
 If the user returns to the form later in the session, is it an overall 
success, or one abandonment and one completion? 
 Just what events should you track? 
 submit 
 blur 
 focus 
 change 
 unload 
 Just what elements should you track? 
 What are relevant fields? 
 Should you track validation errors? 
 Should you track for funnels or unique goals? 
 Look out for PII! 
20 29 Oct 2014 | Conversion Conference, London | @SimoAhava
NB 
Tracking forms with Google Tag 
Manager 
21
NB 
Step 1: Initiate a Form Submit Listener 
22 29 Oct 2014 | Conversion Conference, London | @SimoAhava
NB 
Step 1: Initiate a Form Submit Listener 
23 29 Oct 2014 | Conversion Conference, London | @SimoAhava
NB 
Step 1: Initiate a Form Submit Listener 
24 29 Oct 2014 | Conversion Conference, London | @SimoAhava
NB 
Step 1: Initiate a Form Submit Listener 
25 29 Oct 2014 | Conversion Conference, London | @SimoAhava
Step 2: Create tag(s) to collect submit events 
NB 
26 29 Oct 2014 | Conversion Conference, London | @SimoAhava
Step 2: Create tag(s) to collect submit events 
NB 
27 29 Oct 2014 | Conversion Conference, London | @SimoAhava
Step 2: Create tag(s) to collect submit events 
NB 
28 29 Oct 2014 | Conversion Conference, London | @SimoAhava
Step 2: Create tag(s) to collect submit events 
NB 
29 29 Oct 2014 | Conversion Conference, London | @SimoAhava
Step 2: Create tag(s) to collect submit events 
NB 
30 29 Oct 2014 | Conversion Conference, London | @SimoAhava
NB 
Step 3: Use macros to parse form fields 
31 
{{field value}} 
Macro Type: Custom JavaScript 
Code: 
PII ALERT! 
29 Oct 2014 | Conversion Conference, London | @SimoAhava
NB 
Step 3: Use macros to parse form fields 
32 
{{selected option}} 
Macro Type: Custom JavaScript 
Code: 
29 Oct 2014 | Conversion Conference, London | @SimoAhava
NB 
Step 3: Use macros to parse form fields 
33 
{{checked button}} 
Macro Type: Custom JavaScript 
Code: 
29 Oct 2014 | Conversion Conference, London | @SimoAhava
NB 
Step 3: Use macros to parse form fields 
34 
{{string of checked buttons}} 
Macro Type: Custom JavaScript 
Code: 
29 Oct 2014 | Conversion Conference, London | @SimoAhava
NB 
Step 3: Use macros to parse form fields 
35 
{{array of checked buttons}} 
Macro Type: Custom JavaScript 
Code: 
29 Oct 2014 | Conversion Conference, London | @SimoAhava
NB 
Step 4: Create your own listeners 
36 
{{generic event handler}} 
Macro Type: Custom JavaScript 
Code: 
29 Oct 2014 | Conversion Conference, London | @SimoAhava
NB 
Step 4: Create your own listeners 
37 
Custom HTML Tag 
Code: 
29 Oct 2014 | Conversion Conference, London | @SimoAhava
NB 
Summary and further reading 
38
NB 
Why track forms? 
39 
To create a story 
29 Oct 2014 | Conversion Conference, London | @SimoAhava
NB 
Why track forms? 
40 
To create a story 
To complete a story 
29 Oct 2014 | Conversion Conference, London | @SimoAhava
NB 
Why track forms? 
41 
To create a story 
To complete a story 
To recognize a story 
29 Oct 2014 | Conversion Conference, London | @SimoAhava
NB 
Further reading 
42 
www.simoahava.com/analytics/form-tracking-google-tag-manager/ 
www.simoahava.com/analytics/custom-event-listeners-gtm/ 
www.simoahava.com/analytics/dont-gtm-listeners-work/ 
29 Oct 2014 | Conversion Conference, London | @SimoAhava
NB 
Further reading 
43 
www.simoahava.com/analytics/form-tracking-google-tag-manager/ 
www.simoahava.com/analytics/custom-event-listeners-gtm/ 
www.simoahava.com/analytics/dont-gtm-listeners-work/ 
THANK YOU! 
29 Oct 2014 | Conversion Conference, London | @SimoAhava

More Related Content

PDF
PDF
Mellé-en
PDF
Bring on the SEO Spring Cleaning Spirit
PPTX
Présentation PETROC
PDF
educational sheet cob
PPTX
eTail Nordic 2014 - Are you loyal to your consumers?
PDF
Low impact material technical data sheet clay panels
PDF
Programme study visit february 2015 green oak - devon
Mellé-en
Bring on the SEO Spring Cleaning Spirit
Présentation PETROC
educational sheet cob
eTail Nordic 2014 - Are you loyal to your consumers?
Low impact material technical data sheet clay panels
Programme study visit february 2015 green oak - devon

Viewers also liked (11)

PDF
educational program cob
PDF
Les eco logis-en
PPTX
Vær der for dine besøgende
PPTX
scratch guia 3
PDF
Norlands en
PDF
Smictom in fougères region-en
PDF
Photo Log Straw Bale testing - Romagne September 2014
PDF
Dar forma
PDF
A Strategic Approach to Performance-Based Digital Marketing
PDF
Robinard fr
PDF
Training portfolio lime and hemp renders and plasters - LOUDEAC June - July -...
educational program cob
Les eco logis-en
Vær der for dine besøgende
scratch guia 3
Norlands en
Smictom in fougères region-en
Photo Log Straw Bale testing - Romagne September 2014
Dar forma
A Strategic Approach to Performance-Based Digital Marketing
Robinard fr
Training portfolio lime and hemp renders and plasters - LOUDEAC June - July -...
Ad

Similar to Advanced Form Tracking - Conversion Conference (12)

PPTX
Google Analytics: MVPs and Game-Changing New Features
PDF
Some Advanced Tracking in Google Analytics in 5 mins - PhillyJS meet up
PDF
Boosting your website analytics with event tracking
PDF
All about engagement with Universal Analytics @ Google Developer Group NYC Ma...
PDF
Google Tag Manager for actionable metrics - Beyond basic Google Analytics
DOCX
How to use google forms to make landing pages and track data
PDF
Google Tag Manager for actionable metrics - Beyond basic Google Analytics
PPTX
Universal event tracking walkthrough deck
PDF
Innovation in event management space & creation of a tangible brand presence ...
PDF
DrupalGovCon - Taming Your Data 2023.pdf
PDF
The end of analytics as we know it gauc 2020 - iih nordic - steen rasmussen v2
PPTX
Tracking Contact Form 7 Enquiries with Google Analytics
Google Analytics: MVPs and Game-Changing New Features
Some Advanced Tracking in Google Analytics in 5 mins - PhillyJS meet up
Boosting your website analytics with event tracking
All about engagement with Universal Analytics @ Google Developer Group NYC Ma...
Google Tag Manager for actionable metrics - Beyond basic Google Analytics
How to use google forms to make landing pages and track data
Google Tag Manager for actionable metrics - Beyond basic Google Analytics
Universal event tracking walkthrough deck
Innovation in event management space & creation of a tangible brand presence ...
DrupalGovCon - Taming Your Data 2023.pdf
The end of analytics as we know it gauc 2020 - iih nordic - steen rasmussen v2
Tracking Contact Form 7 Enquiries with Google Analytics
Ad

Recently uploaded (20)

PDF
Microsoft-365-Administrator-s-Guide_.pdf
PPTX
BIOLOGY TISSUE PPT CLASS 9 PROJECT PUBLIC
PDF
Presentation1 [Autosaved].pdf diagnosiss
PPTX
lesson6-211001025531lesson plan ppt.pptx
PDF
PM Narendra Modi's speech from Red Fort on 79th Independence Day.pdf
PPTX
3RD-Q 2022_EMPLOYEE RELATION - Copy.pptx
PDF
Module 7 guard mounting of security pers
PPTX
Intro to ISO 9001 2015.pptx wareness raising
DOCX
Action plan to easily understanding okey
PDF
Unnecessary information is required for the
DOCX
"Project Management: Ultimate Guide to Tools, Techniques, and Strategies (2025)"
PDF
Yusen Logistics Group Sustainability Report 2024.pdf
DOCX
ENGLISH PROJECT FOR BINOD BIHARI MAHTO KOYLANCHAL UNIVERSITY
PPTX
Phylogeny and disease transmission of Dipteran Fly (ppt).pptx
PPTX
Phylogeny and disease transmission of Dipteran Fly (ppt).pptx
PDF
natwest.pdf company description and business model
PPTX
PHIL.-ASTRONOMY-AND-NAVIGATION of ..pptx
PDF
IKS PPT.....................................
PPTX
Introduction-to-Food-Packaging-and-packaging -materials.pptx
PPT
First Aid Training Presentation Slides.ppt
Microsoft-365-Administrator-s-Guide_.pdf
BIOLOGY TISSUE PPT CLASS 9 PROJECT PUBLIC
Presentation1 [Autosaved].pdf diagnosiss
lesson6-211001025531lesson plan ppt.pptx
PM Narendra Modi's speech from Red Fort on 79th Independence Day.pdf
3RD-Q 2022_EMPLOYEE RELATION - Copy.pptx
Module 7 guard mounting of security pers
Intro to ISO 9001 2015.pptx wareness raising
Action plan to easily understanding okey
Unnecessary information is required for the
"Project Management: Ultimate Guide to Tools, Techniques, and Strategies (2025)"
Yusen Logistics Group Sustainability Report 2024.pdf
ENGLISH PROJECT FOR BINOD BIHARI MAHTO KOYLANCHAL UNIVERSITY
Phylogeny and disease transmission of Dipteran Fly (ppt).pptx
Phylogeny and disease transmission of Dipteran Fly (ppt).pptx
natwest.pdf company description and business model
PHIL.-ASTRONOMY-AND-NAVIGATION of ..pptx
IKS PPT.....................................
Introduction-to-Food-Packaging-and-packaging -materials.pptx
First Aid Training Presentation Slides.ppt

Advanced Form Tracking - Conversion Conference

  • 1. NB Advanced Form Tracking Google Tag Manager 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 2. @SimoAhava google.me/+SimoAhava >> www.simoahava.com << Simo Ahava
  • 3. NB What’s the point? 3
  • 4. Session includes /thankyou/ page NB Why track forms? Session does not include 4 Session start /thankyou/ page ? Form engagement is rarely tracked together with web traffic 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 5. Session includes /thankyou/ page NB Why track forms? Session does not include 5 Session start /thankyou/ page Track forms to reveal the conversion-killing monsters… 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 6. Session includes /thankyou/ page NB Why track forms? Session does not include 6 Session start /thankyou/ page …and to find opportunities to optimize the entire online experience 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 7. For many websites, a web form is central to identifying and optimizing engagement goals! NB Why track forms? 7 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 8. Why track forms with Google Tag Manager? NB Because agility is incredibly important to web analytics 8 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 9. Why track forms with Google Tag Manager? NB Because a complex development process is detrimental to analytics and to capturing the subtleties of engagement 9 X 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 10. Why track forms with Google Tag Manager? Because Google Tag Manager leverages a number of JavaScript NB APIs that help you track engagement on your site 10 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 11. NB What is the biggest challenge here? 11 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 12. NB What is the biggest challenge here? 12 HTML HEAD BODY ARTICLE DIV DIV FORM Event delegation GTM’s form submit handler 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 13. NB What is the biggest challenge here? 13 HTML HEAD BODY ARTICLE DIV DIV FORM Event delegation submit() GTM 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 14. NB What is the biggest challenge here? 14 HTML HEAD BODY ARTICLE DIV DIV FORM Event delegation submit() GTM 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 15. NB What is the biggest challenge here? 15 HTML HEAD BODY ARTICLE DIV DIV FORM Event delegation submit() GTM 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 16. NB What is the biggest challenge here? 16 HTML HEAD BODY ARTICLE DIV DIV FORM Event delegation submit() GTM 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 17. NB What is the biggest challenge here? 17 HTML HEAD BODY ARTICLE DIV DIV FORM Event delegation submit() GTM 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 18. NB What is the biggest challenge here? 18 HTML HEAD BODY ARTICLE DIV DIV FORM Event delegation submit() GTM JS 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 19. NB What is the biggest challenge here? 19 HTML HEAD BODY ARTICLE DIV DIV FORM Event delegation submit() GTM JS X X X 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 20. NB Other challenges  Is engagement page- or session-scoped?  If the user returns to the form later in the session, is it an overall success, or one abandonment and one completion?  Just what events should you track?  submit  blur  focus  change  unload  Just what elements should you track?  What are relevant fields?  Should you track validation errors?  Should you track for funnels or unique goals?  Look out for PII! 20 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 21. NB Tracking forms with Google Tag Manager 21
  • 22. NB Step 1: Initiate a Form Submit Listener 22 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 23. NB Step 1: Initiate a Form Submit Listener 23 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 24. NB Step 1: Initiate a Form Submit Listener 24 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 25. NB Step 1: Initiate a Form Submit Listener 25 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 26. Step 2: Create tag(s) to collect submit events NB 26 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 27. Step 2: Create tag(s) to collect submit events NB 27 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 28. Step 2: Create tag(s) to collect submit events NB 28 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 29. Step 2: Create tag(s) to collect submit events NB 29 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 30. Step 2: Create tag(s) to collect submit events NB 30 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 31. NB Step 3: Use macros to parse form fields 31 {{field value}} Macro Type: Custom JavaScript Code: PII ALERT! 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 32. NB Step 3: Use macros to parse form fields 32 {{selected option}} Macro Type: Custom JavaScript Code: 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 33. NB Step 3: Use macros to parse form fields 33 {{checked button}} Macro Type: Custom JavaScript Code: 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 34. NB Step 3: Use macros to parse form fields 34 {{string of checked buttons}} Macro Type: Custom JavaScript Code: 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 35. NB Step 3: Use macros to parse form fields 35 {{array of checked buttons}} Macro Type: Custom JavaScript Code: 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 36. NB Step 4: Create your own listeners 36 {{generic event handler}} Macro Type: Custom JavaScript Code: 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 37. NB Step 4: Create your own listeners 37 Custom HTML Tag Code: 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 38. NB Summary and further reading 38
  • 39. NB Why track forms? 39 To create a story 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 40. NB Why track forms? 40 To create a story To complete a story 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 41. NB Why track forms? 41 To create a story To complete a story To recognize a story 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 42. NB Further reading 42 www.simoahava.com/analytics/form-tracking-google-tag-manager/ www.simoahava.com/analytics/custom-event-listeners-gtm/ www.simoahava.com/analytics/dont-gtm-listeners-work/ 29 Oct 2014 | Conversion Conference, London | @SimoAhava
  • 43. NB Further reading 43 www.simoahava.com/analytics/form-tracking-google-tag-manager/ www.simoahava.com/analytics/custom-event-listeners-gtm/ www.simoahava.com/analytics/dont-gtm-listeners-work/ THANK YOU! 29 Oct 2014 | Conversion Conference, London | @SimoAhava