Hide Yourself to your Analytics

This is a way not to count your own visits to your blog. First you should look on how I handle analytics. All analytics are handled in one javascript file, this make things really convenient.

Then you need to know my method use the jquery-cookie.

I check if the key admin is not set in the cookie before adding the visit.

then create two html files. One to hide:

the other to be visible again (it can be useful):

Now accessing these files with you browser you can hide or appear in your statistics. You just have to think to access these file from all you browser.

Comments

comments powered by Disqus