How to track Add To Cart & Remove From Cart using HTTP API

escalated

(Manoj Navale) #1

Hi,
I was going through tracking documentation “Tracking HTTP API” (Tracking HTTP API: API Reference - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3),
There I was able to see ‘Ecommerce’ section to track cart and order detail.

But nowhere it is mentioned how it handles individual Cart Update (Add To Cart, Remove From Cart & Update Quantity) events.

Does just adding the ‘Ecommerce’ tag handles showing all Cart Updates in Reports?
If not, is there any other way to track Cart updates?

Or do I need to use ‘Event Tracking’ parameters to handle it?
(like, e_c = ‘Ecommerce’, e_a=‘Add To Cart’, e_n=‘SKU ID’, e_v=[item cost]
if it’s right, problem is I can not manage quantity here…)