https://github.com/swetrix/swetrix-js
⚡️ Lightweight JavaScript tracking script for Swetrix - privacy-first and open source Google Analytics alternative
https://github.com/swetrix/swetrix-js
analytics analyticsjs google-analytics hacktoberfest metrics privacy self-hosted selfhosted tracking web-analytics webanalytics
Last synced: 24 days ago
JSON representation
⚡️ Lightweight JavaScript tracking script for Swetrix - privacy-first and open source Google Analytics alternative
- Host: GitHub
- URL: https://github.com/swetrix/swetrix-js
- Owner: Swetrix
- License: mit
- Created: 2021-04-16T21:44:38.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-30T21:29:19.000Z (about 1 month ago)
- Last Synced: 2025-04-01T16:17:15.665Z (about 1 month ago)
- Topics: analytics, analyticsjs, google-analytics, hacktoberfest, metrics, privacy, self-hosted, selfhosted, tracking, web-analytics, webanalytics
- Language: TypeScript
- Homepage: https://swetrix.com
- Size: 236 KB
- Stars: 173
- Watchers: 2
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/funding.yml
- License: LICENSE
Awesome Lists containing this project
README
[](https://data.jsdelivr.com/v1/package/gh/Swetrix/swetrix-js/stats)
[](https://bundlephobia.com/api/size?package=swetrix)
[](https://github.com/swetrix/swetrix-js/issues)# Swetrix Tracking Script
This repository contains the analytics script which is used at https://swetrix.com \
You can find the detailed documentation and use cases at our [docs page](https://docs.swetrix.com/).Feel free to contribute to the source code by opening a pull requests. \
For any questions, you can open an issue ticket, refer to our [FAQs](https://swetrix.com/#faq) page or reach us at [email protected]The latest live versions of the script are located at [jsDelivr](https://swetrix.org/swetrix.js) and [NPM](https://www.npmjs.com/package/swetrix).
# Selfhosted API
If you are selfhosting the [Swetrix-API](https://github.com/Swetrix/swetrix-api), be sure to point the `apiUrl` parameter to: `https://yourapiinstance.com/log`# Donate
You can support the project by donating us at https://ko-fi.com/andriir \
We can only run our services by once again asking for your financial support!