> [!NOTE]
> This repository has been archived. Development has moved to the [Swetrix monorepo](https://github.com/Swetrix/swetrix) under [`packages/tracker-js`](https://github.com/Swetrix/swetrix/tree/main/packages/tracker-js). Please open issues and pull requests there instead.
[](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 contact@swetrix.com
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!