TEST – How to install Google Analytics on your website -

TEST – How to install Google Analytics on your website


Installing Google Analytics on your website can seem like a daunting job for a newbie. Can you set up GA correctly without having to find an expensive web analyst? And then can you make sense of the data to improve sales? Uplifter’s Alexander Holman-Butt shows you how…

Over the years, I have helped hundreds, if not thousands of people set up their websites and apps with web analytics, and then try to make sense of the data. I’ll be honest, the task is often way simpler than they realise – at least to do the basics, which is all that 95% of everyone actually wants. So I will try to walk you through the basic steps as simply as I can.

1. Get a Google Account

Before you can create a Google Analytics account, you need a Google Account (or a Gmail account). It would be a good idea to create one that your company owns, rather than use your own personal account. That way, you can keep your personal life and business life separate!

If you already have a Google account, great. Just login and go to Step 2.

If you don’t, then…

  1. Create a Google Account here and enter your details.
  2. Choose a Gmail email address (or use your existing email address). This will be your username when you log in.
  3. Read the Terms & Conditions and choose what data you wish to share with Google.
  4. Tick I agree to Google’s Terms of Service and Privacy Policy
  5. Click Create Account.

2. Create a Google Analytics account

  1. Create a Google Analytics account here and click Start for free.
  2. Click the Sign up button on the far right.
  3. If you want to install Google Analytics on your website, select website
  4. If you want to install Google Analytics on your app (IOS or Android), click here for help.
  5. Fill out each field…
    • Account name: If you have multiple websites or apps, you can store all the analytics data in one account. Example: Sports Trainers Limited
    • Website name: This is the name of the website or app you are tracking, in case you have multiple websites. Example: Global website, UK website, Mobile app
    • Website URL: This lets Google know what domain should be tracked and helps visualise the data in a more efficient way without the domain (***Alex – I don’t understand this bit***) . Example: https://sportstrainers.com, https://sportstrainers.co.uk
    • Industry category: By selecting your industry category, you can benchmark your website against your competition.
    • Reporting time zone: You can get time of day reports in Google Analytics, which tell you when users are visiting your website. This time zone should match where most of your converting traffic is from.
  6. Select your country, then accept the terms of service.
  7. Scroll down, then accept the Measurement Controller-Controller Data Protection Terms.
  8. You will see a unique piece of JavaScript code in the middle of the screen. This is your GA Tag (also known as a UA Tacking Code). Copy it and save it for the next step.

3. Put the Google Analytics tag on your website

You now need to install the tag (the JavaScript tracking code) on every page of your website.

You have two options:

  1. With Google Tag Manager. Google Tag Manager (GTM) is a tool which helps you manage multiple tags. This is the most efficient option if you have a commercial website with lots of different tags to manage (not just GA tags, but tags for advertising like DoubleClick, or pixels, like the Facebook Tracking Pixel)
  2. Directly on your website. This is the simplest option for small website owners, who do not have multiple tags.

Option 1: Google Tag Manager

  1. Set up GTM on your website by following this guide.
  2. Install the GTM code on your website as described in the guide
  3. Deploy your GA tag through the GTM Console .

Option 2: Direct

If you built your website on one of these website platforms, follow their guide:

If you are comfortable with putting code on your website:

  1. Copy your unique UA tracking code (tag) from Step 2
  2. Place the tracking code in the header file, make sure the code is contained before the closing </head> tag.

If you have no experience adding code to your website and need extra help, email me at support@uplifter.ai.

It is the same code for every page of your website. Make sure you deploy it in such a way that no page (or post) is missed.

4. Test your tag

Use one of the tools below to check you have only one GA tag on every page of your website:

GA checker lets you check the tags on your website for free, for websites with under 10,000 pages.

ObservePoint is a great enterprise solution for checking tags, if you have more than 10,000 pages.

If there are no errors or missing tags, you are all set. GA will now start collecting visitor data and whenever log into Google Analytics, you will see what users are finding useful (or not) on your website. However, looking at data won’t improve sales, unless you can understand what the data is telling you. If you want to do that, you will need Step 5.

5. Use data to improve conversions

You have two options here:

Option 1 is look at the data yourself and try to figure out what it is telling you. Start by asking yourself commercial questions. How well is my site converting visitors? What advertising campaigns are not working? What parts of the site are broken, or make no sense to my visitors? How many visitors am I losing? How many visits does it take to convert people to customers?

Then start to figure out why things are not working or what you should do first to improve conversions. If a particular page looks like it is causing people to leave without buying, you need to figure who is affected, and why. If you can fix that, you will improve conversions. The problem will be that you probably won’t have the time, or skill, to trawl through the data and figure it out for yourself.

Option 2 is to use a tool like Uplifter to help sift through the data for nuggets of gold. Think of Uplifter as a robot web analyst. It will tell you where you have a problem, and what you should do to fix it. It plugs into your GA account and turns numbers into insights. The set-up is way simpler than what you have just done to put GA on your site.

  1. Create a free account here.
  2. Run an Audit to check your website’s data is accurate.
  3. Watch out for emails from Uplifter. They will contain insights and recommendations.

The set-up process takes no more than five minutes, and you will get your first insights within a few days. The longer your GA account has been running, the better the insights (to be fair it will take a month or two before there is enough data to work what is normal for your site).