displaying total no. of views on webpage

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
gautamz07
Forum Contributor
Posts: 331
Joined: Wed May 14, 2014 12:18 pm

displaying total no. of views on webpage

Post by gautamz07 »

if you go to this particular http://myshaadiwale.in/

webpage before the footer , you will see that , there is a icon and there is a count of total views and views today .

i would really be interested in creating somthing like that for my website , how would i go about creating somthing like that ??

can google analytics be used for this ??

would i require a server side language like PHP and also a database that holds the no. of views ??


Thanks
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: displaying total no. of views on webpage

Post by Celauran »

gautamz07 wrote:can google analytics be used for this ??
Yep
User avatar
gautamz07
Forum Contributor
Posts: 331
Joined: Wed May 14, 2014 12:18 pm

Re: displaying total no. of views on webpage

Post by gautamz07 »

One more supplementary question when i insert google analytics on my webpage , i have to log into my google web master web page to check how many clicks or how many views my webpage received . , rather i want to use google analytics to display on my webpage directly how many views i received . so that was my question . :D

Thanks .
Post Reply