Our Klaviyo-Woocommerce integration is allegedly “working” if I look at the Klaviyo “Integrations” page, which shows that the integration is “enabled” (green and checkmark). However, if I look at the Klaviyo woocommerce reports, it appears that all our website ecommerce appeared to cease at about the time we sunsetted our relationship with the marketing vendor that had been managing our site. However, our website traffic and ecommerce has actually continued unabated.
But our ecommerce data is NOT finding its way into Klaviyo. ??
How can I troubleshoot this integration and turn back on whatever they turned off? ?? Any chance it could be a plugin issue (there was a woocommerce affiliate program plugin that was released around the same time…)
]]>Hi,
When the Klaviyo plugin is installed and enabled, it changes the font style across the entire website, displaying bold and italic fonts even before adding the embed form. We are using Elementor, the Hello theme, and an HTML block to add the Klaviyo embed code in the footer. The website loads correctly for a moment, but after that, the font sizes become inconsistent throughout the site.
Everything works fine if I disable plugin.
Please help.
Since update errors in console with plugin as it is placing the info in header not footer. This can only be rectified with a plugin update. Please advise.
Hello.
I would like to transmit an individually generated rating link via php code as an additional property to Klaviyo for some orders.
Similar to order meta. This is not an existing order_meta field. But the functionality is similar.
If necessary, we can also create a new order_meta field if there is no other way.
How can we modify the payload of an order that Klaviyo receives from WooCommerce? Is there a filter for this?
]]>Hello Klaviyo team,
in Germany there is a very widely used cookie consent tool for WordPress. It is called “Borlabs Cookie”.
The cookie banner configuration for Klaviyo took us a relatively long time and we had to adapt the code in the Klaviyo plugin. That wasn’t very user-friendly. It could be much easier.
Borlabs Cookie offers a library in which other WordPress plugins are stored.
You can select a plugin there and then Borlabs Cookie automatically makes the necessary configurations so that possible tracking scripts etc. are only loaded and executed after a user opt-in.
External iframes can also be blocked. This is very practical and saves website operators a lot of time.
I would like to suggest that you get in touch with the makers of Borlabs Cookie and possibly submit a sample configuration.
This would make it much easier for German/EU website operators with a WordPress site to use Klaviyo with a popular cookie consent tool without wasting time manually.
Hello.
We have adapted our cookie banner service (Borlabs Cookie WordPress Plugin) to make Klaviyo compatible with it.
This was partly difficult because Klaviyo does not provide script handles everywhere.
e.g. for widgets or the general klaviyo script.
Please add the script handle to the function “kl_add_async” in wp-content/plugins/klaviyo/inc/kla-analytics.php.
This makes it easier for Cookie-Tols to work with Klaviyo.
Working code example:
public function kl_add_async( $tag, $handle, $src ) {
if ( self::KLAVIYO_JS_HANDLE !== $handle ) {
return $tag;
}
return "<script id=\"".esc_attr($handle)."\" async src='" . esc_url($src) . "'></script>"; // phpcs:ignore
}
We do not currently use the widget forms.
There, a unique ID can also be helpful to block the widget-HTML via Borlabs Cookie Content Blocker until the opt-in by the user.
But the widget issue is of secondary importance to us for now.
The klaviyo script is more important.
]]>Stopped working a few days ago. No changes or updates on my end and all other metrics are working just fine. Tried reintegrating, same result.
]]>Hi,
I’m looking for assistance in removing the <span></span>
tags from product titles. These tags appear between the product title and the attributes selected by the customer. I’m using Klaviyo for WooCommerce to manage email communications, and the product titles with these span tags are being sent in the emails. How can I remove them?
Hello,
I’ve faced with the problem to get some data from your filter on add to cart.
You have a function named?kl_added_to_cart_event?and three parameters:?$cart_item_key, $product_id,?and?$quantity. However, you’re not using?$cart_item_key. Can you add it to?the kl_build_add_to_cart_data?function and to the kl_added_to_cart filter? This parameter will be very useful for adding additional data about custom products.
Looking forward,
Nazar.
I dont use the reviews feature but the plugin is loading around 6 scripts related to it that are not needed nor wanted. I want to disable reviews completely and stop loading these but doesn’t seem to be a way from klaviyo dashboard or from wp admin? Please advise.
]]>How can we make the Klayvio checkbox to subscribe to newsletters checked by default on page load?
]]>Hi,
we’re using the plugin in v3.3.5 and klaviyo does since today complain, that we’re using a deprecated revision of the API.
Klaviyo does complain against revision 2023-08-15 – reviewing the sourcecode of the plugin I can find the exact same revision used here:/includes/wck-added-to-cart.php
/includes/js/wck-started-checkout.js
There are 343 days left until the revision is retired – so nothing to worry about yet… Guess an update will arrive in near future with an updated revision?
Thanks and beste regards
– Mathias
Hi!
I keep seeing in logs PHP Fatal error: Cannot declare class WCK\Blocks\CheckoutIntegration, because the name is already in use in /srv/htdocs/wp-content/plugins/klaviyo/includes/blocks/CheckoutIntegration.php on line 16
error.
I searched all files on my site and cannot find any CheckoutIntegration
re-declaration. Do you know what could be an issue? It happens when I visit the checkout page.
I have a Klaviyo email sign up form code inserted in the footer via Elementor. It displays as intended site-wide. But on the checkout page (when an item(s) is in the cart) the form is not displayed. I think it could be related to how the theme handles checkout.
Update: I was able to get it working by forcing the script onto the checkout page using a code inserter plugin. The Klaviyo plugin does it for the rest of the site and designed to work with Woocommerce so still could be theme related. I am using Loobek WooCommerce theme
Getting a critical error in the logs for this plugin on the lates version:
2024-07-08T09:10:47+00:00Critical Uncaught TypeError: WCK_API::is_most_recent_version(): Argument #1 ($plugins_transient) must be of type ?stdClass, bool given, called in /var/www/xxx/htdocs/wp-content/plugins/klaviyo/includes/class-wck-api.php on line 591 and defined in /var/www/xxx/htdocs/wp-content/plugins/klaviyo/includes/class-wck-api.php:74 Additional context{ “error”: { “type”: 1, “file”: “\/var\/www\/xxx\/htdocs\/wp-content\/plugins\/klaviyo\/includes\/class-wck-api.php”, “line”: 74 }, “backtrace”: [ “”, “#0 \/var\/www\/xxx\/htdocs\/wp-content\/plugins\/klaviyo\/includes\/class-wck-api.php(591): WCK_API::is_most_recent_version()”, “#1 \/var\/www\/xxx\/htdocs\/wp-includes\/class-wp-hook.php(326): klaviyo_check_for_plugin_update()”, “#2 \/var\/www\/xxx\/htdocs\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters()”, “#3 \/var\/www\/xxx\/htdocs\/wp-includes\/plugin.php(517): WP_Hook->do_action()”, “#4 \/var\/www\/xxx\/htdocs\/wp-includes\/option.php(2418): do_action()”, “#5 \/var\/www\/xxx\/htdocs\/wp-includes\/update.php(393): set_site_transient()”, “#6 \/var\/www\/xxx\/htdocs\/wp-includes\/class-wp-hook.php(324): wp_update_plugins()”, “#7 \/var\/www\/xxx\/htdocs\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters()”, “#8 \/var\/www\/xxx\/htdocs\/wp-includes\/plugin.php(517): WP_Hook->do_action()”, “#9 \/var\/www\/xxx\/htdocs\/wp-admin\/admin.php(385): do_action()”, “#10 \/var\/www\/xxx\/htdocs\/wp-admin\/update.php(16): require_once(‘…’)”, “#11 {main}”, “thrown” ] }
Please extend the kl_checkout_item Filter to allow passing $cart_item along to further allow developers to customise the payload before it is sent to Klaviyo (e.g. interim Product Bundle support). In wck-cart-rebuild.php
From: add_filter(‘kl_checkout_item’,’kl_modify_checkout_item’,1,2);
To: add_filter(‘kl_checkout_item’,’kl_modify_checkout_item’,1,3);
From: $event_data[‘$extra’][‘Items’][] = apply_filters( ‘kl_checkout_item’, $item, $product );
To: $event_data[‘$extra’][‘Items’][] = apply_filters( ‘kl_checkout_item’, $item, $product, $values );
Hey, I have a flow that sends our customers an email with the confirmation of their order. However, we sometimes add separate fees to our orders. These order lines are not send via the WooCommerce plugin ‘placed order’ event.
So when an order is sent I can see much data from the order: for example Shipping/billing details and line-items. When I collect webhook data myself from the woocommerce event ‘order update’, I get a lot more order information.
I am looking for the arrays: tax_lines, shipping_lines, fee_lines and coupon_lines. Because this data is very usable in order confirmation mails.
Is there any chance you can add this data to the WooCommerce/Klaviyo plugin?
]]>Hi,
your plugin isn’t compatible with Elementor plugin. It prevent editor to load, once your plugin is deactivated, all works fine.
]]>Please allow both the Cart and/or Checkout page to be used to re-generate the Cart in WooCommerce.
Currently only the value returned by wc_get_cart_url() is allowed which ignores the other.
e.g. /cart/?wck_rebuild_cart=… and /checkout/?wck_rebuild_cart=…
File affected: /includes/wck-cart-functions.php
wck_rebuild_cart()
The current URL check on line #82 and the page refresh URL check on line #124 require rework to support this.
]]>Hi Klaviyo team, please add Abandoned Cart recovery support for WooCommerce Product Bundles.
Example Product Bundle: https://cycliq.com/bundles/fly12-sport-bundle/
WooCommerce Product Bundles Plugin
https://woocommerce.com/products/product-bundles/
Public API Key: XrWBv4
]]>Hello,
We are using latest plugins, and with wp rocket, I face this issue. https://snipboard.io/TSQb1X.jpg
It disconnects my klaviyo account.
Thanks,
Vidish
I’m not getting the woocommerce trigger metrics. My integration is set up properly. Woocommerce has a one page checkout, how do I trigger it? I’m guessing its because of it that abandoned checkout doesn’t work
For some reason emails are sending to spam too
]]>Received an email from Klaviyo saying our website is using outdated API endpoints. From searching through the plugin code it appears to be the official Klaviyo plugin using v1
Is this the case? If yes, are there plans to update it before the deadline?
Hello,
We recently found that a bunch of our Content > Products in Klaviyo got updated from a sandbox site where product images and links were changed to https://localhost
Please check the plugin and figure out a way to provide staging protection to it. It would be a real problem to send out a newsletter containing products (and their images) that link to staging!
We’re running the re-sync now and hope that resolves the matter, as well as always deactivating the Klaviyo plugin in sandbox or staging environments. I’ll reply here if that doesn’t remedy our immediate situation.
Still, I’d like to hear back on how this can be prevented for the larger community.
]]>If a customer updates their email address on their WordPress account, is that change synced to Klaviyo in some way? Can it be?
]]>Using the plugin and I get these two console errors. This only occurred recent updates didn’t notice it eariler. I am using the classic editor plugin so wondered if this error is because klaviyo is trying to still load block editor aspects even though classic editor is being used. And if there is a function or action I can run to disable Klaviyo block editor scripts manually since it doesn’t seem to be picking this up manually.
Scripts that have a dependency on [wc-settings, wc-blocks-checkout] must be loaded in the footer, klaviyo-klaviyo-checkout-block-editor-script was registered to load in the header, but has been switched to load in the footer instead. See https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5059
Scripts that have a dependency on [wc-settings, wc-blocks-checkout] must be loaded in the footer, klaviyo-klaviyo-checkout-block-view-script was registered to load in the header, but has been switched to load in the footer instead. See https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5059
Hi
I was wondering if we could maybe add a filter that will allow modifying the product data before it gets sent?
// wp-content/plugins/klaviyo/includes/wck-viewed-product.php:44
// Replace
wp_localize_script( 'wck_viewed_product', 'item', $item );
// With this
wp_localize_script( 'wck_viewed_product', 'item', apply_filters( 'wck_viewed_product', $item ) );
Thanks!
Michael
Hello,
I get the following error when trying to complete the setup woocommerce/klaviyo:
“Your Authentication credentials have expired or are invalid. Please restart the integration process.”
We encountered an error while attempting to establish an integration between WooCommerce and Klaviyo. To resolve, please review the troubleshooting steps outlined in our Help Center.
Details: Unable to access API with credentials specified.
I am correctly logged in to my admin panel in woocommerce and to my Klaviyo account.
(Please note I can’t create a support ticket as my account is free and over 6 month old)
]]>Multiple Error logs line items
AH01071: Got error ‘PHP message: PHP Warning: Undefined array key “klaviyo_sms_subscribe_checkbox” in?/var/www/vhosts/{WEBSITE}.com/httpdocs/wp-content/plugins/klaviyo/includes/blocks/StoreApi.php?on line 48′, referer: https://{WEBSITE}.com
Other related information: PHP 8.0, WordPress 6.2.2, Woocommerce 7.8.0
]]>Hello,
When my clients receive emails to reset their passwords because they request it, they receive the typical email but the link in the content of the email doesn’t work. It is redirected to Page not found. For example, when it says: Click here to reset your password go here: https://natursenior.com/ls/click?upn=qgzkWj8wpf8tfdJE-2FmeEoV1iqQXRwzfNikncQppegj9b4kRT39nO4SlUD5UBfbNWdz8CHW2cJR4GZQ4LOqBhRjHBZooa64qkXwC0bEAVQDOF77MQ DRzUh HHKqGg8p80hKpH9_r-2BtZGgcq2PsZ3BoB08JnsLQh16w3EkvqzmWpyRW-2BYEA-2FJiHrwt8k8E23oNW2D-2FsOHOw3KKmxm1PRI0iSciSdYHmqazSe-2BZ1dKdMGHKC 0OmPOESNo6CDib Skro4t84-2BceJIaJfTRrBy31DF1bHRO-2BvfFjAlo60QibNQxbw1K2dedPmaoXLbK6ZhHGHyAUwgomBmXc3J-2FsDHkvBL2-2Fv7JSbe9WgNPJyoGPnsORUqo9zCk-3D
Can you help me? A few months ago I had this error and I solved it by migrating the web to a WooCommerce application because it was installed on a WordPress and with that it was solved, however, the problem reappeared. WooCommerce support has told me the following:
“Just to clarify, the format of the password reset link in the email is not the standard /wp-login.php?action
structure. It is of the click?upn=
type of structure.
With a search online, I was able to verify that this is related with click tracking.
While investigating the site’s System Status Report (SSR), I noticed “Klaviyo: por Klaviyo Inc. – 3.2.1” in the list of plugins and also “Omnisend for Woocommerce” (I already asked them also).
My recommendation is to reach out to their support channel (support forum linked here) regarding this, as they would be in a better position to assist you.
I trust that points you in the right direction, but if you have more questions, let us know.
We’re happy to help.”
]]>