Show HN: I made a privacy-first minimalist Google Analytics
Creator here. As a developer, I install analytics for clients, but I never feel comfortable installing Google Analytics because Google creates profiles for their visitors, and uses their information for apps (like AdWords). As we all know, big corporations unnecessarily track users without their consent. I want to change that.<p>So I built Simple Analytics. To ensure that it&#x27;s fast, secure, and stable, I built it entirely using languages that I&#x27;m very familiar with. The backend is plain Node.js without any framework, the database is PostgreSQL, and the frontend is written in plain JavaScript.<p>I learned a lot while coding, like sending requests as JSON requires an extra (pre-flight) request, so in my script I use the &quot;text&#x2F;plain&quot; content type, which does not require an extra request. The script is publicly available (<a href="https:&#x2F;&#x2F;github.com&#x2F;simpleanalytics&#x2F;cdn.simpleanalytics.io&#x2F;blob&#x2F;master&#x2F;hello.js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;simpleanalytics&#x2F;cdn.simpleanalytics.io&#x2F;bl...</a>). It works out of the box with modern frontend frameworks by overwriting the &quot;history.pushState&quot;-function.<p>I am transparent about what I collect (<a href="https:&#x2F;&#x2F;simpleanalytics.io&#x2F;what-we-collect" rel="nofollow">https:&#x2F;&#x2F;simpleanalytics.io&#x2F;what-we-collect</a>) so please let me know if you have any questions. My analytics tool is just the start for what I want to achieve in the non-tracking movement.<p>We can be more valuable without exploiting user data.