Minimal Google Analytics
Minimal analytics is a Google Analytics replacement created by David Künnen. This is an npm package of that code snippet.
I created this package for use in my personal projects. Feel free to do the same, PR's with improvements are welcome.
Description, see project page: https://minimalanalytics.com/
Add the npm module using either yarn or npm:
yarn add minimal-analytics
// other imports and code
That's it, you're all set. 🎉