UPDATE: cPanel depreciated and removed CGI Center from cPanel interface and this feature is no longer available.
A hit counter, or web counter, is a software program that counts the number of visitors (“hits”) a particular web page receives. Once set up, the program will count each time a web page is accessed.
Counters only tally visits to the pages they are located on. Note that they can be inaccurate, as each time you or your visitors view or refresh/reload a page, the count increases.
You can create a hit counter from your cPanel, using the following instructions:
Log in to your HostPapa dashboard: https://www.hostpapa.com/dashboard
Click on My cPanel. If you have more than one domain associated with your HostPapa account, click on the appropriate domain link, then enter your cPanel password if required.
From the Software/Services section, click on the CGI Center icon.
Click on Counter.
Complete the form to create a counter that meets your needs, then click the Preview button.
Note: You can preview repeatedly as you create the counter.
When finished, click the html button; this will generate the code required for the counter.
Save the code in a safe place, as you will need to add it to your web page.
A Better Alternative
A better way to keep tabs on your website traffic and the specific pages being visited, is to use the statistics and tracking tools included with your HostPapa account. These include AWStats, and the Raw Access Logs. These tools are available in your cPanel and they are enabled by default.
In order to access them, please access your cPanel and navigate to the Metrics section of your cPanel. From there you can click on Awstats or Raw Access.
Please note: For addon domains, the stats are available under the subdomain associated with the addon domain name (e.g., for addondomain.com the subdomain is usually: addondomain.primarydomain.com).