Our users often faced an issue where ad blockers prevented analytics events from being sent.
This happened because:
the tracking script loaded from a CDN was being blocked, and
even when it loaded, event requests made with
fetchorsendBeaconwere often blocked as well.
To fix this, we released an official NPM package that sends events directly from your app — without relying on an external script.
Image Beacon Support
We’ve also added event delivery via Image Beacon, both in the CDN tracker and the NPM package.
This approach bypasses blockers that interfere with fetch and sendBeacon, making analytics even more reliable.
About the NPM Package
OneDollarStats is a lightweight, zero-dependency analytics library for client applications that automatically tracks pageviews, UTM parameters, and custom events with minimal setup.
It supports hash-based navigation, automatically collects UTM parameters, tracks clicks on elements with data-s-event attributes, and integrates effortlessly.
Learn More
Full documentation → docs.onedollarstats.com/installation#npm-package