GTM Kit 1.11.1

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: 39.55 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=1cf8163027
Aspect after-activation
HTTP status 200
Load time 0.532 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.206 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.186 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.154 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.263 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.704 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.623 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.379 s0.260 s-0.119 s3.07 MiB3.11 MiB+ 43.04 KiB
/wp-admin/edit.php0.203 s0.200 s-0.003 s3.1 MiB3.14 MiB+ 42.71 KiB
/wp-admin/post-new.php0.803 s0.905 s+0.102 s5.02 MiB5.08 MiB+ 59.45 KiB
/wp-admin/upload.php0.584 s0.285 s-0.299 s3.02 MiB3.04 MiB+ 25.3 KiB
/wp-admin/options-writing.php0.187 s0.282 s+0.095 s3.01 MiB3.02 MiB+ 12.07 KiB
/wp-admin/media-new.php0.361 s0.301 s-0.060 s2.99 MiB3.03 MiB+ 37.49 KiB
/wp-admin/edit-tags.php?taxonomy=category0.202 s0.191 s-0.011 s3.01 MiB3.05 MiB+ 42.66 KiB
/wp-admin/post-new.php?post_type=page0.712 s0.653 s-0.059 s5.01 MiB5.07 MiB+ 55.03 KiB
/wp-admin/options-discussion.php0.220 s0.249 s+0.029 s3 MiB3.02 MiB+ 26.12 KiB
/wp-admin/edit-comments.php0.221 s0.221 s+0.000 s3.03 MiB3.05 MiB+ 25.34 KiB
/0.335 s0.225 s-0.110 s2.99 MiB3.06 MiB+ 65.81 KiB
Average 0.382 s0.343 s-0.040 s3.39 MiB3.42 MiB+ 39.55 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

[07-Jul-2023 12:16:03 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