Title: Simple Google Analytics Tracking
Author: Dustyn Doyle
Published: <strong>2015-يىلى 24-فېۋرال</strong>
Last modified: 2017-يىلى 19-ئاپرېل

---

قىستۇرما ئىزدە

![](https://ps.w.org/simple-google-analytics-tracking/assets/banner-772x250.png?
rev=1098396)

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.

![](https://ps.w.org/simple-google-analytics-tracking/assets/icon-256x256.png?rev
=1098396)

# Simple Google Analytics Tracking

 يازغۇچى [Dustyn Doyle](https://profiles.wordpress.org/dustyn/)

[چۈشۈر](https://downloads.wordpress.org/plugin/simple-google-analytics-tracking.1.3.zip)

 * [تەپسىلاتلار](https://ug.wordpress.org/plugins/simple-google-analytics-tracking/#description)
 * [باھالاشلار](https://ug.wordpress.org/plugins/simple-google-analytics-tracking/#reviews)
 * [ئىجادىيەت](https://ug.wordpress.org/plugins/simple-google-analytics-tracking/#developers)

 [قوللاش](https://wordpress.org/support/plugin/simple-google-analytics-tracking/)

## چۈشەندۈرۈش

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);";
    }
    ```

## ئېكران كەسمىسى

 * [[
 * Simple Google Analytics Tracking Admin screen

## FAQ

  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.

## باھالاشلار

![](https://secure.gravatar.com/avatar/86c2127742af331f638c0cc52efa510bb24a48733e6f34d19f50a09acee9479c?
s=60&d=retro&r=g)

### 󠀁[Simple, just how I wanted it.](https://wordpress.org/support/topic/simple-just-how-i-wanted-it/)󠁿

 [Robin Cornett](https://profiles.wordpress.org/littlerchicken/) 2017-يىلى 16-نويابىر

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!

![](https://secure.gravatar.com/avatar/e265781b9a31d588bfd23bdc8bb3fd5925bfcba2c4eafd86cdb520e2dc23c206?
s=60&d=retro&r=g)

### 󠀁[Finally something simple](https://wordpress.org/support/topic/finally-something-simple/)󠁿

 [tommcgee](https://profiles.wordpress.org/tommcgee/) 2017-يىلى 11-ئىيۇل

As Google continues to change the Analytics product, everyone’s documentation and
interfaces become immediately obsolete. After the last hour of «open settings and
click on xxxxxxxx» but xxxxxxxx isn’t there anymore, grey screens and blank screens,
I found this one. If you don’t need the hassle of API authentications and secret
codes and whatever, but just want to paste in your tracking code already dammit,
this is for you.

![](https://secure.gravatar.com/avatar/7a1c80779cd584f2a31d9966d32b1b0230406f03e378e199656fd1f69321b2b1?
s=60&d=retro&r=g)

### 󠀁[Does everything it say it does, no more, no less, perfect.](https://wordpress.org/support/topic/does-everything-it-say-it-does-no-more-no-less-perfect/)󠁿

 [tbcorr](https://profiles.wordpress.org/tbcorr/) 2017-يىلى 12-ئىيۇن

Great plugin. Simple and does one thing well.

![](https://secure.gravatar.com/avatar/3cb8d3bfb1bd70996f49c634ded9a1aa79da0b99f9f5857a26d58bdad3dcc785?
s=60&d=retro&r=g)

### 󠀁[This is how it should be](https://wordpress.org/support/topic/this-is-how-it-should-be/)󠁿

 [derweed](https://profiles.wordpress.org/derweed/) 2017-يىلى 21-ماي

Slim, fast, simple: Thats what I wanted. No beels and whistles.

![](https://secure.gravatar.com/avatar/94c2a6781d32c4ccf8d54586e1e75c8bc77a620259fdf2a4cb4226314bb8d578?
s=60&d=retro&r=g)

### 󠀁[Slim McSlimmington](https://wordpress.org/support/topic/slim-mcslimmington/)󠁿

 [JiveDig](https://profiles.wordpress.org/jivedig/) 2017-يىلى 31-مارت

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.

![](https://secure.gravatar.com/avatar/f2a4b991356cc707cbe41edd396d5bf1c22cbf84d70e98fea3dfcc2265e775ba?
s=60&d=retro&r=g)

### 󠀁[Simple AF](https://wordpress.org/support/topic/simple-af/)󠁿

 [Vladimir Vassilev](https://profiles.wordpress.org/vloo/) 2017-يىلى 24-فېۋرال

Couldn’t be any simpler than this. It’s true. You’ll love it.

 [ 9 باھالاشنىڭ ھەممىنى ئوقۇش ](https://wordpress.org/support/plugin/simple-google-analytics-tracking/reviews/)

## تۆھپىكار ۋە ئىجادكار

«Simple Google Analytics Tracking» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ
قىستۇرمىغا تۆھپە قوشقان.

تۆھپىكار

 *   [ Dustyn Doyle ](https://profiles.wordpress.org/dustyn/)

[«Simple Google Analytics Tracking» نى تىلىڭىزغا تەرجىمە قىلىڭ](https://translate.wordpress.org/projects/wp-plugins/simple-google-analytics-tracking)

### ئىجادىيەتكە قىزىقامسىز؟

[كودقا كۆز يۈگۈرتۈپ](https://plugins.trac.wordpress.org/browser/simple-google-analytics-tracking/)،
[SVN خەزىنە](https://plugins.svn.wordpress.org/simple-google-analytics-tracking/)
تەكشۈرۈپ ياكى [RSS](https://plugins.trac.wordpress.org/log/simple-google-analytics-tracking/?limit=100&mode=stop_on_copy&format=rss)
ئارقىلىق [ئىجادىيەت خاتىرىسى](https://plugins.trac.wordpress.org/log/simple-google-analytics-tracking/)
گە مۇشتەرى بولغىلى بولىدۇ.

## Meta

 *  Version **1.3**
 *  ئاخىرقى يېڭىلانغان ۋاقىت **9 يىل بۇرۇن**
 *  ئاكتىپ ئورنىتىش سانى **1,000+**
 *  WordPress نەشرى ** 3.8 ياكى يۇقىرى **
 *  **4.7.33** دا سىنالغان
 *  تىل
 * [English (US)](https://wordpress.org/plugins/simple-google-analytics-tracking/)
 * بەلگە
 * [analytics](https://ug.wordpress.org/plugins/tags/analytics/)[google](https://ug.wordpress.org/plugins/tags/google/)
   [google analytics](https://ug.wordpress.org/plugins/tags/google-analytics/)[simple](https://ug.wordpress.org/plugins/tags/simple/)
   [tracking](https://ug.wordpress.org/plugins/tags/tracking/)
 *  [ئالىي كۆرۈنۈش](https://ug.wordpress.org/plugins/simple-google-analytics-tracking/advanced/)

## دەرىجە

 5/5 يۇلتۇز

 *  [  9 5-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/simple-google-analytics-tracking/reviews/?filter=5)
 *  [  0 4-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/simple-google-analytics-tracking/reviews/?filter=4)
 *  [  0 3-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/simple-google-analytics-tracking/reviews/?filter=3)
 *  [  0 2-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/simple-google-analytics-tracking/reviews/?filter=2)
 *  [  0 1-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/simple-google-analytics-tracking/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/simple-google-analytics-tracking/reviews/#new-post)

[بارلىق ئىنكاسنى كۆرسەت](https://wordpress.org/support/plugin/simple-google-analytics-tracking/reviews/)

## تۆھپىكار

 *   [ Dustyn Doyle ](https://profiles.wordpress.org/dustyn/)

## قوللاش

چۈشەندۈرۈشىڭىز بارمۇ؟ ياردەم لازىممۇ؟

 [قوللاش مۇنبىرىنى كۆرسەت](https://wordpress.org/support/plugin/simple-google-analytics-tracking/)