GA4WP – Analytics Dashboard for the Website

Google Analytics Dashboard for WordPress Plugin by GA4WP is Lightweight, Easy to connect and comes with plenty of great features.

v2.10.0Passionate BrainsUpdated Added 2k+ installs100% rating0% support resolved
35
Score
434
Errors
157
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance100
Maintainability56

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

591 findings

Security

338

7 issue groups

I18n

153

1 issue group

Maintainability

98

10 issue groups

Repo Compliance

2

2 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'ga-for-wp' but got 'g4-for-wp-text'.153
Category
I18n
Occurrences
153
Severity
error

Sample message

Mismatched text domain. Expected 'ga-for-wp' but got 'g4-for-wp-text'.

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$G_id'.131
Category
Security
Occurrences
131
Severity
error

Sample message

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

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.111
Category
Security
Occurrences
111
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$account_summary".40
Category
Maintainability
Occurrences
40
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$account_summary".

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET['view']32
Category
Security
Occurrences
32
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET['view']

WARNINGSecurityRequest data is not unslashed$_COOKIE['_ga'] not unslashed before sanitization. Use wp_unslash() or similar32
Category
Security
Occurrences
32
Severity
warning

Sample message

$_COOKIE['_ga'] not unslashed before sanitization. Use wp_unslash() or similar

ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.23
Category
Maintainability
Occurrences
23
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.15
Category
Security
Occurrences
15
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityerror log error logerror_log() found. Debug code should not normally be used in production.14
Category
Maintainability
Occurrences
14
Severity
warning

Sample message

error_log() found. Debug code should not normally be used in production.

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST['ga4wp_auth_settings']. Check that the array index exists before using it.11
Category
Security
Occurrences
11
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST['ga4wp_auth_settings']. Check that the array index exists before using it.

Show 10 more
ERRORSecurityException output is not escaped6
Category
Security
Occurrences
6
Severity
error

Sample message

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

ERRORMaintainabilityparse url parse url6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.

WARNINGMaintainabilityMissing Version6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

Resource version not set in call to wp_register_script(). This means new versions of the script may not always be loaded due to browser caching.

ERRORMaintainabilityNon Enqueued Script3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

Scripts must be registered/enqueued via wp_enqueue_script()

WARNINGMaintainabilitytrademarked term3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "GA4WP - Analytics Dashboard for the Website" - contains the restricted term "wp" which cannot be used at all in your plugin name.

WARNINGMaintainabilityNon-prefixed function1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "gfw_fs".

WARNINGMaintainabilityNon-prefixed hook name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityNot In Footer1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_register_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.

ERRORRepo Compliancelicense mismatch1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Your plugin has a different license declared in the readme file and plugin header. Please update your readme with a valid GPL license identifier.

WARNINGRepo Compliancereadme parser warnings trimmed short description1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

The "Short Description" section is too long and was truncated. A maximum of 150 characters is supported.

External Connections

Not analyzed yet.

Score History

First score snapshot

v2.10.0

35

Latest

Findings
591
Errors
434
Warnings
157
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

29 nodes

Related Plugins