Klaviyo 3.7.1

Does Klaviyo work with WordPress 6.8.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 57.76 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.8.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100,000+
WordPress.org page https://wordpress.org/plugins/klaviyo/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=klaviyo%2Fklaviyo.php&plugin_status=all&paged=1&s&_wpnonce=a9d4a441f0
Aspect after-activation
HTTP status 200
Load time 0.391 s
Memory usage 3.58 MiB
JS errors None
Resource errors None

Klaviyo

Page screenshot: Klaviyo
URL /wp-admin/admin.php?page=klaviyo_settings
Aspect menu-item
HTTP status 200
Load time 0.203 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Klaviyo → Help

Page screenshot: Klaviyo → Help
URL /wp-admin/admin.php?page=klaviyo_help
Aspect menu-item
HTTP status 200
Load time 0.166 s
Memory usage 3.54 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.203 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.786 s
Memory usage 5.88 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.402 s0.324 s-0.078 s3.51 MiB3.56 MiB+ 53.98 KiB
/wp-admin/edit.php0.226 s0.238 s+0.012 s3.57 MiB3.62 MiB+ 51.63 KiB
/wp-admin/post-new.php0.908 s0.706 s-0.202 s6.06 MiB6.18 MiB+ 125.53 KiB
/wp-admin/upload.php0.664 s0.349 s-0.315 s3.52 MiB3.56 MiB+ 34.22 KiB
/wp-admin/options-writing.php0.227 s0.205 s-0.022 s3.5 MiB3.54 MiB+ 38.21 KiB
/wp-admin/media-new.php0.295 s0.252 s-0.043 s3.49 MiB3.54 MiB+ 46.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.211 s0.459 s+0.248 s3.5 MiB3.56 MiB+ 57.08 KiB
/wp-admin/post-new.php?post_type=page0.751 s0.604 s-0.147 s6.05 MiB6.17 MiB+ 121.06 KiB
/wp-admin/options-discussion.php0.301 s0.317 s+0.016 s3.5 MiB3.54 MiB+ 34.71 KiB
/wp-admin/edit-comments.php0.217 s0.226 s+0.009 s3.52 MiB3.56 MiB+ 34.21 KiB
/0.328 s0.218 s-0.110 s3.44 MiB3.48 MiB+ 38.33 KiB
Average 0.412 s0.354 s-0.057 s3.97 MiB4.03 MiB+ 57.76 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
JavaScript
Language % Lines of code Comment lines Files
PHP83.1%2,1581,35524
JavaScript9.4%245826
CSS5.8%150191
JSON1.3%3401
SVG0.4%1104
Total 2,598 1,456 36

PHP Code Analysis | More results »

Lines of code 2,073
Total complexity 348
Median class complexity 11.0
Median method complexity 1.5
Most complex class WPKlaviyoAdmin
Most complex function wck_build_cart_data()
Classes 14
Methods 96
Functions 39

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

Sidebar Widgets 2

ID Name
klaviyo_emailsignup_widgetKlaviyo: Legacy Email Sign Up
klaviyo_embedemailsignup_widgetKlaviyo: Email Sign Up

PHP Error Log 6 lines

[15-Sep-2025 17:21:48 UTC] PHP Deprecated:  htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/klaviyo/includes/class-wck-options.php on line 79
[15-Sep-2025 17:21:48 UTC] PHP Deprecated:  htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/klaviyo/includes/class-wck-options.php on line 79
[15-Sep-2025 17:21:48 UTC] PHP Deprecated:  htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/klaviyo/includes/class-wck-options.php on line 79
[15-Sep-2025 17:21:48 UTC] PHP Deprecated:  htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/klaviyo/includes/class-wck-options.php on line 79
[15-Sep-2025 17:21:48 UTC] PHP Deprecated:  htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/klaviyo/includes/class-wck-options.php on line 79
[15-Sep-2025 17:21:48 UTC] PHP Deprecated:  htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/klaviyo/includes/class-wck-options.php on line 79
See also: All tests for this plugin, How to Hide Klaviyo Admin Menus