GTM Kit 1.10.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: 28.62 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 6

‹ 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=172eef4a79
Aspect after-activation
HTTP status 200
Load time 0.494 s
Memory usage 3.03 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.214 s
Memory usage 3.19 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.165 s
Memory usage 3.11 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.257 s
Memory usage 2.99 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.174 s
Memory usage 5.07 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.763 s
Memory usage 5.06 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.466 s0.255 s-0.211 s3.07 MiB3.11 MiB+ 34.97 KiB
/wp-admin/edit.php0.209 s0.204 s-0.005 s3.1 MiB3.13 MiB+ 33.35 KiB
/wp-admin/post-new.php0.849 s1.361 s+0.512 s5.02 MiB5.07 MiB+ 53.78 KiB
/wp-admin/upload.php0.930 s0.423 s-0.507 s3.02 MiB3.04 MiB+ 15.97 KiB
/wp-admin/options-writing.php0.194 s0.159 s-0.035 s3.02 MiB3.02 MiB+ 2.74 KiB
/wp-admin/media-new.php0.274 s0.242 s-0.032 s3 MiB3.02 MiB+ 28.16 KiB
/wp-admin/edit-tags.php?taxonomy=category0.200 s0.311 s+0.111 s3.01 MiB3.04 MiB+ 33.34 KiB
/wp-admin/post-new.php?post_type=page1.088 s0.795 s-0.293 s5.01 MiB5.06 MiB+ 49.37 KiB
/wp-admin/options-discussion.php0.275 s0.244 s-0.031 s3 MiB3.02 MiB+ 20.18 KiB
/wp-admin/edit-comments.php0.247 s0.215 s-0.032 s3.03 MiB3.05 MiB+ 19.41 KiB
/0.311 s0.275 s-0.036 s3.03 MiB3.05 MiB+ 23.52 KiB
Average 0.458 s0.408 s-0.051 s3.39 MiB3.42 MiB+ 28.62 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.1%3,9051,27141
Sass25.5%1,53004
JavaScript8.6%5182714
JSON0.6%3501
SVG0.1%505
Markdown0.1%401
CSS0.1%302
Total 6,000 1,298 68

PHP Code Analysis | More results »

Lines of code 2,715
Total complexity 581
Median class complexity 15.5
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 187
Functions 6

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

[12-Jun-2023 08:41:45 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