GTM Kit 1.12.0

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

Summary

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

Memory usage: 42.02 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=1335335d6c
Aspect after-activation
HTTP status 200
Load time 0.836 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.200 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.191 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.142 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.256 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.736 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.571 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.301 s0.312 s+0.011 s3.07 MiB3.11 MiB+ 43.06 KiB
/wp-admin/edit.php0.194 s0.213 s+0.019 s3.1 MiB3.14 MiB+ 42.74 KiB
/wp-admin/post-new.php0.778 s0.843 s+0.065 s5.02 MiB5.08 MiB+ 61.4 KiB
/wp-admin/upload.php0.563 s0.501 s-0.062 s3.02 MiB3.04 MiB+ 25.34 KiB
/wp-admin/options-writing.php0.182 s0.172 s-0.010 s3.01 MiB3.02 MiB+ 12.1 KiB
/wp-admin/media-new.php0.359 s0.198 s-0.161 s2.99 MiB3.03 MiB+ 37.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.177 s0.190 s+0.013 s3.01 MiB3.05 MiB+ 42.7 KiB
/wp-admin/post-new.php?post_type=page0.616 s0.654 s+0.038 s5.01 MiB5.07 MiB+ 56.98 KiB
/wp-admin/options-discussion.php0.224 s0.237 s+0.013 s3 MiB3.02 MiB+ 26.15 KiB
/wp-admin/edit-comments.php0.217 s0.224 s+0.007 s3.03 MiB3.05 MiB+ 25.38 KiB
/0.317 s0.214 s-0.103 s2.97 MiB3.06 MiB+ 88.89 KiB
Average 0.357 s0.342 s-0.015 s3.38 MiB3.43 MiB+ 42.02 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
PHP64.5%4,1661,44945
Sass24.2%1,56304
JavaScript10.1%6495720
JSON0.8%4901
Bourne Shell0.3%21161
SVG0.1%505
CSS0.1%432
Total 6,457 1,525 78

PHP Code Analysis | More results »

Lines of code 2,905
Total complexity 601
Median class complexity 12.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 24
Methods 211
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 18 lines

[07-Aug-2023 06:30:28 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
[07-Aug-2023 06:30:29 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function TLA_Media\GTM_Kit\Installation\is_plugin_active() in /wp-content/plugins/gtm-kit/src/Installation/PluginDataImport.php:23
Stack trace:
#0 /wp-content/plugins/gtm-kit/src/Admin/SetupWizard.php(282): TLA_Media\GTM_Kit\Installation\PluginDataImport->get_all()
#1 /wp-includes/rest-api/class-wp-rest-server.php(1181): TLA_Media\GTM_Kit\Admin\SetupWizard->get_install_data()
#2 /wp-includes/rest-api/class-wp-rest-server.php(1028): WP_REST_Server->respond_to_request()
#3 /wp-includes/rest-api/class-wp-rest-server.php(442): WP_REST_Server->dispatch()
#4 /wp-includes/rest-api.php(410): WP_REST_Server->serve_request()
#5 /wp-includes/class-wp-hook.php(308): rest_api_loaded()
#6 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#7 /wp-includes/plugin.php(565): WP_Hook->do_action()
#8 /wp-includes/class-wp.php(399): do_action_ref_array()
#9 /wp-includes/class-wp.php(780): WP->parse_request()
#10 /wp-includes/functions.php(1334): WP->main()
#11 /wp-blog-header.php(16): wp()
#12 /index.php(17): require('...')
#13 {main}
  thrown in /wp-content/plugins/gtm-kit/src/Installation/PluginDataImport.php on line 23
See also: All tests for this plugin, How to Hide GTM Kit Admin Menus and Meta Boxes