CMSFolks

How to install Google Analytics on Drupal Powered Site

How to install Google Analytics on Drupal Powered Site

If you have created a website be it WordPress, Joomla Drupal or using coding languages (e.g html 5, css 3, Javascript, PHP, etc), one the things you want to do is monitor how much traffic is coming to the website. Without any shadow of doubt, the very first things you should have in place if you are serious about your website – is Google Analytics. Not only if you want to monitor your traffic, Google Analytics has information which is so rich, you’d be really missing out if you did not avail yourself of all the tools there are available for monitoring the traffic coming to your website. Google Analytics is the bestwhen it comes to websites and blogsites auidience and traffic analytics tools. Many  users find it difficult to do, when it comes time to adding Google Analytics to their Drupal and start tracking activities their site. In this tutorial, we’ll show you one quick and easy way to install Google Analytics in Drupal. We’re going to use a very simple extension with a very long name, the “Asynchronous Google Analytics Plugin”.

What is Google Analytics?

Google Analytics is a free website tracking service that reports website traffic, conversions, user behavior, and more. It is the most popular website tracking service available.

Google Analytics can show you how much traffic your website receives, where that traffic is coming from, and how visitors interact with your site once they arrive.

You can also export Google Analytics data in various formats or build your own custom “Dashboard” that easily provides and updates the data you want to see.

Why is Google Analytics Important for Bloggers?

Who visits your website?

Everyone setting up a website has a goal in mind. Perhaps the goal is to blog about your passion, launch a small ecommerce business, or just to have a space where your friends can come together online. This part of analytics answers what is the geographical location of your audience, which browser did the user use to visit your site and many other important information such as: screen resolution, JavaScript support, Flash support, language and more.

One of the best features of Google Analytics is the price. Even if you are not remotely interested in see how visitors interact with your website, it is still easy to implement this tracking and start gathering data quietly in the background, all for free!

By using this information, you can decrease the bounce rate and increase your pageviews. You can track where the user is going on your website, how long do they stay on your website, and what is the bounce rate (the percent of users exit your site on the first visit).

When do people visit your website?

By looking at the hottest hours in the day for your site, you can pick the time when you publish your post. If that time zone is not compatible with yours, then you can schedule your post to meet that hour.

How Does Google Analytics Work?

  • Pageviews: The number of individual pages a visitor goes to on your site.
  • Sessions: The number of individual visitors your website receives.
  • Traffic Source: Where your site visitors came from (A Google search, a paid Google ad, another website, directly to your site, a social media network, etc.)
  • Bounce Rate: A measure of how many visitors came to one page on your site and then immediately left.
  • Session Duration and Pages per Session: Measurements of how long someone stayed on your site and how many pages they visited during their Session.
  • Goals (sometimes referred to as “Conversions”): These are a measure of how many people completed an action on your site, as stipulated by you. For example, if you have a contact form, you could measure how many people filled out and submitted that form, where they came from, etc.

Installing Google Analytics on your Site

First you need to create a Google Analytics account. To do this, visit Google Analytics Signup Page. If you already have a google account (either gmail or any other service they offer), you don’t need to register. Just sign in and that is it.)

Once you sign-in with your Gmail account, you will be prompted to a screen like the one below. This is where you will signup for Google analytics with your Gmail account.

On the next screen, you will be given choice to choose between a website or mobile app. Select the website option.

After that you need to enter account name (It will be the Google Analytics profile name for this website), Website name, website’s URL, country, and the time zone.

Once you have entered this information, click on the Get Tracking ID button. You will be presented with Google Analytics terms and service which you must agree to, so click on I Agree button.

Now you will be presented with your Google Analytics tracking code. You can copy this tracking code because you will need to enter it in your Drupal site depending on the method you use below.

Leave the analytics browser tab open as you may need to revisit it, once you have installed the code on your Drupal site.

How to Install Google Analytics in Drupal

  • Go to the Google Analytics module page, install the module and enable it. Make sure you select the Drupal version of the module for your Drupal website.
  • Go back to the Google Analytics’s tab and copy the Tracking ID from the Property Settingstab.
  • Now go back to your Drupal website and navigate to Configuration > Google Analytics. In the field for Web Property ID, paste the Tracking ID you got from the Google Analytics account. Set additional settings and save the configuration. The Google Analytics setup is now complete.

That is it, you have successfully installed google analytics on your Joomla powered site

Other Resources:

Summary
Effective Ways to Install Google Analytics to Drupal Powered Site
Article Name
Effective Ways to Install Google Analytics to Drupal Powered Site
Description
Google Analytics is the best when it comes to websites and blogsites audience and traffic analytics tools. Many users find it difficult to add Google Analytics to Joomla
Author
Publisher Name
CMSFolks

CMSFolks Editorial Crew

Editorial Staff at CMSFolks is a team of WordPress experts led by Ajayi Adekunle. Site maintained by CMSFolks Studio.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close Menu
×

Cart