Опис
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.
Встановлення
- Upload the entire, extracted plugin directory to the
wp-content/plugins/directory, or install the plugin through the WordPress Plugins screen directly. - Activate the plugin through the Plugins screen.
- Go to Settings > gtag.js, add your Analyics and/or AdWords IDs, and save.
- Clear caches of any optimisation plugins, or CDNs you use on your site, if any.
Учасники та розробники
“Tiny gtag.js Analytics” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:
УчасникиПерекладіть “Tiny gtag.js Analytics” на вашу мову.
Цікавитесь розробкою?
Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.
Журнал змін
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_outputfilter 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
tinyGtagJsOptionsglobal 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.