A lightweight Google Analytics plugin for WordPress. Paste your Measurement ID, choose head or footer — done.
Prioritized issue groups from the latest Plugin Check scan
Security
24
3 issue groups
Maintainability
12
7 issue groups
I18n
3
2 issue groups
Repo Compliance
2
2 issue groups
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$gc'.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Processing form data without nonce verification.
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Sample message
Scripts must be registered/enqueued via wp_enqueue_script()
Sample message
A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
Sample message
Short PHP opening tag used with echo; expected "<?php echo PLUGIN_NAME ..." but found "<?= PLUGIN_NAME ..."
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$options".
Sample message
Found single-underscore "_()" function when double-underscore expected.
Sample message
Plugin name "Analytics Head" is different from the name declared in plugin header "Google Analytics Head".
Sample message
Tested up to: 6.8 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.
Sample message
One or more tags were ignored. Please limit your plugin to 5 tags.
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "Google Analytics Head" - contains the restricted term "google" and cannot be used to begin your plugin name. We disallow the use of certain terms in ways that are abused, or potentially infringe on and/or are misleading with regards to trademarks. You may use the term "google" elsewhere in your plugin name, such as "... for google".
Potential connections found in static code analysis.
Outbound calls
12
External assets
1
Incoming endpoints
0
No public endpoints detected.
First score snapshot
v1.7.0
54
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 54 | 41 | 34 | 7 | v1.7.0 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.