Collecting Events to Google Analytics using ClojureScript


Published: 2025-04-11

When you’re building a side project, chances are you need to collect user events so that you can understand user behaviors better and eventually improve your product.

So recently I made a small ClojureScript library for that, it supports web apps or chrome extensions. Check it out at https://github.com/whatacold/google-analytics, it also contains a demo project using shadow-cljs as the build tool.

Hope it helps, and give it a star ⭐ on GitHub and share it if it does, thanks!

And I also made a YouTube video on how to integrate it into your projects:


See also

comments powered by Disqus