Analytics: An Open-source Self-hosted Web Analytics

Lightweight analytics abstraction layer for tracking page views, custom events, & identifying visitors

Analytics: An Open-source Self-hosted Web Analytics
Photo by Boris Smokrovic / Unsplash

Table of Content

What is Analytics?

Analytics is a free open-source lightweight analytics abstraction library for tracking page views, custom events, & identify visitors.

Features

  • Extendable - Bring your own third-party tool & plugins
  • Test & debug analytics integrations with time travel & offline mode
  • Add functionality/modify tracking calls with baked in lifecycle hooks
  • Isomorphic. Works in browser & on server
  • Queues events to send when analytic libraries are loaded
  • Conditionally load third party scripts
  • Works offline
  • TypeScript support
  • Developer-friendly API.
  • Easy to integrate and add to any JavaScript web project.

Why?

Companies frequently change analytics requirements based on evolving needs. This results in a lot of complexity, maintenance, & extra code when adding/removing analytic services to a site or application.

This library aims to solve that with a simple pluggable abstraction layer.

Driving philosophy:

  • You should never be locked into an analytics tool
  • DX is paramount. Adding & removing analytic tools from your application should be easy
  • Respecting visitor privacy settings & allowing for opt-out mechanisms is crucial
  • A pluggable API makes adding new business requests easy

To add or remove an analytics provider, adjust the plugins you load into analytics during initialization.

Plugins and Third-party Analytics

Analytics currently supports the following services:

  • Google Analytics
  • Google Tag Manager
  • Segment
  • Customer.io
  • HubSpot
  • Snowplow Analytics
  • Mixpanel
  • Amplitude
  • AWS Pinpoint
  • FullStory
  • Intercom
  • CrazyEgg
  • GoSquared
  • Simple Analytics
  • Ownstats
  • Perfume.js
  • Countly
  • Custify

License

  • MIT license

Resources








Open-source Apps

9,500+

Medical Apps

500+

Lists

450+

Dev. Resources

900+

Read more

Bias in Healthcare AI: How Open-Source Collaboration Can Build Fairer Algorithms for Better Patient Care

Bias in Healthcare AI: How Open-Source Collaboration Can Build Fairer Algorithms for Better Patient Care

The integration of artificial intelligence (AI), particularly large language models (LLMs) and machine learning algorithms, into healthcare has transformed the industry dramatically. These technologies enhance various aspects of patient care, from diagnostics and treatment recommendations to continuous patient monitoring. However, the application of AI in healthcare is not without challenges.