How to Setup and Install Google Analytics on Your Website

A white, rounded square logo with an abstract S-shaped design on a gradient blue and purple background.

Google Analytics is a must-have tool to gain insights into how users are interacting with your website. Check out the beginner’s guide to using Google Analytics for detailed information about gathering and reviewing your website stats. But before you learn how to use it, it needs to be installed.

Follow the steps below to install Google Analytics on your website.

Step 1 – Create a Google Account or Use an Existing One

If you have an existing Google or Gmail account already established, you do not need to create a new one and you can skip to the next step. If you do not have a Google or Gmail account, follow the instructions below.

  1. Click on the following link to create your Google account.
  2. Fill out all of the information in the form and then click “Next Step.”
  3. Google will then ask you if you would like to create a public Google+ profile. That is optional and you don’t have to set that up if you don’t want to. Click “Create your profile” if you would like to or click “No thanks” to skip it.Create Your Google+ Profile

Step 2 – Using your New Google Account to Setup Google Analytics

Now that you have a Google account established, we can move on to setting up Google Analytics.

  1. While you are still logged in to your account, go to this website address:
  2. Click on “Access Google Analytics” in the top right corner and you will be redirected to a new page.access-google-analytics2
  3. Click on “Sign up” on the far right hand side.Sign up for Google Analytics
  4. For the purposes of this tutorial, we are going to be setting up Google Analytics for a website and not a mobile app. Therefore make sure that “Website” is clicked at the top.New Google Analytics Account
  5. Fill out all of the information on this page.
    1. Account Name
    2. Website Name
    3. Website URL
    4. Industry Category
    5. Reporting Time Zone
  6. Finally, click on the blue “Get Tracking ID” button at the bottom
  7. A Google Analytics Terms of Service Agreement will appear and you will need to accept this agreement before you can proceed further.Google Terms of Service Agreeement
  8. You will then be presented with a unique tracking code that will need to be applied to your website.Google Analytics Tracking Code

Step 3 – Installing the Tracking Code

  1. In order for Google Analytics to be able to report back on a variety of website metrics, you will need to install the tracking code on every page of your website. To install the code, you basically need to have it appear on all pages of your website code.
  2. If you do not have experience adding code to your website, you should contact the web design company that manages your website.
  3. Copy and paste the tracking code to either the header or footer file of your website.
  4. If you are adding the tracking code to the header file, make sure the code is contained before the closing </head> tag.
  5. If you are adding the tracking code to the footer file, make sure the code is contained before the closing </html> tag.

Step 4 – Make Sure the Tracking Code is on All Pages

There is a very handy tool called GA Checker that will scan your entire website (up to 10,000 pages) to see if the Google Analytics tracking code exists on all pages. All you need to do is enter in your website name and then click the button that says “Check Your Site.” If you installed the tracking code successfully you will see a check mark next to Google Analytics on all pages.

GA Checker Tool

Step 5 – Learn How to Use Google Analytics

Now that you have installed the tracking code on all the pages on your website, it’s going to take 24 hours for Google to start collecting data from your website. Please keep in mind that Google Analytics will always be one day behind and you won’t be able to view data from the present day.

Be sure to review the Beginners Guide to Using Google Analytics for specific information about understanding the data in Google Analytics.

Share This
Blog Decorative Background

Join the Sales and Marketing News, receive our last insights, tips and best practices.

Our 7 Guarantees

Keeping 2,000+ Clients Happy Since 2001.

You Will Love Your Design We design to please you and your clients
Same-Day Support 24-hour turnaround edits during business hours
Free Education We provide knowledge to help you expand
No Hidden Charges We quote flat-rate projects
Own Your Site No strings attached
We Create Results SEO, PPC, content + design = clients
We Make Life Easier One agency for web, branding and marketing