Wordpress plugins
Google Analytics Tracking Code Embeder

Google Analytics Tracking Code Embeder

Version : 1.5.1
Tested up to : 3.1.4
Number of download : 13110
Average rating : 5 / 5 on 1 votes 1 votes, 5 avg.rating

Screenshots

Google Analytics Tracking Code Embeder
Google Analytics Tracking Code Embeder
Google Analytics Tracking Code Embeder
Google Analytics Tracking Code Embeder

This is a small easy plugin that embeds your Google Analytics Tracking Code inside your theme files dynamically without you needing to hard-code it in your template files. This is pretty useful if you frequently change your WordPress Theme files, and now you don’t need to worry about leaving out your Google Analytics code accidently just because you switched to a new theme. Prerequisites The plugin requires that your theme files have one of the following action/template tags depending on where you want to place your GA tracking code. <?php wp_head(); ?> If you want to place the tracking code inside the head section before the closing </head> tag. <?php wp_footer(); ?> If you want to place the tracking code near page end/footer before the closing </body> tag While these actions/template tags are widely supported by most of the theme authors, chances are there that these actions are not available in your theme file. In such a case, the plugin won’t be able to embed the Google Analytics tracking code to your theme. However, you can easily edit your header.php file and add the <?php wp_head(); ?> tag just before the closing </head> tag or for footer place the <?php wp_footer(); ?> tag towards the end of the file, just before the closing tag.

Download now