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:
To access AWStats for your site:
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.
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:
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.