How do Upsell apps track Analytics?

Hey guys, I am working on an Upsell app and I wanted to ask how can I track Analytics that compares the AOV increase and similar stuff? Basically telling merchants how this app is boosting their conversions and revenue

Use web pixels and listen to add to cart/purchase events.