Every Blogger need stats, there are so many stats tools available on the net. My Favorite stats tools is WordPress Stats and Google Analytics, On this trick we will show tricks how to added Google Analytics into yours wordpress blog, with unique ways. We will added a few line of code on functions.php in your themes and done.
<?php
add_action('wp_footer', 'ga');
function ga() { ?>
// Paste your Google Analytics code here
<?php } ?>
Please note, your theme should have wp_footer() to make it work. If you want put your Google Analytics code on the header you can change wp_footer into wp_head. This code original writen by WP Recipes



I have seen a lot of coding on the net based on Google and WordPress, and I have heard of a lot of viruses hidden within that coding. I looked over your small bit of code and it’s obviously clean, but I wanted to let others know to always be on the lookout for suspicious code.
Pingback: How To Integrate Google Font Directory on WordPress Theme | Jhez3R