Solved

WooCommerce

  • 14 April 2023
  • 3 replies
  • 90 views

Badge +1
  • Contributor I
  • 0 replies

Hi!
I've done the Woocommerce integration, all the events are correctly uploaded in Klaviyo exept the Started Checkout and the add to cart metric.
 

I tried to reinstall the plug in, but nothing worked.
I also did some tests myself following the directions found on this community but they don't seem to work.

Any advice?

icon

Best answer by Brian Turcotte 14 April 2023, 18:51

View original

3 replies

Userlevel 7
Badge +36

Hi @Dane!

 

There’s a couple of reasons why you might not be tracking these events. First, I’d run through this list:

  • Check for spaces before the Klaviyo Public API key in the Woocommerce plugin

    • A space may cause the script to break
       
  • Ensure Klaviyo onsite JS is present on the WooCommerce checkout page

    • JS Captures "Started Checkout" events
    • If it’s absent, you can manually add the following code to your site’s main theme file:
      <script type="text/javascript" async 
      src="https://static.klaviyo.com/onsite/js/klaviyo.js?company_id=Public API Key"></script>
       
      • Make sure to replace “Public API Key” with your actual Public API Key

 

If you don’t see any changes, it will likely be useful to deactivate, remove, and reinstall the integration following these steps.

 

I hope this helps get you started!

- Brian

Userlevel 7
Badge +45

@Dane any heavy customization on your website by any chance?

 

Omar Lovert // Polaris Growth // Klaviyo Master Platinum Partner

We help with e-commerce growth through CRO, Klaviyo and CVO

Userlevel 7
Badge +45

@Dane any chance you've had multiple Klaviyo installs? Also something we've seen sporadically. Or running a multisite? Those are all things that can have an impact.

Best is to also have a developer take a look.

 

Omar Lovert // Polaris Growth // Klaviyo Master Platinum Partner

We help with e-commerce growth through CRO, Klaviyo and CVO

Reply