How to use Google Analytics on your website

Google Analytics is a system created by Google that can track traffic and metrics on your website. By adding Google Analytics to your website, you can track and analyze the amount of visitors your website receives, the keywords users entered to find your website, the names of search engines or other websites that referred visitors to your website and more. Here’s how to get it working on your website.

Google Analytics is a system created by Google that can track traffic and metrics on your website. By adding Google Analytics to your website, you can track and analyze the amount of visitors your website receives, the keywords users entered to find your website, the names of search engines or other websites that referred visitors to your website and more. Here’s how to get it working on your website.

  1. Sign up at www.google.com/analytics/ or sign in to Google Analytics with your current Google username and password. Click on Access Analytics or click Create an account now if you do not have a Google account.
  1. If you are signing up for the first time, you will be required to type in your website address, an account name for your website, your country, and your time zone as well as your contact information.
  1. You will be asked to read and accept the user agreement for Google Analytics before you can finish creating an account for Google Analytics.
  1. Add the tracking code. The tracking code is a string of HTML code you will copy and paste on every page of your website you want to track statistics for. After logging in, you will be taken to the Overview page that shows your website accounts.
  1. Select the account you want and from the Actions column, click on Edit.
  1. In the top right section of the Main Website Profile Information box, click on Check Status. You can find your tracking code underneath Instructions for adding tracking.
  1. Once you have the Javascript tracking code snippet for your property, copy the snippet exactly without editing it. Paste your tracking code snippet into your website header, so that the snippet appears before the closing </head>.
  1. To make sure Google Analytics will begin tracking your website data, return to the Overview page that shows your website accounts. Select the account you want and from the Actions column, click on Edit. In the top right section of the Main Website Profile Information box, click on Check Status. In the Tracking Status Information box, you will be able to verify whether or not your tracking code was properly installed.
  1. Allow 24 hours for Google Analytics to begin tracking your website data.

If you are trying to integrate Google Analytics tracking into your mobile application, visit Google’s mobile app implementation guide for instructions on how to set up tracking in your iOS or Android app.

Related Articles

Get online with our affordable web hosting

Get online with our affordable web hosting

Learn more now
HostPapa Mustache