Configuring Google Analytics: Difference between revisions

From Littledamien Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[SEO]] [[Category:Web Development]]
[[Category:SEO]] [[Category:Web Development]]
== Overview ==
== Overview ==



Revision as of 23:29, 20 November 2015

Overview

Notes about configuring Google Analytics.

It seems like every time I research this topic, Google has implemented a totally different approach, so it's quite likely that some or all of this page will be outdated before too long.

Google Tag Manager

Google Tag Manager

Create a new Account for each client.

Create a new Container for each of the client's platforms.

The container id's for each container can be found on the Accounts page in the Container ID column.

The tag code that gets inserted into the pages of the site can be found through Accounts tab > select a container > Admin tab > Container column > Install Google Tag Manager

Creating a tag

The simplest tag is a Page View.

Google Tag Manager > Container tab > Right Column > Tags > New button.

  • Product: Google Analytics
  • Tag Type: Universal Analytics
  • Configure Tag:
    • Tracking ID: enter the Google Analytics Tracking ID for the site
    • Track Type: Page View
  • Fire On: All Pages

What this will do is link the tag manager to Google Analytics. The Tag Manager fires off page view events to Google Analytics as they happen. With this configuration, any legacy Google Analytics tracking code is unnecessary on the site.