Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Tiny gtag.js Analytics

Beskrivning

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.

Installation

  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.

Recensioner

Läs 1 betyg

Bidragsgivare och utvecklare

”Tiny gtag.js Analytics” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Tiny gtag.js Analytics” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

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.