We have NextJS app and we were able to integrate klaviyo and use it with the new object as per the docs.Â
Events that are working:Â
 - Active on Site
 - Viewed Product
 - Added to Cart
 - Started Checkout
Â
Events that are NOT working:Â
 - Placed Order
 - Ordered Product
Â
All of the events are being executed from the client side!
Why `Placed Order` and `Ordered Product` are being executed from the client side?
Because there is no sensitive information in the data and in the klaviyo docs it is stated that it is RECOMENDED not MANDATORY. Server side events
Â
E.g of the event:Â
  window.klaviyo.push(
    'track',
    'Placed Order',
  {
    $value: orderData.total_with_discount,
    OrderID: orderData._id,
    OrderUserID: orderData.user_id,
    OrderDiscount: orderData.discount,
    OrderProductNames: currentItemNames,
    OrderItemCount: orderData.products.length,
    OrderCreatedAt: orderData.date_created
  }
]);
Â
So, what would be the issue here?