Front end instrumentation

To use Web3 Analytics, you instrument your app using Analytics (a lightweight open-source frontend analytics abstraction layer) and use the web3 analytics plugin I wrote for a decentralized data back-end. Analytics has plugins for most major analytics systems and they can be run in parallel, so taking this approach removes vendor lock-in and reduces risk.
You can see Web3 Analytics working on this demo site (source code). Click the buttons to generate events. You'll see confirmation toasts appear in the browser. Open the browser console to see the interactions with the decentralized back-end.