Ecommerce Stats by Visitor


Is there a simple modification that can be made to track ecommerce and goals by visitor (idvisitor), rather than by visit (idvisit)?

(Matthieu Aubry) #2

You can view at the visitor log for example? or use segmentation with Visitor ID: Segmentation - Compare segments of visitors - Analytics Platform - Matomo


Thanks for pointing me in the right direction. I was able to segment the live visitor log by visitConverted, which was a big step forward. Now we’re looking to sum the lost revenue (abandoned carts) by visitorID, since in effect, abandoned carts by visit (and returning visitor) can repeat the revenue lost and skew the metric. Taking a look at the code, this will simply be a plug-in modification, since the tracker logs more than enough data.

(Matthieu Aubry) #4

You maybe dont have to write a plugin. to get all visits with abandoned carts simply do: “&segment=visitEcommerceStatus==abandonedCart,visitEcommerceStatus==orderedThenAbandonedCart”