Skip to main content

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? 

  

 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


Reply