Plugin info

Total downloads: 270,361
Active installs: 6,000
Total reviews: 8
Average rating: 4.5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 3 language(s)
Contributors: 2
Last updated: 11/28/2017 (2954 days ago)
Added to WordPress: 4/17/2008 (17 years old)
Minimum WordPress version: 3.1
Tested up to WordPress version: 4.0.38
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 2954 days ago • 8 reviews

22/100

Is WP Google Analytics abandoned?

Possibly abandoned (last update 2954 days ago).

Compatibility

Requires WordPress: 3.1
Tested up to: 4.0.38
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

GA Google Analytics – Connect Google Analytics to WordPress
Rating 4.9/5 (158 reviews)Active installs 400,000
WP Global Site Tag
Rating 5.0/5 (3 reviews)Active installs 8,000
HT Easy GA4 – Google Analytics WordPress Plugin
Rating 4.5/5 (8 reviews)Active installs 5,000
Simple Universal Google Analytics
Rating 4.6/5 (9 reviews)Active installs 4,000
Simple Google Analytics Tracking
Rating 5.0/5 (9 reviews)Active installs 1,000

Description

WP Google Analytics makes it easy to track your site’s usage, with lots of
helpful additional data.

Features:

  • Uses Google’s asynchronous tracking method which is faster and more reliable.
  • Automatically tracks site speed
  • Option to log outgoing links as events
  • Option to log 404 errors as events
  • Use custom variables in Google Analytics to track additional data on pageviews including:
    • Author
    • Categories
    • Tags
    • Context (such as home, category, post, author, etc)
    • Date
    • Logged in
    • Anything – Use the built-in filter to add your own!
  • Allows you to ignore any user roles (administrators, editors, authors, etc)

Collaborate on the plugin: WP Google Analytics

Brought to you by Aaron D. Campbell

Installation

Use automatic installer.

Frequently Asked Questions

Installation Instructions

Use automatic installer.

Where do I put my Google Analytics Code?

WP Google Analytics has a config page under the settings tab in the admin area
of your site. You can paste your tracking code from Google into the textarea on
this page.

How do I track searches?

WP Google Analytics used to help you track site searches before Google Analytics
started doing this natively. While we still support tracking searches for
backwards compatibility, this feature has been deprecated and will eventually be
removed. To track searches in Google Analytics follow this
Google support article.
WordPress uses ‘s’ as the query parameter.

What tokens are support for custom variables?

All the built-in tokens are described on the settings page. You can also add
your own using the ‘wga_tokens’ filter.

Can’t I just paste the Google Analytics code into my template file?

Absolutely, however in order to get a better idea of what is going on with your
site, it is often nice to have your own activities ignored, track 404s, searches
and even where users go when they leave your site. WP Google Analytics lets you
easily do all these things.

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

1.4.1

  • Fix undefined index notice for users upgrading from pre-1.3.0
  • Fix plugin text domain

1.4.0

  • Support for tokens in custom variables

1.3.1

  • Fixed custom variables not being tracked

1.3.0

  • Refactored to use settings API – Props danielbachhuber
  • Convert to singleton and instatiate class
  • Convert tracking code field to ID, keeping backwards compat – Props danielbachhuber
  • Custom variable support – Props danielbachhuber
  • Track outgoing links and 404s as events
  • Made the whole plugin translatable
  • Deprecated tracking searches

1.2.5

  • Fixed some notices. Props westi
  • Update all links

1.2.4

  • Removed the optional anonymous statistics collection. Nothing is ever collected anymore.
  • Changed & to & in some more places to fix validation problems.

1.2.3

  • Changed & to & to fix validation problems.

1.2.2

  • Fixed problem with code affecting Admin Javascript such as the TinyMCE editor

1.2.1

  • Bug fix for the stats gathering

1.2.0

  • No longer parses outgoing links in the admin section.
  • Uses get_footer instead of wp_footer. Too many themes aren’t adding the wp_footer call.
  • Options page updated
  • Added optional anonymous statistics collection

1.1.0

  • Major revamp to work better with the new Google Tracking Code. It seems that outgoing links weren’t being tracked properly.

1.0.0

  • Added to wordpress.org repository

0.2

  • Fixed problem with themes that do not call wp_footer(). If you are reading this and you are a theme developer, USE THE HOOKS! That’s what they’re there for!
  • Updated how the admin section is handled

0.1

  • Original Version