Number of Visits to Web Site

Avatar
  • Answered
What is the easiest way to retrieve and update the number of web site hits so that I can reference it from a web page ?
Avatar
Arn
Hello K.heffner, Thanks for the question! There are a couple of ways you can get data for website hits, but they're self-contained solutions, meaning, that getting to the data isn't something that you can easily get from those sources without using their specific interfaces. The first way to get data on your website is to login to your cPanel and then access Awstats in the LOGS section. This will give you a report on all the statistics. You can also setup the COUNTER in the CGI Center of the Cpanel and you will get a visible counter on the website - but I believe you want access to the data to be able to publish elsewhere. You might also want to consider using Google Analytics in order to obtain the data. It's a much more complete solution, and may be able to provide the data. However, you would need to familiarize yourself with their program and see if you can automate a data export. Lastly, there are MANY pre-program solutions that you can find by simply searching in your favorite search engine. Here's an example of one called: Site meter. If you 're trying to develop one yourself, then you may also be surprised by how many programming solutions are provided freely in using a similar search. You will need to conduct the search to find the one that matches up with your website needs. I hope this helps to provide the answer(s) you seek. If you do have any further questions, please let us know. Kindest Regards, Arnel C.