Level up your Google Analytics with Google Tag Manager

Slides:



Advertisements
Similar presentations
PART IV - EMBED VIDEO, AUDIO, AND DOCUMENTS. Find a video on Youtube.com: Search for a video, then look for the Embed code. Copy this code into the HTML/JavaScript.
Advertisements

JQuery MessageBoard. Lets use jQuery and AJAX in combination with a database to update and retrieve information without refreshing the page. Here we will.
DREAMWEAVER Welcome to our website!
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Advanced Web Metrics with Google Analytics By: Carley Brown.
KompoZer. This is what KompoZer will look like with a blank document open. As you can see, there are a lot of icons for beginning users. But don't be.
How to make the most of your website: It’s one of your best marketing, branding, awareness tools.
Library Online Catalog Tutorial Pentagon Library Last Updated March 2008.
Devin Burritt, MLIS Jackson Memorial Library moriallibrary.org EASY WEB TECH FOR TECHNOPHOBES.
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
ETT 429 Spring 2007 Web Design I.
Standardizing Web Analytics February 2015 Rob Nunez.
Introductory CMS Training Welcome to the new Montana State University Content Management System!
1 Google Analytics tracking. There are two Google Analytics trackers implemented on skoda- auto.pl website. We use one of them to track as many websites.
Google Analytics: Beyond the Code. Create a GA profile Configure Site Search Settings Keep searcharg, author, title, SEARCH Exclude startLimit, SORT,
Proprietary and Confidential Digital Marketing for Local Businesses & Brands MEASURING SUCCESS OF ONLINE ADVERTISING INITIATIVES Bob Bradley – VP Sales.
With Cyndy Robertson ULM Library LLA 2014, Lafayette, LA Karen Niemla ULM Library LUC 2014, Baton Rouge, LA.
Using Dreamweaver. Slide 1 Dreamweaver has 2 screens that do different things The Document window where you create your WebPages The Site window where.
INFSCI  Last time we built a doggie web page in class following the instructions in the slide deck: Build Web Page with HTML – see week 3 The topics.
Server-side Scripting Powering the webs favourite services.
W EB A NALYTICS : W HERE VISITORS COME FROM, WHAT THEY DO, AND WHERE THEY GO ? W HAT CAN WE LEARN FROM IT ? Chuck DelCamp Product Manager, StudyAboad.com.
James Bear. * Information * Assignments? * Entertainment? * Create Rapport? * More?
In addition to Word, Excel, PowerPoint, and Access, Microsoft Office® 2013 includes additional applications, including Outlook, OneNote, and Office Web.
Advanced Level Course. Site Extras Site Extras consist of four categories: Stationeries Site Trash Designs Components.
Tag You’re It! –
Google Analytics for Small Business Presented by: Keidra Chaney.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
Data and Reporting Workstream September, GAD Process: Eyeblaster Training.
OPAC Training aid (Library solutions & Library world)
Google Apps (Education Edition) A step guide to a successful deployment January 10 th, 2008 California Technology Assistance Project
Web Analytics See what’s working… and what’s not.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
Google Analytics Workshop
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
Implementation of Google Map in Drupal Create in Miyula Zeng, XiaoHang Zou,
Working with ASP.NET Controls What is ASP.NET Using server controls in your pages Allowing users to create their own accounts Creating a login page Letting.
Lists Ordered Unordered. List Components  OR  Plus Star Wars Avatar Vacation.
Supercharge Your Website’s Analytics Dave Hodgins Data Coordinator & Web Developer Library Research Colorado State Library
In c orporati n g SEO Strategi es in Yo ur Library Tabatha Farney Director of Web Services & Technologies Kraemer Family Library University of Colorado.
Google Tag Manager and YaleSites: The Next Step for Google Analytics Yale University DrupalCamp 2016 Steve Wieda March 24, 2016 Yale University Library.
Maximizing Resort Image Better Your Winning Percentage Social Media, SEO and Booking Engines Give the House the Advantage Fermin Cruz Dial An Exchange.
Google Analytics THINH TRUONG (at)BIZZON thinh(at)bizzon.com.vn.
GOOGLE TAG MANAGER. INTRODUCTION Google Tag Manager (GTM) is a free solution, introduced in October Google Tag Manager (GTM) is a free solution,
111 State Management Beginning ASP.NET in C# and VB Chapter 4 Pages
Michael J. Bennett Digital Projects Librarian & IR Coordinator University of Connecticut Eastern CONTENTdm Users Group Conference Yale University New Haven,
Web Analytics Fundamentals Presented by Tejaswi, Chandrika, Sunil.
Charlie Kalech Director, J-Town Internet Services Ltd. February 26, 2015.
Google Analytics implementation On this tutorial I will show you how to set up an Google Analytics account and how to connect it to a Wordpress website.
Module X. SMS and Broadcasting
Section 10.1 Define scripting
Advanced HTML Tags:.
What is Google Analytics?
Examining Resource Use on an Amateur Paleontology Website
“Was This Page Helpful?” Drupal said to Google
Gadgets and Dashboards
Introduction to Google Tag Manager
Submitting Requests to IT
Cookies BIS1523 – Lecture 23.
Managing Your Literature Search Using Zotero
Chapter 27 WWW and HTTP.
Google Tag Manager The Web marketing Guy.
Big Data on the Web News Gathering.
HTML Links.
Web Programming and Design
Generate Data with Google Analytics SQL Saturday /04/2019.
Chapter 8 Web Analytics J.P. Allen version
Who is Using your webSite?
ASSETS, SNIPPETS & COMPONENTS
Presentation transcript:

