Skip to main content
Solved

Add Metrics events with API

  • November 20, 2023
  • 1 reply
  • 126 views

Forum|alt.badge.img+1

Update Metrics with API calls. 

Our website can’t track the Checkout Started and Viewed Product metrics. I think this is because our checkout page is a one-page. Also the checkout does not trigger any actions in WooCom at that stage. 
We have integrated with WooCom som it tracks when orders are completed etc. 

I want to use the API to track when a user Views the Product or when a user goes to the checkout page. How would I do that? 

We have the javascript script running in the header. What more should I add? 

Best answer by Brian Turcotte

  

 Hi @Torkil96!

Here’s an older Community post explaining a similar issue about single-page WooCommerce checkouts:

 

To create custom Checkout Started and Viewed Product metrics, you can use these developer guides to get started:

 

Best,

Brian

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

1 reply

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

  

 Hi @Torkil96!

Here’s an older Community post explaining a similar issue about single-page WooCommerce checkouts:

 

To create custom Checkout Started and Viewed Product metrics, you can use these developer guides to get started:

 

Best,

Brian