Google Analytics is a free online program you can use to track how well your website is doing. Among the items you can see include: the number of visitors your website receives, where visitors are located, any keywords used to find your site, what browser visitors are using, how long visitors stay on your site, what page visitors use to find your site, and what page visitors are on when they choose to leave your site. All of this is valuable information in terms of search engine optimization, but before you can make use of it, you must first learn how to find your Google Analytics code and how to properly install it on your website.

Steps

  1. 1
    Log in to your Google Analytics account. If you do not have an account, visit: Google.com/analytics to get started. Click the "Create account" option, and follow the on-screen steps to continue.
  2. 2
    Select the account with the profile you are trying to locate the tracking code for. You can do this from the "Overview" screen you will see after logging in.
    Advertisement
  3. 3
    Click "Edit" in the "Actions" column for the profile you have selected.
  4. 4
    Click "Check Status" located in the "Main Website Profile Information" menu. This will tell you whether or not the Google Analytics tracking code is properly installed and gathering information about your website.
  5. 5
    Scroll down until you see the "Instructions for Adding Tracking" portion of the page. You will find a text box where your tracking code will be displayed.
  6. 6
    Copy this code, and paste it into the appropriate section of your website (HTML) code. There should be a zone for this in website/properties and one for each web page you have created. Do not confuse (HTML) code with SEO. If you are using JavaScript or JS code, the tracking code should be placed between <META NAME="ROBOTS" CONTENT="INDEX,FOLLOW"> and closing body tag that looks like this: < /body > (without the spaces). If you are using the asynchronous code, you should place it directly before the closing head tag that looks like this: < /head > (without the spaces). You can choose which type of code, as they will both produce the same result.
  7. Advertisement

Things You'll Need

  • Google Analytics account
  • Your website

About This Article

wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, volunteer authors worked to edit and improve it over time. This article has been viewed 54,486 times.
How helpful is this?
Co-authors: 7
Updated: March 4, 2021
Views: 54,486
Categories: Google Applications
Advertisement