Probably, not totally wasted. If you learn the principles of analytics (what KPI:s to measure, why, how to diagnose based on analytics data etc) you can hopefully transition to another analytics platform such as matomo. Kind of like how it isn't wasted time to learn a programming language even if you later have to switch language.