=== Analytics Head ===
Tags: Google, Analytics, Script, Webmaster, Tools, Tracking, Code, Head, Header, Footer, Page, Section
Requires at least: 4.0
Tested up to: 5.0
Contributors: lukasznowicki
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZUE7KNWHW3CJ4
Stable tag: 1.6.7
This plugin adds tracking code for Google Analytics to your WordPress <head> section, so you can authorize your site in Google Webmaster Tools.
== Description ==
This plugin adds tracking code for Google Analytics to your WordPress site. Unlike other plugins, code is added to the <head> section, so you can authorize your site in Google Webmaster Tools.
There are many Google Analytics plugins for WordPress. I used a few of those myself and it worked well. The trouble began when I willed to use Google Webmaster's Tools.
It turned out that I can authenticate the ownership of the website using my Google Analytics account. Where's the catch? Google Webmaster's Tools expects that the code will be located at the <head> section and all the plugs have placed it at the very end of the page (apart from this case - very rightly).
Therefore, I created a plug-in called "Analytics Head", which places tracking code in the <head> section of the web page. Of course you can put it in the footer at any moment, if you like.
== Installation ==
1. Upload `analytics-home` directory to the `/wp-content/plugins/` directory
1. Activate the plugin through the 'Plugins' menu in WordPress
1. Provide your Google ID in the Settings - Analytics Head section
1. That's all folks, have fun :)
== Requirements ==
This plugin requires WordPress 4.0 (never forget to update your WP installation!) and PHP 5.3 installed on your server. It is pretty uncommon to offer previous versions of the PHP, however I must note that.
== Frequently Asked Questions ==
= How do I get Google Tracking code? =
Register at http://www.google.com/analytics/, add your site and then Google will provide you valid Google Analytics code (something like UA-xxxxxxxx-y)
= Why do I need this code in the head section? Google told me that the code should be put just before