A client asked me to display the number of hits/visitors in their website. I would like to know how can you do display this.
I would insert it in my footer as displayed:
If not possible with google analytics, do you know of a snippet which will work? I've checked websites which offer their services but they recollect information and I would like to learn to do it myself or with google analytics. My files are PHP so maybe there is something I can do with that?
To start, go to Insights » Reports » Overview. Here you can see a traffic overview report and the overall performance of your website. If you scroll down, you can see the Device Breakdown report that shows which device your visitors use to view your website.
Can Google Analytics tell you who is visiting your site? Google Analytics can provide some information on who is visiting your website via the Network Report. The Google Analytics Network Report stores Service Provider data to show which service provider visitors are using to access your site.
Google Analytics (GA) is the standard for measuring website traffic. GA provides an amazing amount of data and is the best way to count website visits for curiosity and to measure results of marketing efforts.
You can use google anlaytics api , which can be enabled in your google api console. For knowing the number of visitors in given time period, you can utilize Core Reporting API and for knowing the current number of visitors in real time , you can use Realtime Reporting API
You can do graphical representation by using http://www.seethestats.com/
also.
Different type of counts you can get like Visits, Unique Visitors, Visits by Page title, etc
ex. http://www.seethestats.com/site/monvidedressing.ch
This APIs (Management API Client Libraries & Sample Code) help you easily and quickly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With