How Do Google Analytics and Tag Manager Work

Google Analytics allows you to track website activity including how many people visited your site, what they looked at, which pages convert (if set up correctly), and which pages abandon.

Installing Google Analytics is a very simple process. You create a free account at https://google.com/analytics and create a website property, then Google analytics provides a script that is copied and pasted into your website pages. For people using website builders such as WordPress or WIX, You often can find a plug-in where you just enter in the tracking code and Google analytics inserts code onto your webpage that sends the following information to Google’s servers for analysis.

Audience Overview
This tracks summary information on how many users access your site.

Users: the number of unique devices that have visited your site
Sessions: the number of times a user visited your site during a 30 minute time span. For example, if A user goes to your website, Sits on a page for 30 minutes, That is tracked is one session. If at minute 31 they refresh the page or go to another page, that is tracked as a second session.
Bounce rate: a person who only views a single page on your website during the session timeframe pages/session: how many pages were visited during Session
Average Session Duration: How long the visitor viewed your website (note that last page visited isn’t included in the session metrics.)
Page views: the number of pages visited on your website
Unique pageviews: number of SessionsThat viewed a page. Ie. A person who visits the same page twice during a 30 minute session would be counted as to page Views and one unique page view
Active users: number of users who have accessed your site within the past five minutes.

Google Tag Manager allows you to add custom code to your website to track specific actions such as conversions, pipeline status and others. If set up correctly, you can track ROI on your campaigns. To implement Google tag manager correctly, you should work with a developer.

This article has some of the best steps we’ve found for implementing Google Tag Manager

Google Tag Manager allows you to get more detailed analysis of your data but requires a lot of work to set up and configure to get full use of the platform. Google Tag Manager has a couple options for setup:

Track Page Views: Tracks each page viewed or specific page views
Track Click Events: Tracks links clicked on your site to other URLs (i.e. links to social media sites or live chat clicks)
Track Scroll Depth: Track how far a user went on your website which is important for content that is frequently viewed on mobile devices or to identify if users are seeing critical content below the fold
Track Form Submissions: Track when a user submits a form
Track History: Typically used for single page applications [todo: define this] to track ‘virtual page views’ in an app (Also known as virtual pageviews)
Track Video Views: Tracks time user watched a video on your website
Track over Time (Timed Intervals): Track over intervals - this helps to get more accurate session information for the user
Track Custom Events: This enables you to track specific actions a customer took on your website and create custom tracking for reporting (i.e. viewed a specific page, added to cart, checked out successfully). This is the only way to track website activity to a particular user for analysis.

Both Google Analytics and Google Tag Manager provide powerful information to organizations looking to optimize their marketing and websites to attract customers. Both of these tools however have their limitations and challenges. See our article Pros and Cons to Using Google Analytics and Tag Manager for more info about what to consider when you implement these solutions for your company.