Plugin Reviews

NK Google Analytics

NK Google Analytics for WordPress adds necessary javascript to enable Google Analytics tracking on your website.

4 reviews
Average Rating
4.1 out of 5 stars
You are currently viewing the reviews that provided a rating of 4 stars. Click here to see all reviews.
Just installed, seems to be working great
By , for WP 4.3.1

After having an issue with Yoast SEO's tracking code not working (after hours of troubleshooting, reauthenticating, disabling W3TC's minification), I decided to try this small plugin. I installed it, turned it on, pasted my tracking code, and it is working!

After I made sure it was working by viewing my Real Time Visitors report in GA, I re-enabled minification in W3TC. The tracking code for this plugin still works and appears when I "view page source."

So far so good! Thanks!

good but missing support for "Enhanced Link"
By , for WP 3.9.2
Simple et eficasse
By , for WP 3.9.2

Merci pour ce plugin qui fait bien son boulot !

It works, but not as advertised
By , for WP 3.8.1

The plugin lists a feature "No tracking for admin users logged-in." - however, the Analytics tracking code is still displayed even when logged in as an admin (not inside the Admin Panel, but on the normal blog sites).

Looking into the code, I realized that the author tries to accomplish this switch using is_admin(). The WordPress Codex clearly states: " It should not be used as a means to verify whether the current user has permission to view the Dashboard or the administration panel (try current_user_can() instead)" (see http://codex.wordpress.org/Function_Reference/is_admin)

I solved this by manually adapting the check in the plugin code to

if (!current_user_can( 'edit_posts' )) {
add_action('wp_head', 'NKgoogleanalytics');

P.S.: I also have a feature request: It should be possible to select wether you want the code inserted into the head or the end of the page (for speed optimization).

You must log in to submit a review. You can also log in or register using the form near the top of this page.