Level up your Google Analytics with Google Tag Manager Tabatha Farney | University of Colorado Colorado Springs | tfarney@uccs.edu | @sharebrarian January 10, 2018

Poll Time!

Google Tag Manager Overview

Google Tag Manager (GTM) is a web service that manages scripts.

All scripts are managed in the GTM interface (tagmanager.google.com)

+ You need both… Holds and reports website use data. Open GTM and show where to grab the container snippet. First tag config as well. Open up preview and show it working. Holds and reports website use data. Collects website use data and sends it to Google Analytics.

x GA Tracking Code <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-1234567-1', 'auto'); ga('send', 'pageview'); </script>

Replace old GA code with GTM container <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer',' GTM-ZTQHBF8');</script> <!-- End Google Tag Manager --> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-ZTQHBF8" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> Head (<head>) section. Near the top of the body (<body>) section.

Why use GTM? Easier to enhance the GA data collection process Great test environment No need to edit your website code It can do more than just GA

Basic GTM Terms

Tag Script. Trigger Tells script when to fire. Variable Piece of data.

Creating Your First Tag

Universal Analytics Pageviews Tag Tag’s Purpose: Syncs your Google Analytics tracking ID to every webpage on your website. To do this, you need: 1 tag (Universal Analytics tag) 1 trigger (All Pages trigger) 1 variable (Google Analytics setting variable)

Testing Your Tags Previewing your tags Check Google Analytics’ Real-Time reports

Event Tracking in GTM

Events What is it? event = user action Some examples: Clicks on links Form submissions Video plays File downloads Pageviews longer than xx seconds Clicks on anything! Even if you are familiar with event tracking, its good to talk about how useful it is! It is extremely powerful because it can tell us what users DO on our websites.

Track Events Why do this? How to do this? Finally know what users are doing on your website More accurate bounce rate How to do this? Regular Google Analytics way Google Tag Manager way

Regular Google Analytics Method Add the event tracking script to each event you want to track. _gaq.push([‘_trackEvent’, ‘Event Category’, ‘Event Action’, ‘Event Label’]); Event tracking involves flagging each event w/ GA event script so GA can record the category, action, and label of the event being captured.

Event Info: Data about the event category action label The type of event. Great for organizing events! What the user did. Unique identifier for the event. The nice thing about events is GA doesn’t just count the action, it collects event related information! So when a user does a specific event (action), GA can collect the category, action, and label information for that specific event. This is invaluable data! It helps you organize the events, but also lets you identify specific actions. Show an event report. Let’s go make an event tag!

Outbound Link Example Example time!

