1 Personalizing Google Analytics Using Events and Custom Variables Josh Wilson State Library of North Carolina
2 Five Minute Version What are Events? What are Custom Variables? Definitions & Differences Understanding them in GA reports CONTENTdm example
3 Twenty Minute Version How does GA work under the hood? What are Events? What are Custom Variables? Definitions & Differences Understanding them in GA reports Examples CONTENTdm (on GitHub) Drupal NCSU?
4 Twenty Minute Version (2) How to implement events and custom variables Adding code or setting a configuration Classic vs. Universal Gotchas Script timing issues Diagnosing problems
5 Events and Custom Variables Out of the box, GA gives you all kinds of general data: Audience: visits, technology, location Acquisition: search, referral, direct Behavior: pageviews, landing/exit pages What if you need to know something more specific?
6 Variables help define the audience Events help define their behavior
7 Events and Custom Variables Record personalized data about your site s usage Events: STUFF THAT S HAPPENING on your site beyond basic pageviews e.g., download, facet click, video play Custom Variables: Additional data about WHO S DOING THE STUFF on your site Conceptually like a custom segment e.g., users not logged in, people with items in their shopping cart In Universal Analytics, these are replaced by Custom Dimensions
8 Which to use? Depends on what you want to know! If you want to know more about things that happen on the site, like...how many times X happens...how often users click feature Y...what the value of Z is on each page as users browse If you want to know more about the people using your site, like...which visitors are logged in...which visitors have site badges...which visitors have tried the site search...then you probably want to use EVENTS...you probably want to use CUSTOM DIMENSIONS (aka CUSTOM VARIABLES)
10 Events - example from SLNC At the State Library of North Carolina, we wanted to record certain metadata fields as part of Analytics
11 Events - example from SLNC Specifically, we wanted to be able to report how often each state agency s documents were being used
12 Events - example from SLNC Custom GA script developed: Locate field names Whenever an Agency is set, record it! Generate GA event with the value https://github.com/joshwilsonnc/ga_cdm
13 ...now we have this data and can report it to state agencies.
14 Demo time! More examples CMSs GA snippet Implementation Gotchas If there s time: GA under the hood, or your questions
15 Events - example from CONTENTdm OCLC offers a default Google Analytics tool. Works with Universal Analytics. Enable in Website Config Tool.
16 Events - example from CONTENTdm OCLC s default analytics provides detailed events relevant to how visitors use CONTENTdm Categories cover a lot! You can drill down for details
17 Events - example from CONTENTdm Drilling down into the Facets Category for relevant Actions
18 Events - example from CONTENTdm Drill down into the Actions for Labels: The facets that were Toggled or Clicked are recorded here
19 Drupal Google Analytics module makes it easy to add custom variables within the administration GUI. You can also add custom snippets (say, for Events) easily.
20 Drupal taxonomy to GA In NCpedia, we are tracking usage by original source.
21 Events Implementation Add this line to your tracking code: _trackevent(category, action, opt_label, opt_value, opt_noninteraction); Integer Boolean Strings Universal Analytics syntax: ga('send', 'event', 'category', 'action', 'opt_label', opt_value, opt_fields); ga method parameters Strings Integer Mixed
22 Events Track a Category and Action: _trackevent( Videos, Play ); Add a label: _trackevent( Videos, Play, Amazing Cat Video ); Additional fields available: _trackevent( Videos, Play, Amazing Cat Video, viewtime); _trackevent( Videos, Play, Amazing Cat Video, viewtime, true);
23 Events - organizing data Category 1 Action 1 Label Action 2 Category 2 Action Videos Play Amazing Cat Video Download Polls Submission......
24 Events - organizing data Category 1 Action 1 Label Action 2 Category 2 Action Thing Broad details Drilldown details Other broad details Another Thing Some details......
25 Events - Gotchas Changing a category/action/label? Surprise! It s now a new event Need to balance clarity with consistency Test to make sure it s actually recording Look at real-time Use an HTTP watching tool (e.g., HTTPFox) Or just wait a day
26 CONTENTdm Gotchas Some things to watch out for when tinkering with GA in CONTENTdm... Occasionally horrifying DOM traversal IE 8 is extra...special CONTENTdm hosted URL alias Timing can be ugly!
27 Background: How does GA record data? 1. When a page loads, a script on the page requests a 1x1 GIF from GA servers v=1&_v=j15&a= &t=pageview&_s=1&dl=http%3a%2f% 2Flocalhost%2Fga%2F&ul=en-us&de=UTF-8&dt=GA% 20testing&sd=24-bit&sr=1920x1200&vp=1920x510&je=1&fl=11.9% 20r900&_utma= &_utmz= utmcsr%3d(direct)% 7Cutmccn%3D(direct)%7Cutmcmd%3D(none) &_utmht= &_u=maccae~&cid= &tid=UA-2-2&z= only the request is loaded with a bunch of data about the requesting page (and user, from cookie data ) (This is a trick that s been around since the late 90s. Eric Peterson s Web Site Measurement Hacks has some details.) 3. GA servers parse the request and generate reports for your amusement
34 What does GA record? Standard report data includes: Page title Page URL plus query parameters Referral information Browser and screen resolution User hash Non-personally identifiable (we can hope) To track navigation Lots more...
Personalizing Google Analytics Using Events and Custom Variables Josh Wilson State Library of North Carolina What you re about to sit through GA reports are ready to be customized! What are Custom Variables?
Session 4 Extending Google Analytics the role of programming technologies and 3rd-party tools Google Analytics information collection A default amount of data is collected for every page visited in a Google
Google Analytics for Government Second Edition By Sarah Kaczmarek, May 2014 GOOGLE ANALYTICS FOR GOVERNMENT Second Edition Table of Contents PART 1: INTRODUCTION... 2 WELCOME TO THE SECOND EDITION OF GOOGLE
Analytics version 1 Introduction Web analytics is used to track, measure, collect, report and analyse web data in order to understand and optimise usage of web properties. These properties could include
10 Analytics & Optimization From Code to Product gidgreen.com/course Lecture 10 Introduction Data collection Website metrics Optimization Competitive intelligence Surveys Tools and books From Code to Product
MONITORING YOUR WEBSITE WITH GOOGLE ANALYTICS How to use Google Analytics to track activity on your website and help get the most out of your website 2 April 2012 Version 1.0 Contents Contents 2 Introduction
Future Proof Analytics Techniques for Web 2.0 Applications Near Real Time Support Techniques Constantine J. Aivalis* - Technological Education Institute Crete, Anthony C. Boucouvalas ** - University of
SkyGlue Technology Inc., all rights reserved SkyGlue User Manual SkyGlue Technology Inc. 1 Contents 2 What is SkyGlue?... 3 3 Why SkyGlue?... 3 4 Event Tracking Basics... 4 4.1 Google Event Tracking Overview...
Demystifying Digital Introduction to Google Analytics Mal Chia Digital Account Director @malchia @communikateetal Slides will be emailed after the session 2 Workshop Overview 1. Introduction 2. Getting
Version 2.0 - last updated: August 2010 The Analytics industry has evolved a great deal since the last version of this book. Tools got better & faster including amazing features like Segmentation or Intelligence
Google Analytics Jay Murphy Trionia Incorporated The Science of Marketing firstname.lastname@example.org 877 234 0591 Agenda Google Analytics A Whirl Wind Tour of Onsite SEO Google Analytics and SEO Google Analytics
Website essentials and analytics Ryan Jones Marketing Coordinator About me Reformed engineer Marketer 18 years web development experience Recently: WordPress Drupal Magento Today s webinar What is your
Analytics Mark Zhuravsky Charles Thompson January 14, 2014 Your Website as the Hub It s also the Starting Point Ability to create CTA landing pages Google Analytics code allows you to see activity, but
Analytics minibible for Software Vendors Version 3.0 - last updated: May 2012 The last 12 months have been among the busiest for Google Analytics and other analytics tools. Here are just a few of the latest
TOP 10 things Your Association Should Measure In Google Analytics 1 weblinkinternational.com TABLE OF CONTENTS Welcome.... 3 Metric 1 «Audience Location.... 4 Metric 2 «Audience Engagement....... 6 Metric
A PRESENTATION BY RITESH GUPTA WEB ANALYTICS next 2 Deep Dive 01 into Web Analytics Web Analytics < 3 Digital Analytics / Measurability Caution: The addictive adrenaline of analzying website data, interpreting
Introduction to Google Analytics Information Services 19 June 2015 Helen Varley Sargan I don t profess to be an expert much of what I do with Google Analytics has been learned on a need to know basis and
About Google Analytics v10 OmniUpdate, Inc. 1320 Flynn Road, Suite 100 Camarillo, CA 93012 OmniUpdate, Inc. 1320 Flynn Road, Suite 100 Camarillo, CA 93012 800.362.2605 805.484.9428 (fax) www.omniupdate.com
Best SEO Practices for Online Gambling Sites Table of Contents Introduction... 3 Stages of an SEO campaign: Keyword research... 4 On-site SEO. Technical issues... 6 Link building... 11 Analytics and tracking...
Google Analytics workbook Sub-title here Google Analytics workbook Overview Google Analytics is just one of many tools available for tracking activity on a website or mobile application. It provides users
1 Which of the following questions can be answered using the goal flow report? [A] Are there a lot of unexpected exits from a step in the middle of my conversion funnel? [B] Do visitors usually start my
The Practical Guide To Google Analytics For Businesses Why Analytics?... 6 1. Where to find the best data:... 7 Google Analytics Reports Standard Reports... 7 Traffic Sources... 7 The All Traffic Report...
Decision-making using web analytics Rachell Underhill, UNC Grad School Anita Crescenzi, UNC Health Sciences Library For today Analytics at The Graduate School and the Health Sciences Library What analytics
LovesData LovesData BenjaminMangold BenjaminMangold Real-Life Online and Offline Data Integration Online and Offline Data Merging offline and online data Measuring 3rd party payments QR codes for in-store
1 2 3 4 5 6 Measure What Matters don t Track What s Easy, track what s Important kissmetrics.com Measure What Matters A lot of technologies seem to be one step behind what we really want. And the analytics
The un-official Google Analytics How To PDF guide to: - Help you set up and configure Google Analytics - Use advanced features like event tracking, filters and segments - Build custom reports and dashboards
WEB ANALYTICS Presented by Massimo Paolini MPThree Consulting Inc. www.mpaolini.com 408-256-0673 WEB ANALYTICS IS ABOUT INCREASING REVENUE WHAT WE LL COVER Why should you use Asynchronous code What are
GOOGLE MOBILE ANALYTICS INTEGRATION JANUARY 2013 (App version 3.0.8 onwards) What is Google Mobile Analytics? Google Mobile Analytics is a service to show how users interact with their websites and mobile
Boosting Campaign Performance Through Web Analytics David Kamerer, PhD, APR Loyola University Chicago Whose web is it? Phase 1: IT Phase 2: designers Phase 3: content creators An embarrassing question:
Version 0.92 2014 CrownPeak Technology, Inc. All rights reserved. No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopy, recording,
Google Analytics Training sponsored by Clockwork is a digital firm creating technology solutions that really work. Your vision is our mission. Strategy Design Technology Content Search Engine Optimization
Impressive Analytics and Insight on a Shoestring Lisa Ikariyama & Tracy Anderson Cabbage Tree Creative www.cabbagetree.co.nz Getting Started Before you design a page on your website or get started with