Skip to content

Minimal versions of popular analytics libraries. Reduce the impact of third-party scripts on your application.


Notifications You must be signed in to change notification settings


Repository files navigation



This project aims to provide minimal implementations of popular analytics libraries. It's aimed at users who want to reduce the impact of third-party JavaScript on their project, without losing core analytics data. If you require more advance tracking, it's recommended to use the official library instead.

Getting Started

Depending on your preferred service, visit the relevant package below and follow setup instructions:

Library Package Ready
GA4 @minimal-analytics/ga4 Yes
Heap @minimal-analytics/heap No (TBD)