How to Exclude your own visits in Google Analytics for WordPress
|Adding Google analytics to your site will help you to know how people found your site ,how they explored it and how you can improve your user experience.If you are new to blogging and your WordPress blog is also brand new, you will found most of the traffic you getting to your site may from your own visit.
There are different methods available for you to remove your own visit to your blog like IP blocking or even cookies etc.You can remove your own site visits in Google Analytics very easily if you are on WordPress.
Just use below code in to your footer.php file in your WordPress theme file.
[php]
<?php if (!$user_ID) { ?> Add your Analytics code here <?php } ?>
[/php]
Now add your Google analytics code in the “add your analytics code here” section and save it.Now visits to your own blog will be excluded in google analytics.
Hi Madav,
Great Tip Madav, how about thesis, I believe that is taken care by the theme developers.
Thanks for Sharing
-Imran
Hi Madav, that was a great tip! Nice, short and easy to read article. Thanks for sharing this. Alex Papa