SEO 101: How to Install Google Analytics on Your Website

February 5th, 2016 by Search Influence Alumni


So you want to take your business to the next level. You built this amazing website, but you have no idea if anyone is even looking at it. You’ve looked around online and found a pretty cool stat counter, but you need more information than that. That’s where Google Analytics comes in.

What Is Google Analytics?

Google Analytics is a robust tool used to track visitors to your site and how they arrived there—and it’s absolutely free. With Google Analytics, you can track how many visitors have viewed your website, what pages they viewed, how long they stayed on your website, and a lot more. You can even figure out where in your conversion process visitors are most likely to abandon the conversion. This kind of information is essential for truly optimizing your website to appeal to your visitors.

Hopefully, I’ve sold you on Google Analytics, but before we can glimpse any of those sweet, sweet metrics, we have to install it on your website.

Step 1: Sign up for an account.
Navigate to the Google Analytics homepage and select Google Analytics from the “Log In” dropdown. Then select “Sign Up” on the following page.

Step 2: Fill out information about your website.
Provide Google with basic information about your website, including its name and location. After filling out this information, accept the terms the conditions, and we’re almost there!

New Google Analytics Account, Login Screen Image

Step 3: Copy and paste the Google-provided JavaScript snippet onto your website.
Make sure you implement the JavaScript snippet so it appears once per page on every page of your website. This is important to make sure we track all users on your website accurately. If you are using a templated website, it is best to insert the snippet above the closing </head> tag.

JavaScript Snippet For Google Analytics Image

Step 4: Filter all your internal traffic.
You don’t want the pageviews to your website to be skewed by your own visits to your site. That’s why it is important to create a filter that removes any visits from your IP address. You can easily find out what your network’s IP address by clicking on this link. Copy your IP address and navigate to the Admin section of your Google Analytics account. In the rightmost column, select “Filters” and add a new filter titled “Filter Internal Traffic,” as in the image below. Click save, and you’re all set!

Filter internal traffic for Google Analytics image

Get tracking!