Integrate Google Tag Manager into your website.
Prioritized issue groups from the latest Plugin Check scan
Security
29
4 issue groups
Maintainability
22
10 issue groups
Repo Compliance
2
2 issue groups
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['consent_mode']. Check that the array index exists before using it.
Sample message
Detected usage of a non-sanitized input variable: $_POST['external_tag_manager']
Sample message
$_POST['external_tag_manager'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Function "register_block_type()" requires WordPress 5.0.0, but your plugin minimum supported version is WordPress 4.2.0.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$gtm_code'.
Sample message
No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
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.
Sample message
strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.
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.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Use of a direct database call is discouraged.
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'gtm_' . $matches[1]".
Sample message
seems_utf8() has been deprecated since WordPress version 6.9.0. Use wp_is_valid_utf8() instead.
Sample message
Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.
Sample message
Mismatched Requires at least: 3.9 != 4.2. "Requires at least" needs to be exactly the same with that in your main plugin file's header.
Not analyzed yet.
First score snapshot
v1.6.0
52
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 52 | 53 | 17 | 36 | v1.6.0 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.