Plugin info

Total downloads: 19,077
Active installs: 1,000
Total reviews: 9
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 4/19/2017 (3178 days ago)
Added to WordPress: 2/24/2015 (10 years old)
Minimum WordPress version: 3.8
Tested up to WordPress version: 4.7.31
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 3178 days ago • 9 reviews

22/100

Is Simple Google Analytics Tracking abandoned?

Possibly abandoned (last update 3178 days ago).

Compatibility

Requires WordPress: 3.8
Tested up to: 4.7.31
Requires PHP: f

Similar & Alternatives

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

Xstream Google Analytics for WordPress
Rating 5.0/5 (1 reviews)Active installs 10
GA Tracking Code
Rating 5.0/5 (1 reviews)Active installs 10
SEO SIMPLE PACK
Rating 4.6/5 (14 reviews)Active installs 100,000
Simple Page Sidebars
Rating 4.9/5 (54 reviews)Active installs 20,000
Simple Taxonomy Ordering
Rating 4.9/5 (28 reviews)Active installs 20,000

Description

Simple Google Analytics Tracking allows you to add Google Analytics to your WordPress site with only the Tracking ID. Once the Tracking ID is input the Google Analytics code is added automatically with your Tracking ID.

Simple Google Analytics Tracking does not track Editors and Administrators by default to prevent extra page views from showing up in your reports.
Editors and Administrators can be allowed through the sgat_output_ga_code filter.

Filters

sgat_output_ga_code: used to override the default user tracking setting.

Example Usage:

add_filter( 'sgat_output_ga_code', 'sgat_override_user_settings' );
function sgat_override_user_settings() {
  return true;
}


sgat_tracking_id: used to add the Tracking ID programmatically.

Example Usage:

add_filter( 'sgat_tracking_id', 'sgat_custom_ga_tracking_id' );
function sgat_custom_ga_tracking_id( $tracking_id ) {
  $tracking_id = 'UA-123456-7';
  return $tracking_id;
}


sgat_tracker_create_fields : Used to modify the information when creating the Google Analytics tracker.

Example Usage:

add_filter( 'sgat_tracker_create_fields', 'sgat_custom_tracker_create_fields' );
function sgat_custom_tracker_create_fields( $fields ) {
  $fields['siteSpeedSampleRate'] = 50;
  return $fields;
}


sgat_after_tracker : Used to add additional Google Analytics calls after the main tracker output.

Example Usage:

add_action( 'sgat_after_tracker', 'sgat_after_tracker_functionality’ );
function sgat_after_tracker_functionality() {
  echo "ga('send', 'event', 'MyCategory', 'MyAction', 'MyLabel', 50);";
}

Installation

No installation instructions available

Frequently Asked Questions

Installation Instructions

  1. Upload the simple-google-analytics-tracking directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. In the “Settings” menu, go to “Google Analytics”
  4. Enter your Tracking ID in the “Tracking ID” input box and click the “Save Tracking ID” button

Can I include Editors and Administrators?

Yes, Editors and Administrators can be included by using the sgat_output_ga_code filter.

Can the Tracking ID be added programatically?

Yes, the Tracking ID can be changed with the sgat_tracking_id filter.

Can the Tracking Fields be added programatically?

Yes, the Tracking Fields can be changed with the sgat_tracker_create_fields filter.

Can additional tracking calls be added after Google Analytics?

Yes, additional tracking calls be added after Google Analytics is added with the sgat_after_tracker action.

Review feed

Robert Neu
9/3/2016

Nice and simple, works great!

This is a great example of what a WordPress plugin should be. If you need to add the Google Analytics tracking code without a bunch of extras, this is the perfect tool for the job.
Vladimir Vassilev
2/24/2017

Simple AF

Couldn't be any simpler than this. It's true. You'll love it.
JiveDig
3/31/2017

Slim McSlimmington

This plugin was recommended when I was looking for something super slim to get me away from the monster. This is my new go-to.
derweed
5/21/2017

This is how it should be

Slim, fast, simple: Thats what I wanted. No beels and whistles.
Robin Cornett
11/16/2017

Simple, just how I wanted it.

I switched to Simple Google Analytics Tracking a few months ago because I wanted--well, I wanted simple tracking, without dashboards in my admin and a lot of settings. This does the job perfectly, and without tracking my own visits. Thank you!

Screenshots

  1. Simple Google Analytics Tracking Admin screen

    Simple Google Analytics Tracking Admin screen

Changelog

No changelog available