GTM Kit – Google Tag Manager & GA4 integration

Google Tag Manager and GA4 integration. Including WooCommerce data for Google Analytics 4 and support for server side GTM.

v2.15.0TLA MediaUpdated Added 30k+ installs96% rating100% support resolved
80
Score
9
Errors
17
Warnings
+0
Change

Category Scores

Security69
Repo100
Performance100
Maintainability84

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

26 findings

Maintainability

19

8 issue groups

Security

6

2 issue groups

I18n

1

1 issue group

ERRORSecurityregister setting MissingSanitization missing for register_setting().5
Category
Security
Occurrences
5
Severity
error

Sample message

Sanitization missing for register_setting().

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$woocommerce_loop".4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

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

Sample message

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

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

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

Sample message

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

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.

WARNINGSecurityMissing Unslash$_POST['asset'] not unslashed before sanitization. Use wp_unslash() or similar1
Category
Security
Occurrences
1
Severity
warning

Sample message

$_POST['asset'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilitymismatched plugin namePlugin name "GTM Kit - Google Tag Manager & GA4 integration" is different from the name declared in plugin header "GTM Kit".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "GTM Kit - Google Tag Manager & GA4 integration" is different from the name declared in plugin header "GTM Kit".

WARNINGMaintainabilitymissing composer json fileThe "/vendor" directory using composer exists, but "composer.json" file is missing.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The "/vendor" directory using composer exists, but "composer.json" file is missing.

Show 1 more
WARNINGMaintainabilityupdate modification detected1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin Updater detected. Detected code which may be altering WordPress update routines. Detected: auto_update_plugin

Score History

First score snapshot

v2.15.0

80

Latest

Findings
26
Errors
9
Warnings
17
Check
2.0.0

Related Plugins

Machete

7k+ active installs

99
Search Analytics for WP

3k+ active installs

99
Web Worker Offloading

10k+ active installs

99
Google Tag Manager

10k+ active installs

98