Skip to content
A

Analytics

Lightweight analytics abstraction layer for tracking page views, custom events

by DavidWellsFree

Domain Rating by Ahrefs54

#644in Productivity
0In stores

Description

Analytics is a small open source JavaScript library that gives you one API for tracking page views, custom events and visitor identities, wh…

Highlights

  • One API for page, track and identify calls
  • Plugins for third-party analytics tools
  • Works in the browser and on Node.js
  • Queues events until tools load and works offline
  • Lifecycle hooks and debug mode

Ratings & Reviews

No ratings yet

Be the first to rate Analytics.

People also visit

S

Snowplow Javascript Tracker

Snowplow event tracker for client-side and server-side JavaScript

Productivity
Launch
P

Plausible

Simple, privacy-friendly Google Analytics alternative

Productivity
Launch
O

Open Analytics

Open-source and AI-native Google Analytics alternative for the modern web

AI
Launch
L

Litlyx

Track user behavior, custom events, and conversion funnels in real-time

Productivity
Launch
S

SiteBehaviour

Simple Google Analytics Alternative

Productivity
Launch
V

Visitors

Privacy-friendly Google Analytics alternative

Productivity
Launch

Analytics FAQ

What is the analytics library?

It is an open source abstraction layer for tracking page views, custom events and visitors, so your app does not depend on one analytics tool.

Do I need a plugin?

No. It works without plugins, but the page, track and identify calls will not send data anywhere until you attach one. You can also write an inline plugin that sends data to your own endpoint.

How big is it?

The core package is about 13.2 kB minified and gzipped, and it adds little if you do not persist data in localStorage.

How do I install it?

Run npm install analytics, or load the script from a CDN, then initialize it and add the plugins for your tools.

Does it respect privacy settings?

The project says respecting visitor privacy settings and offering opt-out mechanisms is one of its principles.

Is it free?

Yes. It is an open source library, and its code is on GitHub.

What are the best Analytics alternatives?

Popular alternatives to Analytics include Snowplow Javascript Tracker, Plausible and Litlyx. See all Analytics alternatives

Developer Stuff

Badges