Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

William Davis
5,497 PointsIs there a way to count visits to your site?
Hey, guys. I'm fairly new to the world of html, and I was wondering if there is a way to count the visits to your site. Thanks!
3 Answers

James Anwyl
Full Stack JavaScript Techdegree Graduate 49,960 PointsYep, one way of doing that (and a whole lot more) is with Google analytics. It's a very popular tool used by a lot of websites to track visitor behaviour.
Hope this helps :)

Aurelian Spodarec
7,369 PointsYou can also put it on your site how many visitors went on your side over all by coding it with PHP i believe or JS and put it somewhere on the webpage . Just a little decoration or if you just want it to look nice or something , as well you can put date and many other things :)
But what James Anwyl said tracks your visitors , how many times they clicked on ads click per ratio if you have any , how many visitors visited what page and how many second or minutes or even hours did people stay on one page , average i think . And a lot more :) it takes time to build all. So you can expect to know how to do a completely website and learn all , or most in around a year i believe.
Hope this helps too :)

Dennis Castillo
16,018 PointsThere is another way search on Google and you will find a lots of documentation on creating a visitors counts and there is also a plugins where you can just copy it "PHP Code or HTML and Javascript" from the sites and paste it to your webpage/html files. You can also choose if you want just only a unique IP address OR IP addresses that coming back for every each click on your domain/sites.
One of a good example of this is: http://www.hitwebcounter.com/
Good Luck and God Bless You...
William Davis
5,497 PointsWilliam Davis
5,497 PointsReally liking Google Analytics, but it says that the tracking is not installed, although I've uploaded it. Do I have to wait some time? Thanks!