Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Blunt GA

This plugin is no longer supported. See the description.

Can I run this plugin together with another Google Analytics plugin?

No, you can't. Installing GA multiple times will break tracking.

Can I run this plugin and have GA code also manually added to the page?

No, you can't. Installing GA multiple times will break tracking.

Why don't I see the Google Analytics installation code when I look at the source code for my site?

The GA code you get from Google to paste into your pages is for the most basic settings. This code must be altereded a bit for things like cross site tracking and linking and some of the other things that this plugin does. You can read about these changes in the Google Developer documentation. The JavaScript code loaded by this plugin contains the normal GA code plus code that allows for automatic alteration to it depending on your settings. This code loads GA in the same way and at the same time as the basic code, you just can't see it in your page source. To see where the code for this plugin is loaded do a search of you page source for blunt.ga.install.

When I look at my document source why don't I see any event tracking attached to the links on the page?

Some of the other plugins available use filters to read through the content of your page and modify links to add tracking code on the server side which is why you can see the events in your source code. This can have the following negative impacts on your site:

  1. Increased page load time becuase the page is usually filtered multiple times during the request
  2. Increased code ratio
  3. More error prone due to Syntax errors, especially those involving single vs double quotes or some special characters within attributes that can break links and other code

This plugin uses JavaScript to add events to links. When the page is loaded (or ready) a JavaScript function is automatically fired that looks for all of the links on your page and adds events based on the URI for the specific link. This has the following benefits:

  1. Page load time is not decreased by multiple filters
  2. Code ratio is not increased by inline JavaScript.
  3. Syntax errors due to different quoting is impossible and syntax errors do to special characters in attribute values are less likely

The only drawback to this method is that there is a very tiny chance that someone will click a link before an event is added to it. However, they'd need to be really, really fast at clicking that link. That or your page load time is extremely long. If they can click that fast or your page load time is extremely long there's a good chance the click wouldn't be counted anyway. If your page load times are extemely slow enough to cause this then you've got bigger problems to worry about than whether or not some events are counted properly.

Requires: 2.6 or higher
Compatible up to: 3.7.16
Last Updated: 3 years ago
Active Installs: 20+


0 out of 5 stars


Got something to say? Need help?


Not enough data

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