<a href= “www. isiknowledge. com” onclick=“_gaq <a href= “www.isiknowledge.com” onclick=“_gaq.push([ ‘_trackEvent’, ‘outbound link’, ‘click’, ‘social sciences citation index’]);”>Social Sciences Citation Index</a> This is what the code looks like. Don’t do that!

Outbound Link Event Tag Tag’s Purpose: Tracks all outbound links on a website. To do this, you need: 1 tag (Universal Analytics tag) 1 trigger (custom Click trigger) 2 variables (Google Analytics setting variable and Click URL variable)

Have a GTM Plan

When you intentionally track website use data, you are more likely to actually use that data to drive decisions. “Entre nos,” by Andres Hoyos, flickr.com.

Develop an Analytics Strategy The steps: Identify the purpose of the website. Select the data points to measure the website’s purpose. Is there anyone else that could use the data from the website?

What is the purpose of the library catalog? Find something

What information can determine if users found something in the library catalog?

Step 4. Configure Google Analytics to track that data. Successful Search Failed Search Put a hold on something Requested from another library Clicked on electronic resource link Save or email search result Zero search results Item unavailable Multiple searches with no action Events!

GTM Event Tracking Process What action do you want to track? How can GTM identify that action? The web developer tools in your web browser are essential in this process.

Tracking Holds

Hold Event Tag Tag’s Purpose: Tracks when a user clicks the hold button in the library catalog. To do this, you need: 1 tag (Universal Analytics tag) 1 trigger (custom Click trigger) 2 variables (Google Analytics setting variable and Click URL variable)

Tracking Failed Searches

Failed Search Event Tag Tag’s Purpose: Tracks when a user clicks the hold button in the library catalog. To do this, you need: 2 tags (Custom HTML tag and Universal Analytics tag) 2 triggers (custom event trigger and ) 2 variables (DOM variable and Google Analytics setting variable)

No Search Results Variable This variable identifies the selector for GTM to look for.

GTM Data Layer Data Layer = a JavaScript array to store information and send that data to GTM. Good news everybody! You can store any data point you want in the data layer…. You just need to know HTML, DOM, and JavaScript.

Create a “Listening Tag” Select Custom HTML tag type. Add a script that pushes event info into the GTM data layer. Select All Pages trigger.

Create a No Results Trigger This Custom Event trigger will fire whenever the event called noResults is sent through the data layer.

Create the No Search Results Event Tag Select Universal Analytics tag type. Select Event as track type. Select No Results trigger.

Wait…you want to know what the user searched for? “Cat At Work Industry News Week Of 528 Animals,” foursaua.info, http://foursaua.info/cat-at-work/cat-at-work-industry-news-week-of-528-animals/

Google Analytics Custom Dimension A custom dimension is any custom data point you want to add to your Google Analytics data.

Configuring Custom Dimensions Why do this? Track any data point on your website you want to analyze with website use data How to do this? Create the custom dimension in Google Analytics Admin area Create the user defined variable to capture the custom dimension Add custom dimension information to your event tag

Create the Custom Dimension This creates a holding space for the data in Google Analytics. Remember that index number!

User-defined variable I used the URL user-defined variable that looks at the page url. In this example, this variable grabs and stores the query part of the url.

Add Custom Dimension info to tag Sync that user-defined variable to the custom dimension index number in the event tag.

All websites are different… …so track them differently.

Creating a GTM Test Environment

Transitioning to GTM Run both Google Analytics and GTM at the same time BUT also: Create a new test GA account and property (new UA-xxxxxx-xx) Create a new GTM container and add to your website Sync that new test GA property to the new GTM container

Additional Resources Farney, Tabatha. 2018. Using Digital Analytics for Smart Assessment. ALA Editions, Chicago. Farney, Tabatha. 2016. “Google Analytics and Google Tag Manager.” Library Technology Reports. https://journals.ala.org/index.php/ltr/issue/view/613 Google Analytics Academy, https://analyticsacademy.withgoogle.com/ Google Analytics Help Center, https://support.google.com/analytics/?hl=en#topic=3544906 Google Analytics Blog, http://analytics.blogspot.com/

Questions? Thoughts? GA Ideas?