How to Setup and Install Google Analytics on Your Website

Services: Law Firm Website Design . SEO . Internet Marketing . Law Firm Marketing Guide . Content Marketing . PPC

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: http://www.google.com/analytics/.
  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.

Related Posts

Ready to Take Your Website to the Next Level? Great Ideas & Results Only a Phone Call Away

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Let's get started.

5 Responses to How to Setup and Install Google Analytics on Your Website

  1. oliviasmith
    11:25 am on June 6th, 2020

    I set up my account however it wouldn’t let me put my website in? how can I edit my profile to in my website URL

  2. damian kedzeh wung
    4:59 pm on June 13th, 2020

    Excellent Tutorial,

  3. How to Measure Your Results – Brand New You
    10:53 am on July 28th, 2020

    […] here for a guide on how to setup and install Google analytics on your website […]

  4. Syed Sarfaraz
    10:19 am on October 1st, 2020

    Hi David,
    Hope, you well
    I always read your article you are so fantastic nicely explained. Your post “How to Setup and Install Google Analytics on Your Website” I have tagged with my post https://digital-ranking.com/what-are-google-analytics-and-how-it-works/. It will be so great if you will share with your network.
    Thank you
    Syed Sarfaraz

  5. Bernardine Bruggen
    3:57 pm on March 20th, 2023

    Hi! Given Google Analytics is migrating to Google Analytics 4 and “on July 1, 2023, GA will stop processing data”, will PaperStreet be publishing help on that migration?

    I am working through that process and would find resources on that process extremely helpful.

    Thank you,

Leave a Reply

Your email address will not be published. Required fields are marked *