Installing Google Analytics & Tag Manager

Learn how to install Google Analytics & Tag Manager

Every single website needs to utilize Google Analytics and Google Tag Manager. Follow along in this video in how to register and install both tracking codes to your website. Every overwhelmed business owner should have both these services implemented on their site(s).

Google Analytics

Visit google.com/analytics to sign up for your free account with your primary Google account. The first step is to select a new account. You only need to have one account to manage all of your websites under different properties. By default you’ll want to select website, name the account, and please don’t name the website such as www.mywebsite.com as this is overused and makes it difficult for 3rd parties to manage your account. The actual business name should suffice.

What’s nifty with Universal Analytics is there’s a drop down many that prompts you to select either HTTP or HTTPS site. HTTP will be default setting and ecommerce websites should have HTTPS selected. Make sure to check with your webmaster if your site is configured to support a secure certificate. The final piece is to select the time zone for your account and either check or uncheck the dialog boxes. Click through and accept the TOS and that’s it. You have you Google Analytics account all setup. The final step is to place the tracking code from Google and install it onto your website.

Google recommends installing it just before the closing </head> tag on every webpage on your site. This is the optimal position and putting it towards the end might cause some documented problems with datasets being skewed.

Real-Time Preview
Google Analytics Real Time Report

Check Real-Time by quickly mousing over the search-bar in the top left-hand corner and enter real and the Real-time > Overview should popup. Now you have Google Analytics installed on your website. This is a great tool to troubleshoot if your analytics are working and it registers data by the second.

Google Tag Manager

Tag Manager is something that helps with Google Analytics and it will help you measure your web traffic in the future. What's most useful is it'll help you how to learn analytics by a useful set of features that can be implemented through this tool. Installing this will future-proof you site and will reduce the time you need to have someone work in the back end.

Similar to installing Google Analytics you have to visit google.com/tagmanager to sign up for your free account. The process is very simple:

  • Select Website and name it
  • Enter the same URL as in Google Analytics
  • Continue and accept the TOS

That's pretty much it. A prompt comes up and asks you to install a similar tracking snippet that's used for Google Analytics. The only difference is it has to be installed immediately after the opening <body> tag for it to work. If you cannot install this on every page you will have to contact a developer or see if there's a plugin available depending on your configuration.

That's it. You now have analytics and tag manager installed on your websites(s).