Does the google analytics code register a visit if I preview my local html file?
{ Posted on Jul 07 2009 by admin }
Michael asked:
If I put the google analytics code in my website, and then continually preview the local html file (which has the google analytics code in it), will that register to google visits each time I preview my site before posting to the web?
Won’t it execute the piece of google code each time I preview my page?
Profesional Web Analytics
If I put the google analytics code in my website, and then continually preview the local html file (which has the google analytics code in it), will that register to google visits each time I preview my site before posting to the web?
Won’t it execute the piece of google code each time I preview my page?
Profesional Web Analytics



My name is Rich Benvin, and I'm here to help you distill and understand web analytics. I welcome your comments! 

Free Web Site Tracking
Due to the fact that the code is server side for Google Analytics, yes it will register your local visits. However, you can block your IP from the site stats by following the instructions outlined in this article:
~Ryan M., Server Engineer @