GTM Kit 1.16

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

Summary

Errors
No PHP errors, warnings or notices
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 34.39 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.4.1
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=803d23e1e6
Aspect after-activation
HTTP status 200
Load time 0.499 s
Memory usage 3.34 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.302 s
Memory usage 3.34 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'trim')\n    at se (/wp-content/plugins/gtm-kit/assets/admin/settings.js?ver=1689401046804ff129b1:1:41930)\n    at wt (/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:47637)\n    at js (/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:120584)\n    at wl (/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88659)\n    at bl (/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88587)\n    at yl (/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88450)\n    at fl (/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:85607)\n    at Nn (/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:32474)\n    at El (/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:93374)\n    at /wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:89834",
        "trace": null,
        "code": null
    }
]
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.387 s
Memory usage 3.34 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.309 s
Memory usage 3.34 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.219 s
Memory usage 3.34 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 1.012 s
Memory usage 5.51 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.630 s
Memory usage 5.5 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.346 s0.308 s-0.038 s3.38 MiB3.42 MiB+ 46.41 KiB
/wp-admin/edit.php0.206 s0.203 s-0.003 s3.41 MiB3.45 MiB+ 46.77 KiB
/wp-admin/post-new.php0.877 s0.937 s+0.060 s5.46 MiB5.51 MiB+ 54.47 KiB
/wp-admin/upload.php0.854 s0.443 s-0.411 s3.32 MiB3.35 MiB+ 29.37 KiB
/wp-admin/options-writing.php0.206 s0.179 s-0.027 s3.32 MiB3.34 MiB+ 21.95 KiB
/wp-admin/media-new.php0.294 s0.257 s-0.037 s3.29 MiB3.33 MiB+ 41.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.181 s0.189 s+0.008 s3.31 MiB3.36 MiB+ 46.73 KiB
/wp-admin/post-new.php?post_type=page0.926 s0.765 s-0.161 s5.45 MiB5.5 MiB+ 50.05 KiB
/wp-admin/options-discussion.php0.263 s0.224 s-0.039 s3.3 MiB3.33 MiB+ 29.86 KiB
/wp-admin/edit-comments.php0.246 s0.208 s-0.038 s3.33 MiB3.36 MiB+ 29.4 KiB
/0.263 s0.244 s-0.019 s3.36 MiB3.34 MiB- 18.32 KiB
Average 0.424 s0.360 s-0.064 s3.72 MiB3.75 MiB+ 34.39 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
PHP59.1%2,8251,55229
Sass22.8%1,09203
JavaScript17.0%8137817
XML0.9%43681
SVG0.1%505
CSS0.0%202
Total 4,780 1,698 57

PHP Code Analysis | More results »

Lines of code 2,800
Total complexity 577
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 22
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 3

Meta Boxes

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

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide GTM Kit Admin Menus and Meta Boxes