The Metric
Blog

How to Set Up Google Analytics

November 16, 2018 |

How to Set Up Google Analytics 2

You might have a beautiful, well-designed website for your business, but how do you know if people are visiting it? How can you tell which pages on your website are visited most often? On average, how long do visitors spend viewing your website?

Google Analytics is a powerful and free web analysis tool that lets you analyze visitor traffic and explore the needs of your digital audience. It’s easy to set up and use, and you can use it to see how well your website is performing.

The Benefits of Using Google Analytics

A web analysis tool like Google Analytics provides you with the statistical data you need to see the strengths and weaknesses of your website. It offers you several types of information, including the following:

  • How many visitors are accessing your website
  • What type of browser or device visitors are using to access your website
  • Which pages on your website are visited most often
  • What other sites have links to your website
  • How often unique visitors return to your website
  • The average time visitors spend viewing your website

You can manage the collected data through your Google Analytics dashboard. You can also customize the display by creating charts and graphs to showcase your data.

How to Set Up and Install Google Analytics

It’s easy to set up Google Analytics for your business or personal website. All you need to do is create an account, access your dashboard, and insert your tracking code into the pages of your website.

How to Create a Google Analytics Account

It’s free to create a Google Analytics account.

  1. Visit https://google.com/analytics.
  2. Click “Start for free,” sign into your Google account, and click “Sign up.”
    google-analytics-figure-1
  3. Select “Website” and enter the appropriate information as described by Google.
    google-analytics-figure-2
  4. Click “Get Tracking ID” and accept the terms of service.

Your screen will automatically open your new Google Analytics dashboard.

How to Access Your Google Analytics Dashboard

Access your Google Analytics dashboard anytime by navigating to https://analytics.google.com and signing in with the Google account you used to set up Google Analytics. Through your dashboard, you will be able to view statistical information about your website and access data about visitors and traffic.

How to Install a Google Analytics Tracking Code on Your Site

On your dashboard set up screen, you will see a text box with your new tracking code. This Global Site Tag (gtag.js) is how Google tracks data associated with each page of your website.

  1. Copy the entirety of the code within the Global Site Tag text box.
  2. Paste the code at the beginning of the <HEAD> tag of every webpage you want to track.
  3. Publish your website changes.

If you lose your tracking code or need to access it at a later time, go to your dashboard and navigate to Admin > Tracking Info > Tracking Code.

Many content management systems (e.g., WordPress) will give you options to quickly add tracking codes to all pages of your website.

Explore Google Analytics

After you set up your Google Analytics account, it immediately begins collecting data from your website. You can then access that data from your dashboard. It may seem daunting at first—there are a lot of options and tools—but Google inserts instructions and video guides into each section to help you get started.