I am developing a piwik plugin for ecommerce tracking.
All my completed ecommerce orders are also showing as abandoned cart .
The setTokenAuth and setIp is done
The addEcommerceItem() and doTrackEcommerceOrder() is done when receiving the IPN.
I noticed that the ID of the visitor is different, when recording the items for the cart, or when recording the items from the order.
Any tips to help me ?
Hi - Did you every resolve this issue, we are seeing something similar with one of our websites - completed orders are showing as abandoned carts (other wesbsites set up in the same way are tracking correctly.
Any help would be greatly appreciated.
Can you check:
- You validated the order in Matomo? (check in the tracking code and in the Maotmo visits log)
- The visitor ID or user ID is still the same during the whole ecommerce session?
- You don’t create a new empty cart after the user checked out?