Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

WE – Google Analytics

Descripción

Supports Global Site Tag / gtag.js
GDPR compliant: does not collect any user data

This plugin enables Google Analytics for your entire WordPress site. Lightweight and fast with plenty of great features.

Features

  • Blazing fast performance
  • Does one thing and does it well
  • Drop-dead simple and easy to use
  • Includes tracking code in header or footer
  • Includes tracking code on all WordPress web pages
  • Sleek plugin Settings page with toggling panels
  • Option to enable page tracking in the Admin Area
  • Easy to customize the tracking code

This is a lightweight plugin that inserts the required GA tracking code. To view your site statistics, visit your Google Analytics account.

GA Tracking Options

GA Feature Support

Learn more about Google Analytics!

GDPR

This plugin does not collect any user data. Even so, the tracking code added by this plugin is used by Google to collect all sorts of user data. So this plugin does not do anything to make your site less compliant with GDPR. I have done my best to ensure that this plugin is 100% GDPR compliant, but I’m not a lawyer so can’t guarantee anything. To ensure that your site is compliant with GDPR, please consult an attorney, and also check with Google and/or configure your Google account settings and/or tracking code as required by GDPR.

Works perfectly with or without Gutenberg

Instalación

Installation

  1. Upload the plugin to your blog and activate
  2. Visit the settings to configure your options

After configuring your settings, you can verify that GA tracking code is included by viewing the source code of your web pages.

Note: this plugin adds the required GA code to your web pages. In order for the code to do anything, it must correspond to an active, properly configured Google Analytics account. Learn more at the Google Analytics Help Center.

More info on installing WP plugins

Usage

To enable Google Analytics tracking on your site, follow these steps:

  1. Visit the «Plugin Settings» panel
  2. Enter your GA Tracking ID
  3. Choose either Universal Analytics or Global Site Tag
  4. Configure any other plugin settings as desired (optional)

Save changes and done. After 24-48 hours, you can log into your Google Analytics account to view your stats.

Note that it can take 24-48 hours after adding the tracking code before any analytical data appears in your Google Analytics account. To check that the GA tacking code is included, look at the source code of your web page(s). Learn more at the Google Analytics Help Center.

Upgrading Analytics

Google Analytics tracking methods change over time. First there was urchin.js, then ga.js, and now analytics.js, soon to be replaced officially by gtag.js. If you are using an older version and want to upgrade, check out these Google docs:

Plugin Upgrades

To upgrade WE – GA Google Analytics, remove the old version and replace with the new version. Or just click «Update» from the Plugins screen and let WordPress do it for you automatically.

Note: uninstalling the plugin from the WP Plugins screen results in the removal of all settings from the WP database.

For more information, visit the GA Plugin Homepage.

Restore Default Options

To restore default plugin options, either uninstall/reinstall the plugin, or visit the plugin settings > Restore Default Options.

Uninstalling

WE – GA Google Analytics cleans up after itself. All plugin settings will be removed from your database when the plugin is uninstalled via the Plugins screen. Your collected GA data will remain in your Google account.

FAQ

Tracking code is not displayed in source code?

If you check the source code of your pages and don’t see the GA tracking code, check the following:

  • Check that your theme includes the hooks, wp_head and wp_footer
  • If you are using a caching plugin, try clearing the cache

If the GA tracking code still is not displayed, most likely there is interference from another plugin or theme. In this case, the best way to resolve the issue is to do some basic WordPress troubleshooting.

Google Analytic says tracking code is not detected?

You need to wait awhile for Google to collect some data, like at least a day or whatever. Standard stuff for Google Analytics. For more information, check out the Google Analytics Help Center.

Can I filter the output of the «Custom GA Code» setting?

Yes, you can use the gap_custom_code filter hook.

How to implement Google Optimize?

Here are the steps:

  1. Enable Universal Analytics in the plugin settings
  2. Add the Optimize plugin (e.g., ga('require', 'GTM-XXXXXX');) to the setting, «Custom GA Code»
  3. Add the Page Hiding (flicker) snippet to the setting, «Custom <head> Code»
  4. Enable the setting, «Custom <head> Location»

Done! You can view the source code of your web pages to verify the results.

Got a question?

To ask a question, suggest a feature, or provide feedback, contact me directly. Learn more about Google Analytics.

Reseñas

No hay valoraciones para este plugin.

Colaboradores y desarrolladores

«WE – Google Analytics» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «WE – Google Analytics» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.4

  • Compatible with php 8.2
  • Compatible with latest wordpress version

Thank you to everyone who shares feedback for WE – GA Google Analytics!

1.1

  • Further tests on WP versions 4.9 and 5.0 (alpha)
  • Updates plugin screenshots for WordPress Plugin Directory

  • Initial release.