Klaviyo 3.6.0

Does Klaviyo work with WordPress 6.8.1 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: 59.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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 80,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=8035a24ef7
Aspect after-activation
HTTP status 200
Load time 0.334 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.184 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.148 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.176 s
Memory usage 3.48 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.404 s
Memory usage 5.89 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.363 s0.299 s-0.064 s3.51 MiB3.56 MiB+ 55.48 KiB
/wp-admin/edit.php0.207 s0.200 s-0.007 s3.57 MiB3.62 MiB+ 53.13 KiB
/wp-admin/post-new.php0.899 s0.663 s-0.236 s6.06 MiB6.18 MiB+ 127.03 KiB
/wp-admin/upload.php0.781 s0.794 s+0.013 s3.52 MiB3.56 MiB+ 34.98 KiB
/wp-admin/options-writing.php0.239 s0.207 s-0.032 s3.5 MiB3.54 MiB+ 39.03 KiB
/wp-admin/media-new.php0.285 s0.257 s-0.028 s3.49 MiB3.54 MiB+ 47.23 KiB
/wp-admin/edit-tags.php?taxonomy=category0.201 s0.208 s+0.007 s3.5 MiB3.56 MiB+ 57.9 KiB
/wp-admin/post-new.php?post_type=page0.757 s0.587 s-0.170 s6.05 MiB6.17 MiB+ 121.88 KiB
/wp-admin/options-discussion.php0.290 s0.270 s-0.020 s3.5 MiB3.54 MiB+ 35.53 KiB
/wp-admin/edit-comments.php0.453 s0.238 s-0.215 s3.52 MiB3.56 MiB+ 35.03 KiB
/0.313 s0.215 s-0.098 s3.43 MiB3.48 MiB+ 43.92 KiB
Average 0.435 s0.358 s-0.077 s3.97 MiB4.03 MiB+ 59.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
JavaScript
Language % Lines of code Comment lines Files
PHP83.5%2,1581,34724
JavaScript8.9%231776
CSS5.8%150191
JSON1.3%3401
SVG0.4%1104
Total 2,584 1,443 36

PHP Code Analysis | More results »

Lines of code 2,073
Total complexity 350
Median class complexity 11.0
Median method complexity 1.0
Most complex class WPKlaviyoAdmin
Most complex function wck_build_cart_data()
Classes 14
Methods 94
Functions 44

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

[03-Jun-2025 14:20:32 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
[03-Jun-2025 14:20:32 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
[03-Jun-2025 14:20:32 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
[03-Jun-2025 14:20:32 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
[03-Jun-2025 14:20:32 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
[03-Jun-2025 14:20:32 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