The best open source alternative to Google Tag Manager is Matomo. If that doesn't suit you, we've compiled a ranked list of other open source Google Tag Manager alternatives to help you find a suitable replacement.
Google Tag Manager alternatives are mainly Web Analytics. Browse these if you want a narrower list of alternatives or looking for a specific functionality of Google Tag Manager.
Comprehensive web analytics platform offering full data ownership, privacy protection, and customizable insights for data-driven decision making.

Matomo is a powerful, open-source web analytics platform that puts you in control of your data. Unlike traditional analytics tools, Matomo offers:
Whether you're a small business owner or a large enterprise, Matomo provides the insights you need to optimize your digital presence, improve user experience, and drive growth – all while respecting user privacy and maintaining full control over your valuable data.