GA Google Analytics – Connect Google Analytics to WordPress

Adds Google Analytics tracking code to your WordPress site. Supports many tracking features.

v20260421Jeff StarrUpdated Added 400k+ installs98% rating
42
Score
46
Errors
30
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability87

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

76 findings

Security

56

5 issue groups

Maintainability

19

6 issue groups

I18n

1

1 issue group

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$auto'.43
Category
Security
Occurrences
43
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$auto'.

WARNINGMaintainabilityNon Prefixed Constant FoundGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "GAP_AUTHOR".10
Category
Maintainability
Occurrences
10
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "GAP_AUTHOR".

WARNINGSecurityRecommendedProcessing form data without nonce verification.7
Category
Security
Occurrences
7
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "gap_custom_code".3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "gap_custom_code".

ERRORMaintainabilitymissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

WARNINGSecuritywp redirect wp redirectwp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.2
Category
Security
Occurrences
2
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_GET['dismiss-notice-verify']2
Category
Security
Occurrences
2
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET['dismiss-notice-verify']

WARNINGSecurityMissing Unslash$_GET['dismiss-notice-verify'] not unslashed before sanitization. Use wp_unslash() or similar2
Category
Security
Occurrences
2
Severity
warning

Sample message

$_GET['dismiss-notice-verify'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGI18nload plugin textdomain Foundload_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.1
Category
I18n
Occurrences
1
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

WARNINGMaintainabilityNot In FooterIn footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.

Show 2 more
WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "GA Google Analytics – Connect Google Analytics to WordPress" is different from the name declared in plugin header "GA Google Analytics".

WARNINGMaintainabilitytrademarked term1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "GA Google Analytics – Connect Google Analytics to WordPress" - contains the restricted term "wordpress" which cannot be used at all in your plugin name.

Score History

First score snapshot

v20260421

42

Latest

Findings
76
Errors
46
Warnings
30
Check
2.0.0

Related Plugins

ICS Calendar

10k+ active installs

99
IndexMeNow

2k+ active installs

99
Machete

7k+ active installs

99
Search Analytics for WP

3k+ active installs

99
Very Simple Google Maps

3k+ active installs

99
VS Meta Description

3k+ active installs

99