[Drupal] How to view Google Analytics report from within a Drupal site?

| | 1 min read

If you want know how to configure Google Analytics for your Drupal site checkout How to check Google Analytics on a Drupal website?. We can also get the analytics info from within a Drupal site. Read on to know how to view the Google Analytics report from within a Drupal site.

A typical Google Analytics Report contains the following information about your site.

  • It contain graphs of visitor information for the past 30 days.
  • Site Usage statistics like Visits, Pageviews, Pages/Visit, Bounce Rate, Average time on site and the percentage of new visitors.
  • Top Pages:
    Top Pages allows you to get the info regarding the top pages and the no of visits to that page.
  • Top Referrals:
    Top Referrals provides you with the info regarding the top referral websites and the no of visit we get from that site.
  • Top searches:
    Top Keywords likewise provides the keywords that have brought the most amount of traffic to our site.

Requirements
It requires Google Analytics, Google Analytics Report module and Google chart API, OAuth module v3 or higher and on Drupal 6, OAuth depends on Autoload module v2 or higher.

Installation
After enabling the Google Analytics and Google analytics report module, visit

admin/settings/google-analytics-reports

to authenticate your site with Google. This module uses the OAuth module for authentication. If our domain is verified with Google then configure your Google profile and cache time from the following configuration page

/admin/config/system/google-analytics-reports