Hi Shan, I am using store backend Api, and here is the code in event.js file
import wixStores from 'wix-stores-backend';
export function wixStores_onCartCreated(event) {
console.log(event)
}
So this code should actually print the event in the site monitoring tool when the cart is created. And I tested it from the live site and noting is happening in the site monitoring tool. Here is the API reference link