Title: Local Google Analytics for WordPress &#8211; caches external requests
Author: webcraftic
Published: <strong>24 de marzo de 2011</strong>
Last modified: 6 de noviembre de 2025

---

Buscar plugins

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

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

# Local Google Analytics for WordPress – caches external requests

 Por [webcraftic](https://profiles.wordpress.org/webcraftic/)

[Descargar](https://downloads.wordpress.org/plugin/simple-google-analytics.zip)

 * [Detalles](https://es.wordpress.org/plugins/simple-google-analytics/#description)
 * [Valoraciones](https://es.wordpress.org/plugins/simple-google-analytics/#reviews)
 *  [Instalación](https://es.wordpress.org/plugins/simple-google-analytics/#installation)
 * [Desarrollo](https://es.wordpress.org/plugins/simple-google-analytics/#developers)

 [Soporte](https://wordpress.org/support/plugin/simple-google-analytics/)

## Descripción

This plugin helps to plug in Google Analytics code to the website pages without 
affecting the theme code. All you have to do is to enter the tracking code. That’s
all. Unlike other plugins, this one cares about your website performance and caches
Google Analytics scripts.

#### How does plugin cache Google Analytics scripts and why?

When you activate and fill in plugin settings, it downloads remote file named analytics.
js and places it to the Cache folder on your hosting (server). This file is updated
once a day – it helps to avoid external requests to the Google remote server and
speeds up the website pages.
 Also if you want to gain 100 performance rating on
Google Pagespeed Insights, then you’ll definitely need to cache Google Analytics,
otherwise you’ll get a warning.

#### PLUGIN FEATURES

 * **Helps to place analytics code to the website header or footer.**
 * **Monitors bounce rates.** The point is that you set up the event triggered after
   a user spends a certain amount of time on the landing page, telling Google Analytics
   not to consider these users as a bounce. The user can visit your website, find
   all necessary information (for example, phone number), and then – simply close
   the website without visiting other pages. If the bounce rate hasn’t been adjusted,
   then this user is considered as a bounce, even though he had a successful experience.
   By defining time limits as from when the user should be considered as a bounce,
   you get more accurate performance of the user experience (for example, whether
   he’s been able to find what he was looking for or not).
 * **Define the analytics code position.** Google Analytics code loads prior to 
   other scripts and JavaScript code by default. But if you set up the value 100,
   for example, then the Google Analytics code will be loaded after all scripts.
   Adjusting the priority helps to set up the code’s position on the page.
 * **Disable all Display Network functions.** Find more: https://developers.google.
   com/analytics/devguides/collection/analyticsjs/display-features
 * **Use anonymous IP address (required by the law in some countries).** More details:(
   https://support.google.com/analytics/answer/2763052)
 * **Track administrators.** You can disable tracking for administrators’ activities
   and get more accurate statistics.
 * **Do not update the analytics.js local script.** Plugin creates cron task to 
   update cache of Google Analytics scripts daily. Once this feature is enabled,
   the plugin won’t update the Google Analytics cache file.

### Translations

 * English – default, always included
 * Russian

If you want to help with the translation, please contact me through this site or
through the contacts inside the plugin.

#### THANKS TO THE PLUGINS’ AUTHORS

We used some plugins functions:
 **GA Google Analytics**, **NK Google Analytics**,**
Complete Analytics Optimization Suite (CAOS)**, **Clearfy — WordPress optimization
plugin and disable ultimate tweaker**, **Enhanced Ecommerce Google Analytics Plugin
for WooCommerce**

#### Recommended separate modules

We invite you to check out a few other related free plugins that our team has also
produced that you may find especially useful:

 * [Clearfy – WordPress optimization plugin and disable ultimate tweaker](https://wordpress.org/plugins/clearfy/)
 * [Disable Comments for Any Post Types (Remove Comments)](https://wordpress.org/plugins/comments-plus/)
 * [Cyrlitera – transliteration of links and file names](https://wordpress.org/plugins/cyrlitera/)
 * [Cyr-to-lat reloaded – transliteration of links and file names](https://wordpress.org/plugins/cyr-and-lat/)
 * [Disable admin notices individually](https://wordpress.org/plugins/disable-admin-notices/)
 * [Hide login page](https://wordpress.org/plugins/hide-login-page/)
 * [Disable updates, Disable automatic updates, Updates manager](https://wordpress.org/plugins/webcraftic-updates-manager/)
 * [WordPress Assets manager, dequeue scripts, dequeue styles](https://wordpress.org/plugins/gonzales/)

## Capturas

 * [[
 * Control panel

## Instalación

 1. Upload the ‘simple-google-analytics.zip’ file to the /wp-content/plugins/ directory
    using wget, curl of ftp.
 2. ‘unzip’ the ‘simple-google-analytics.zip’ which will create the folder to the directory/
    wp-content/plugins/simple-google-analytics
 3. Activa el plugin a través del menú «Plugins» en WordPress
 4. Configure the plugin through ‘Local Google Analytics’ submenu in the the ‘Settings’
    section of the WordPress admin menu
 5. Add your google analytics ID there. An example of Google Analytics ID –> UA-0000000-
    0.
 6. Choose if your blog is on a sub-domain or not. This option is defined in your Google
    Analytics settings page. Do not change if you don’t know.
 7. Enter the domain where your WordPress is.
 8. Save it & your done.

## Reseñas

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

### 󠀁[Google analytics](https://wordpress.org/support/topic/google-analytics-266/)󠁿

 [jenisen](https://profiles.wordpress.org/jenisen/) 27 de febrero de 2024

love it!

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

### 󠀁[very good](https://wordpress.org/support/topic/very-good-4546/)󠁿

 [Oc_22](https://profiles.wordpress.org/oc_22/) 24 de febrero de 2020

Thanks, lovely plugin

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

### 󠀁[Nice](https://wordpress.org/support/topic/nice-3157/)󠁿

 [Jux071](https://profiles.wordpress.org/jux071/) 5 de noviembre de 2019

Very nice and useful plugin.

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

### 󠀁[Useful](https://wordpress.org/support/topic/useful-621/)󠁿

 [osamabinmladen](https://profiles.wordpress.org/osamabinmladen/) 10 de octubre 
de 2019

Useful

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

### 󠀁[A long time waiting for a new update](https://wordpress.org/support/topic/a-long-time-waiting-for-a-new-update/)󠁿

 [alexangel45](https://profiles.wordpress.org/alexangel45/) 9 de junio de 2018

New update very pleased me, I’ve been using this plugin for a long time, but I had
some problems with the new version of PHP. Plugin has changed quite a great, but
everyone is afraid of something new, I hope that the plugin will develop further.

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

### 󠀁[Analytics Caching](https://wordpress.org/support/topic/analytics-caching/)󠁿

 [vaymen](https://profiles.wordpress.org/vaymen/) 8 de junio de 2018

It was a terrific idea to add analytics code and optimize it to improve the score
in PageSpeed. Thank you!

 [ Leer todas las 10 reseñas ](https://wordpress.org/support/plugin/simple-google-analytics/reviews/)

## Colaboradores y desarrolladores

«Local Google Analytics for WordPress – caches external requests» es un software
de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

 *   [ webcraftic ](https://profiles.wordpress.org/webcraftic/)
 *   [ Themeisle ](https://profiles.wordpress.org/themeisle/)

[Traduce «Local Google Analytics for WordPress – caches external requests» a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/simple-google-analytics)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/simple-google-analytics/),
echa un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/simple-google-analytics/)
o suscríbete al [registro de desarrollo](https://plugins.trac.wordpress.org/log/simple-google-analytics/)
por [RSS](https://plugins.trac.wordpress.org/log/simple-google-analytics/?limit=100&mode=stop_on_copy&format=rss).

## Registro de cambios

#### 3.2.9 (05.12.2024)

 * Added: Compatibility with WordPress 6.7
 * Fixed: Security issue

#### 3.2.8 (21.03.2024)

 * Added: Compatibility with WordPress 6.5
 * Added: Compatibility with php 8.3= 3.2.7 (21.11.2023) =
 * Added: Compatibility with WordPress 6.4
 * Added: Compatibility with php 8.2

#### 3.2.6 (22.03.2023)

 * Fixed: Freemius framework conflict
 * Added: Compatibility with WordPress 6.2

#### 3.2.5 (30.05.2022)

 * Added: Compatibility with WordPress 6.0

#### 3.2.4 (24.03.2022)

 * Added: Compatibility with Disable admin notices plugin

#### 3.2.3 (23.03.2022)

 * Added: Compatibility with WordPress 5.9
 * Fixed: Minor bugs

#### 3.2.2 (20.10.2021)

 * Added: Compatibility with WordPress 5.8
 * Fixed: Minor bugs

#### 3.1.3

 * Added: Subscribe form
 * Fixed: Minor bugs

#### 3.1.2

 * Fixed: A bug with creating a local copy of the Google analytics library.

#### 3.1.1

 * Added: Compatibility with WordPress 4.2 – 5.x
 * Added: Multisite support
 * Fixed: Minor bugs

#### version 3.0.1

 * Fixed small bugs

#### version 3.0.0

 * The Simple Google Analytics plugin has some major changes. Unfortunately, the
   old version of the plugin (2.2.2) is no longer supported, but you still can download
   it from the WordPress repository in case if the new release doesn’t work for 
   you.
    We’ve updated the code and fixed the compatibility issue for the latest
   WordPress and PHP versions. We’ve also added additional feature of the Google
   Analytics cache – this way your website will load faster. The plugin’s name has
   been changed to Google Analytics cache, but all features remained the same. Please,
   check plugin settings and its performance on your website. We do care about you
   and want to avoid any problems with the new version.

#### version 2.2.3

 * Author change

#### version 2.2.2

 * Add a comment when the code isn’t loaded while being logged

#### version 2.2.1

 * Corrected the analytics code to prevent non-detection from Google

#### version 2.2.0

 * Add the demographic / interests reports

#### version 2.1.0

 * Corrected a bug with wp_enqueue_script
 * Change the JS loading method
 * Add the external links / downloads tracking

#### version 2.0.5

 * Added the option to not render when logged in

#### version 2.0.4

 * Corrected a bug where the JS file was loading before jQuery. Thanks to MrZebra
   for finding that.

#### version 2.0.3

 * Corrected a bug that made all settings link on extension page going to Simple
   Google Analytics settings page.

#### version 2.0.2

 * Google Code has returned to the original. The optimized code have issues with
   some users having no stats. All should be fine now.

#### version 2.0

 * Code has been fully rewritten.
 * Google Analytics code has been rewritten to load faster.

#### version 1.1.6

 * Code is not showing only when logged as Admin.
 * Add option to select where you want to place the code (Header or Footer)

#### version 1.1.5

 * Add settings in the extensions page (Thanks to Vladimir Pavlikov)
 * Add Russian Translation (Thanks to Vladimir Pavlikov)

#### version 1.1.4

 * Version 1.1.3 doesn’t shows in the repository…

#### version 1.1.3

 * Added a translation for ‘Simple Google Analytics Settings’

#### version 1.1.2

 * French Translation Bug

#### version 1.1.1

 * Fixed annoying bug

#### version 1.1.0

 * Added new Site Speed setting from Google

#### version 1.0.4

 * Corriged a bug if you use the Papercite plugin

#### version 1.0.3

 * Clean Readme file and clean code

#### version 1.0.2

 * Added French Translation

#### version 1.0

 * Add multi-subdomain option

## Meta

 *  Versión **3.2.9**
 *  Última actualización **hace 5 meses**
 *  Instalaciones activas **4.000+**
 *  Versión de WordPress ** 5.6 o superior **
 *  Probado hasta **6.8.5**
 *  Versión de PHP ** 7.4 o superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/simple-google-analytics/)
 * Etiquetas:
 * [analytics](https://es.wordpress.org/plugins/tags/analytics/)[google analytics](https://es.wordpress.org/plugins/tags/google-analytics/)
   [google analytics dashboard](https://es.wordpress.org/plugins/tags/google-analytics-dashboard/)
   [google analytics plugin](https://es.wordpress.org/plugins/tags/google-analytics-plugin/)
   [google analytics widget](https://es.wordpress.org/plugins/tags/google-analytics-widget/)
 *  [Vista avanzada](https://es.wordpress.org/plugins/simple-google-analytics/advanced/)

## Valoraciones

 4.5 de 5 estrellas.

 *  [  8 valoraciones de 5 estrellas     ](https://wordpress.org/support/plugin/simple-google-analytics/reviews/?filter=5)
 *  [  1 valoración de 4 estrellas     ](https://wordpress.org/support/plugin/simple-google-analytics/reviews/?filter=4)
 *  [  0 valoraciones de 3 estrellas     ](https://wordpress.org/support/plugin/simple-google-analytics/reviews/?filter=3)
 *  [  0 valoraciones de 2 estrellas     ](https://wordpress.org/support/plugin/simple-google-analytics/reviews/?filter=2)
 *  [  1 valoración de 1 estrellas     ](https://wordpress.org/support/plugin/simple-google-analytics/reviews/?filter=1)

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

[Ver todas las valoraciones](https://wordpress.org/support/plugin/simple-google-analytics/reviews/)

## Colaboradores

 *   [ webcraftic ](https://profiles.wordpress.org/webcraftic/)
 *   [ Themeisle ](https://profiles.wordpress.org/themeisle/)

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

 [Ver el foro de soporte](https://wordpress.org/support/plugin/simple-google-analytics/)