I use a number of analytics tools to see how little hits I get a month and one of the things that annoyed me is that my own visits as I’m writing posts or looking up older posts also get counted. There’s a silly trick to avoid this and it’s so easy it’s stupid I didn’t think of it before.
To exclude yourself from those stats all you need to do is make sure that code doesn’t get included when you are browsing your own site. Here’s how it works.
- Put your web analytics script code in a sidebar text widget. Leave the title empty if you don’t want anything to show up.
- Click the “Visibility” button at the bottom of the widget panel.
- In the options, choose “Hide” if: “User” is “Logged in”.