GTM Kit 1.11.0

Does GTM Kit work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 36.04 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 30,000+
WordPress.org page https://wordpress.org/plugins/gtm-kit/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

‹ Test site — WordPress

Page screenshot: ‹ Test site — WordPress
URL /wp-admin/admin.php?page=gtmkit_setup_wizard
Requested URL /wp-admin/plugins.php?action=activate&plugin=gtm-kit%2Fgtm-kit.php&plugin_status=all&paged=1&s&_wpnonce=3035efc290
Aspect after-activation
HTTP status 200
Load time 0.467 s
Memory usage 3.04 MiB
JS errors None
Resource errors None

GTM KIT

Page screenshot: GTM KIT
URL /wp-admin/admin.php?page=gtmkit_general
Aspect menu-item
HTTP status 200
Load time 0.188 s
Memory usage 3.2 MiB
JS errors None
Resource errors None

GTM KIT → Integrations

Page screenshot: GTM KIT → Integrations
URL /wp-admin/admin.php?page=gtmkit_integrations
Aspect menu-item
HTTP status 200
Load time 0.172 s
Memory usage 3.11 MiB
JS errors None
Resource errors None

GTM KIT → Help

Page screenshot: GTM KIT → Help
URL /wp-admin/admin.php?page=gtmkit_help
Aspect menu-item
HTTP status 200
Load time 0.133 s
Memory usage 3.07 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.238 s
Memory usage 3.05 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.584 s
Memory usage 5.08 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.561 s
Memory usage 5.07 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.261 s0.233 s-0.028 s3.07 MiB3.11 MiB+ 43.03 KiB
/wp-admin/edit.php0.174 s0.174 s+0.000 s3.1 MiB3.14 MiB+ 42.71 KiB
/wp-admin/post-new.php0.853 s0.785 s-0.068 s5.02 MiB5.08 MiB+ 59.45 KiB
/wp-admin/upload.php0.524 s0.282 s-0.242 s3.02 MiB3.04 MiB+ 25.3 KiB
/wp-admin/options-writing.php0.166 s0.279 s+0.113 s3.01 MiB3.02 MiB+ 12.07 KiB
/wp-admin/media-new.php0.263 s0.222 s-0.041 s2.99 MiB3.03 MiB+ 37.49 KiB
/wp-admin/edit-tags.php?taxonomy=category0.182 s0.182 s+0.000 s3.01 MiB3.05 MiB+ 42.66 KiB
/wp-admin/post-new.php?post_type=page0.557 s0.583 s+0.026 s5.01 MiB5.07 MiB+ 55.03 KiB
/wp-admin/options-discussion.php0.199 s0.214 s+0.015 s3 MiB3.02 MiB+ 26.12 KiB
/wp-admin/edit-comments.php0.185 s0.190 s+0.005 s3.03 MiB3.05 MiB+ 25.34 KiB
/0.296 s0.196 s-0.100 s3.03 MiB3.06 MiB+ 27.19 KiB
Average 0.333 s0.304 s-0.029 s3.39 MiB3.42 MiB+ 36.04 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
Sass
JavaScript
Language % Lines of code Comment lines Files
PHP65.0%3,9591,34243
Sass25.4%1,54604
JavaScript8.4%5102615
JSON0.8%4701
Bourne Shell0.3%19161
SVG0.1%505
CSS0.1%432
Total 6,090 1,387 71

PHP Code Analysis | More results »

Lines of code 2,713
Total complexity 573
Median class complexity 13.0
Median method complexity 2.0
Most complex class TLA_Media\GTM_Kit\Integration\WooCommerce
Most complex function TLA_Media\GTM_Kit\Frontend\BasicDatalayerData::get_datalayer_content()
Classes 23
Methods 197
Functions 7

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 4

Meta Boxes

{
    "post": {
        "gtmkit_options": {
            "title": "GTM Kit",
            "context": "side"
        }
    },
    "page": {
        "gtmkit_options": {
            "title": "GTM Kit",
            "context": "side"
        }
    }
}

PHP Error Log 1 lines

[04-Jul-2023 12:02:21 UTC] PHP Deprecated:  strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-admin/admin-header.php on line 36
See also: All tests for this plugin, How to Hide GTM Kit Admin Menus and Meta Boxes