Tiny gtag.js Analytics

描述

A simple, light, ad-free plugin to enable Google’s global site tag. This enables analytics and conversion tracking via gtag.js on your WordPress site. You can customise it by adding extra JavaScript, and further extend the plugin’s functionality using the provided tiny_gtag_js_analytics_output hook.

安装

  1. Upload the entire, extracted plugin directory to the wp-content/plugins/ directory, or install the plugin through the WordPress Plugins screen directly.
  2. Activate the plugin through the Plugins screen.
  3. Go to Settings > gtag.js, add your Analyics and/or AdWords IDs, and save.
  4. Clear caches of any optimisation plugins, or CDNs you use on your site, if any.

评价

阅读所有1条评价

贡献者及开发者

「Tiny gtag.js Analytics」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

3.1.0

  • Added option to limit tracking to visitors and selected roles.
  • Added option to delay main script output until </body>.
  • Higher min. required versions of WP and PHP.

3.0.1

  • Fixed crash on first settings save.

3.0.0

  • Support for GA4 IDs.
  • Changed inputs to tiny_gtag_js_analytics_output filter hook, update any integration accordingly. (Does not affect typical plugin usage.)

2.0.0

  • Support for AdWords IDs.
  • Made tracking ID(s) available to other scripts via tinyGtagJsOptions global variable.
  • Link to settings from Plugins page.
  • Support output after <body> as recommended by Google.
  • Fixed filter hook.
  • Fixed i18n.

1.0.1

  • Better form validation.