Skip to main content
Solved

WooCommerce


Forum|alt.badge.img+1

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?

Best answer by Brian Turcotte

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

View original
Did this topic or the replies in the thread help you find an answer to your question?

3 replies

Brian Turcotte
Forum|alt.badge.img+37
  • Klaviyo Alum
  • 1393 replies
  • Answer
  • April 14, 2023

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


Omar
Partner - Platinum
Forum|alt.badge.img+46
  • 2025 Champion
  • 494 replies
  • April 14, 2023

@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


Omar
Partner - Platinum
Forum|alt.badge.img+46
  • 2025 Champion
  • 494 replies
  • April 15, 2023

@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