WordPress.org

Plugin Directory

Analytics Head

This plugin adds tracking code for Google Analytics to your WordPress <head> section, so you can authorize your site in Google Webmaster Tools.

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 tag

It is for Google Webmaster Tools users. You can prove that your site is owned by you using Google code. However, in that case, Google will require that the code was placed in the "head" section of the site.

Do I need to know how to use html, php or similar techniques?

No.

What if I know php?

You may use following actions:

  • pp_google_analytics_head_before
  • pp_google_analytics_head_after

And one filter:

  • pp_google_analytics_head_output

Please note that those features are disabled by default. If you want to use them, you must turn it on using plugin options page.

Is it free?

Yes, it is under GPLv2 (and later) licence. However, you can donate me a few dollars if it makes you feel good. I certainly have nothing against it.

Requires: 4.0 or higher
Compatible up to: 4.4.4
Last Updated: 7 months ago
Active Installs: 2,000+

Ratings

5 out of 5 stars

Support

0 of 1 support threads in the last two months have been marked resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1 100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1 100,1,1 100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1
100,1,1
100,1,1
100,1,1 100,1,1
100,2,2
100,1,1