I've done the Woocommerce integration, all the events are correctly uploaded in Klaviyo exept the Started Checkout.
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.
Best answer by David ToView original
Thanks for being a member of the Klaviyo Community!
Glad to hear you tried troubleshooting by updating and reinstall the plugin first!
Some other common reasons why despite having an up-to-date plugin version, the started checkout metric is not being recorded could be due to not being cookied when testing or if you are using a single step checkout page.
When testing, I would recommend using a private or incognito browser and cookieing your browser by following the steps below:
Using this method would ensure that the browser you are using is cookied and being tracked by Klaviyo. You can learn more about how cookies and Klaviyo’s web tracking works from the Guide to Klaviyo Web Tracking article.
Another possibility as to why your started checkout metric is not trigger is if you were using a single step checkout page. A started checkout metric is created when:
Because a single page checkout process would allow users to enter their contact information, shipping option, and billing information, this would bypass Klaviyo’s ability in collecting the initial information required for the stated checkout metric and only record the placed order metric. Typically, a started checkout metric is recorded when a contact adds an item to their cart, goes to the checkout page and enters their contact information including their email address and proceed to the next page for shipping options. This process of moving from the checkout page to the next shipping option page submits the contact information and triggers the started checkout metric. As such, we would recommend using a multi-step checkout process as opposed to a single page checkout process to properly trigger the started checkout metric.
Lastly, a less common cause of this would be if you were using the Woocommerce Blocks plugin. At this time the Woocommerce Blocks plugin is not supported by Klaviyo as it does not pass the required information in order for Klaviyo to trigger the started checkout metric. You can read more about this in a similar Community thread below:
I hope this helps!
So this means if you do not have a multi-step checkout and/or going to the shipping credentials page is not done through a submit (but through a HREF or whatever), the Klaviyo event does not trigger?
It makes sense if this trigger is activated by a Wordpress hook, but this prevents people from ever customizing their checkout (and even using “block builders” like Gutenberg?).
Is it possible to trigger by a JS onClick or something like that?
That’s correct! As part of the native integration between Klaviyo and WooCommerce, the Started Checkout event is triggered by a webhook as part of the Klaviyo plugin.
For customers who wish to use a more customized checkout process, you certainly can do so! Instead of leverage the default WooCommerce Started Checkout event, this would require you to custom code your own custom Started Checkout event to trigger at your desire point such as via a JS onClick action.
You can find out more about custom coding your own events and using Klaviyo’s API from the following Help Center articles:
Have a great day!
Thanks, David, but instead of pointing us to the generic API docs, could you point us to where it tells us how to add the metric “Started Checkout” to a profile?
Because I have browsed all API docs and could not find an answer to that specific question…..
You can find an example track request for a Started Checkout event from the Started Checkout subsection of the Integrate a Standard Ecommerce Platform Help Center article previous mentioned. In addition, if you wanted to test your track requests prior to setting it up within your backend, you can manually trigger the Started Checkout event for a profile by making test calls while using this track request as instructed in the Make Your First Call subsection of the Getting Started with Klaviyo APIs Help Center article.
Because this would be a custom setup, you can customize how and when this custom Started Checkout event is fired and recorded by your contacts. I would suggest working with a developer or finding a Klaviyo partner who can further assist you on this developmental work to custom code your desired functionality of the Started Checkout event.
For anyone stumbling on to here looking to apply the “Started Checkout” metric: I hope the (rather crude!) code below helps you get started. Put it in your functions.php or footer.php...
Thanks for sharing your findings with the Klaviyo Community! I’m sure this will help other Community members in the future!
Appreciate you for being a part of the Klaviyo Community!
Does this code for the “Started Checkout” metric work for Single Page Checkouts? Or does it have to be a Multi page checkout?