This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP Analytics Tracking


This WordPress plugin allows you to easily insert your code on your pages for statistics usage of your site.
It has several advantages compared to plugins that just add a Google Analytics ID:

  • It allows to specify the complete Google Analytics tag, and therefore to have a tag adapted to your needs (multidomain, subdomains, etc.).

  • It also allows you to add other types of tags that may be useful to manage a site, whether for simple tracking of using another platform than Google Analytics, or for the insertion of tags at the request of a SEO or SEM partner.

In addition, the code is inserted into the footer of your pages, which is good practice for the web and avoids slow down your site if the tracking platform is overloaded.

Plugin developed by Neoptin. Need WordPress Services?

How to uninstall WP Analytics Tracking?

To uninstall WP Analytics Tracking, just De-activate the plugin from the plugin list.

Examples of analytics code

You just have to copy the code you get from your Google Analytics administration interface & paste it into the text box of the plugin

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-XXXXX-X']);
  _gaq.push(['_setDomainName', 'DOMAIN.TLD']);
  _gaq.push(['_setAllowLinker', true]);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);



  1. Upload the full directory into your wp-content/plugins directory
  2. Activate the plugin at the plugin administration page
  3. Go to the settings page under Settings / WP Analytics Tracking and fill the textarea with your tracking codes ! (Do not forget the … tags)
  4. Save your changes and that’s it !


Can I use this plugin for tracking codes other than Google one ?

Yes ! One of the advantages of this plugins is the flexibility. It means that you are free to leave any kind of tracking script.

Contributors & Developers

“WP Analytics Tracking” is open source software. The following people have contributed to this plugin.




  • Fix bug related to anonymous functions for PHP version < 5.3.0 (See:


  • Spanish version


  • Plugin deployment