InMotion Hosting Support Center

Number of Visits to Web Site

Category: Website Design

2013-07-11 5:03 pm EST

Hits: 861
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 ?

You must login before you can ask a follow up question.

You must login before you can submit an answer.



40,705 Points
2013-07-11 6:44 pm EST
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.

You must login before you can post a comment about this answer.

Like this Question?

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Social Media Login

Social Login Joomla

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!