GTM Kit 1.13.0

Does GTM Kit work with WordPress 6.3.1 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: 37.2 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.3.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=1e3d5a71b3
Aspect after-activation
HTTP status 200
Load time 0.461 s
Memory usage 2.78 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.207 s
Memory usage 2.94 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.181 s
Memory usage 2.85 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.158 s
Memory usage 2.81 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.172 s
Memory usage 3.15 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.595 s
Memory usage 5.27 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.580 s
Memory usage 5.26 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.344 s0.302 s-0.042 s2.82 MiB2.87 MiB+ 43.27 KiB
/wp-admin/edit.php0.208 s0.194 s-0.014 s2.85 MiB2.89 MiB+ 43.27 KiB
/wp-admin/post-new.php0.749 s0.808 s+0.059 s5.21 MiB5.27 MiB+ 61.61 KiB
/wp-admin/upload.php0.598 s0.489 s-0.109 s2.77 MiB2.79 MiB+ 25.86 KiB
/wp-admin/options-writing.php0.232 s0.225 s-0.007 s2.76 MiB2.78 MiB+ 17.83 KiB
/wp-admin/media-new.php0.372 s0.247 s-0.125 s2.74 MiB2.78 MiB+ 38.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.208 s0.201 s-0.007 s2.76 MiB2.8 MiB+ 43.22 KiB
/wp-admin/post-new.php?post_type=page0.584 s0.570 s-0.014 s5.21 MiB5.26 MiB+ 57.2 KiB
/wp-admin/options-discussion.php0.220 s0.239 s+0.019 s2.75 MiB2.77 MiB+ 26.36 KiB
/wp-admin/edit-comments.php0.417 s0.222 s-0.195 s2.78 MiB2.8 MiB+ 25.9 KiB
/0.286 s0.327 s+0.041 s3.13 MiB3.16 MiB+ 26.68 KiB
Average 0.383 s0.348 s-0.036 s3.25 MiB3.29 MiB+ 37.2 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
PHP63.4%4,3561,80946
Sass22.5%1,54804
JavaScript12.3%8468520
JSON0.8%5301
XML0.5%34771
Bourne Shell0.3%21161
SVG0.1%505
CSS0.1%432
Total 6,867 1,990 80

PHP Code Analysis | More results »

Lines of code 3,054
Total complexity 613
Median class complexity 14.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 215
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

[31-Aug-2023 14:31:19 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
[31-Aug-2023 14:31:20 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_plugin_active() in /wp-content/plugins/gtm-kit/src/Installation/PluginDataImport.php:30
Stack trace:
#0 /wp-content/plugins/gtm-kit/src/Admin/SetupWizard.php(303): TLA_Media\GTM_Kit\Installation\PluginDataImport->get_all()
#1 /wp-includes/rest-api/class-wp-rest-server.php(1188): TLA_Media\GTM_Kit\Admin\SetupWizard->get_install_data()
#2 /wp-includes/rest-api/class-wp-rest-server.php(1035): WP_REST_Server->respond_to_request()
#3 /wp-includes/rest-api/class-wp-rest-server.php(447): WP_REST_Server->dispatch()
#4 /wp-includes/rest-api.php(418): WP_REST_Server->serve_request()
#5 /wp-includes/class-wp-hook.php(310): rest_api_loaded()
#6 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#7 /wp-includes/plugin.php(565): WP_Hook->do_action()
#8 /wp-includes/class-wp.php(398): do_action_ref_array()
#9 /wp-includes/class-wp.php(779): WP->parse_request()
#10 /wp-includes/functions.php(1335): 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 30
See also: All tests for this plugin, How to Hide GTM Kit Admin Menus and Meta Boxes