Chat with us, powered by LiveChat Adding Google Analytics to your site -

Adding Google Analytics to your site

Google Analytics is a powerful, web analytics application that records important statistics about your website such as traffic levels, bounce rates, average time on-site, page views and more.

Your LCN Web hosting package includes a tool that allows you to easily integrate Google Analytics on your site, without having to manually insert the tracking code on every page where it’s needed.

Let’s get started…

How to create a Google Analytics account and access the tracking ID.

To get started you’ll need to create a Google Analytics account for your domain and retrieve a tracking ID from the Google Analytics system. You can begin the process by logging in to Google Analytics here:

Please note: You will need a Google account and will be prompted to register if you do not have one already. After logging in, just select “sign-up” to start using Google Analytics.

You’ll now be prompted to set up your account and your property. Your property is the website you wish to record Analytics data for. Fill in the required fields of data such as your website name, website URL, industry category and reporting time zone.

Accessing the tracking ID

  1. Visit Admin by clicking on the cog in the bottom left.
  2. Under Property select the property you would like your tracking code for.
  3. Under Tracking Info click Tracking Code.
  4. On this page you’ll see your Tracking ID.
  5. Please note: Your tracking ID will start “UA” followed by a series of numbers; it’ll look something like this “UA-12345678-1”.

  6. Make a note of this tracking ID because we’ll need this later.

How to add Google Analytics tracking ID to your site

Once you have the tracking ID for your site you can easily configure Google Analytics by following the instructions below:

  1. Log in to your LCN account.
  2. Click Hosting and select Manage Site next to the site you want to add your code to.
  3. Under the Google Analytics section, enter your Google tracking ID.
  4. Click ADD.
  5. Scroll back to the Google Analytics section and change the Status to ON.

How to exclude pages from Analytics tracking

You can exclude folders/pages within your site from being tracked by Google Analytics. If your site uses a content management system such as WordPress or Joomla – this can be useful to stop Google Analytics from tracking access to the dashboard/admin pages of the site.

  1. Log in to your LCN account.
  2. Click Hosting and select Manage Site next to the site you want to add your code to.
  3. Under the Google Analytics section, select Advanced Options.
  4. Please note: If you have already enabled the Google Analytics ID, you will need to click EDIT and then Advanced Options.

  5. In the field provided; enter the path to any folders or files within your site that you want to exclude.
  6. Click ADD.

How to access Google Analytics data for your site

After following the steps outlined above to create your Google Analytics account and link it with your web hosting, you can go directly to your Google Analytics account to view the data for your site.

There will be a delay of up to 24 hours before the Analytics Data for your site will be available.

To learn more, check out our beginner’s guide to Google Analytics.

That’s it! You’ve setup Google Analytics for your site.

Was this article helpful?

Check out some of our related guides

Need a hand? Search over a hundred step-by-step support guides