Google Analytics is described as 'Gain insights into website traffic with Advanced Segmentation, Custom Reporting, and data visualization. Enhance marketing and conversions effortlessly' and is a very popular Web Analytics service in the network & admin category. There are more than 100 alternatives to Google Analytics for a variety of platforms, including Web-based, SaaS, Self-Hosted, iPhone and Windows apps. The best Google Analytics alternative is Matomo, which is both free and Open Source. Other great apps like Google Analytics are Plausible Analytics, Rybbit, Openpanel.dev and umami.
For Ecommerce it is a very good alternative, because thanks to easier installation and more data measured, you get better conclusions out of your data quicker.