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.
- Click on the following link to create your Google account.
- Fill out all of the information in the form and then click “Next Step.”
- 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.
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.
- While you are still logged in to your account, go to this website address: http://www.google.com/analytics/.
- Click on “Access Google Analytics” in the top right corner and you will be redirected to a new page.
- Click on “Sign up” on the far right hand side.
- 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.
- Fill out all of the information on this page.
- Account Name
- Website Name
- Website URL
- Industry Category
- Reporting Time Zone
- Finally, click on the blue “Get Tracking ID” button at the bottom
- A Google Analytics Terms of Service Agreement will appear and you will need to accept this agreement before you can proceed further.
- You will then be presented with a unique tracking code that will need to be applied to your website.
Step 3 – Installing the Tracking Code
- 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.
- If you do not have experience adding code to your website, you should contact the web design company that manages your website.
- Copy and paste the tracking code to either the header or footer file of your website.
- If you are adding the tracking code to the header file, make sure the code is contained before the closing </head> tag.
- 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.
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.