BuycPanel Blog

BuycPanel Blog

Latest news and updates

1/06/2015 – Data Tools Available With cPanel

Posted by Jamison on 06 01 2015.

Keeping track of how many people are visiting your website is one of the important things you must know. It also pays to know what devices they are using, how often they visit and what files they are most interested in. With cPanel you can have two excellent traffic monitoring tools; Awstats and Google Analytics.




AWStats generates advanced web, streaming, FTP or mail server statistics, graphically. This tools works as a CGI or from command line and shows you a lot of information you need to know about your log contains, in graphical web pages.


Awstats keep you up with information about your visitors such as:


  • Visitors per month
  • Visitors per week
  • Visitors per day
  • Visitors per hour
  • Top 25 countries where they came from
  • Top 25 hosting servers used
  • Top 10 authenticated users
  • How long each visitor stayed
  • Types of files visitors downloaded
  • Top 10 Operating Systems visitors used
  • Top 10 browsers visitors used
  • What sites visitors connect from
  • Top 10 search key phrases visitors used
  • Top 25 search keywords visitors used


To access AWStats for your site:


  1. Log into cPanel.
  2. Go to the Logs section and click the AWStats icon.
  3. Click the view icon next to the domain name where you wish to view stats.


AWStats updates information every 24 hours and also whenever you click the Update Now link, but remember that it may not begin working until after the first 24 hours after you have activated it.


Google Analytics


Google Analytics is Google’s own site traffic monitoring system. It works by adding a few lines of JavaScript code to all of the pages on your website and then reporting each hit to the Google Analytics server where you can view trends in site traffic in easy-to-read graphs and charts.


How to configure Google Analytics for a domain


Note that your will need your Google Analytics Account ID; you can get this from your Google Analytics account. To configure Google Analytics for your domain:


  1. Log into cPanel.
  2. Go to the Logs section and click on the Google Analytics Integration icon.
  3. Under Domain to Configure, select the domain to where you would like to add the Google Analytics code.
  4. In the text box, enter your Google Analytics Account ID for the domain you are configuring.
  5. Click Set Up Google Analytics.


So whenever someone loads a page from the specified domain, the visit will be recorded in Google Analytics. However, to see information about your visitors you will have to log into your Google Analytics account first.


Common Google Analytics problems


Google Analytics Integration option missing from cPanel


You might have a limited webhosting or plan. Contact your webhosting service provider.


SiteBuilder cannot be published after enabling the Google Analytics Plugin


This is usually a problem with the substitution engine, if you are using the Google Analytics plugin in the webhost server’s control panel, you may not be able to publish your site in SiteBuilder.


To fix this, you will have to comment out the Google Analytics integration in the .htaccess file. You can also disable it in cPanel, publish the website and then enable it again.