π Open source, privacy-first web analytics β a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
Update legacy swetrix/node source code link
Blue Mouse2c0c29df3c80
diff --git a/docs/content/docs/api/events.mdx b/docs/content/docs/api/events.mdxindex f0e0465fc..59e9550f2 100644--- a/docs/content/docs/api/events.mdx+++ b/docs/content/docs/api/events.mdx@@ -356,7 +356,7 @@ You can find how to install and use it by opening its [npm package page](https:/We welcome any countributions to Swetrix. If you want to create your own API wrapper, feel free to do so. Please [contact us](https://swetrix.com/contact) and we will list your library here.-Also as an example, feel free to check out the [source code](https://github.com/swetrix/swetrix-node) of our NodeJS API wrapper.+Also as an example, feel free to check out the [source code](https://github.com/Swetrix/swetrix/tree/main/packages/tracker-node) of our NodeJS API wrapper.## Common request examplesdiff --git a/docs/content/docs/integrations/express.mdx b/docs/content/docs/integrations/express.mdxindex 3e1c54548..814fd79db 100644--- a/docs/content/docs/integrations/express.mdx+++ b/docs/content/docs/integrations/express.mdx@@ -3,7 +3,7 @@ title: Express.jsslug: /express-integration----Integrate Swetrix with your [Express.js](https://expressjs.com/) application using the [`@swetrix/node`](https://github.com/swetrix/swetrix-node) server-side SDK to track page views, monitor errors, and capture custom events β all while staying privacy-friendly and GDPR-compliant.+Integrate Swetrix with your [Express.js](https://expressjs.com/) application using the [`@swetrix/node`](https://github.com/Swetrix/swetrix/tree/main/packages/tracker-node) server-side SDK to track page views, monitor errors, and capture custom events β all while staying privacy-friendly and GDPR-compliant.Unlike client-side integrations that inject a tracking script into the browser, `@swetrix/node` sends analytics data directly from your server. This means tracking works even when visitors have JavaScript disabled or use ad blockers, and no third-party scripts are loaded in the browser.@@ -421,6 +421,6 @@ const swetrix = new Swetrix("YOUR_PROJECT_ID", {## Further reading-- [`@swetrix/node` source code](https://github.com/swetrix/swetrix-node) β full source and documentation for the server-side SDK.+- [`@swetrix/node` source code](https://github.com/Swetrix/swetrix/tree/main/packages/tracker-node) β full source and documentation for the server-side SDK.- [Events API](/events-api) β API documentation for direct event submission.- [Express.js documentation](https://expressjs.com/) β official Express.js docs.diff --git a/docs/content/docs/integrations/fastify.mdx b/docs/content/docs/integrations/fastify.mdxindex a990976d0..674015a46 100644--- a/docs/content/docs/integrations/fastify.mdx+++ b/docs/content/docs/integrations/fastify.mdx@@ -3,7 +3,7 @@ title: Fastifyslug: /fastify-integration----Integrate Swetrix with your [Fastify](https://fastify.dev/) application using the [`@swetrix/node`](https://github.com/swetrix/swetrix-node) server-side SDK to track page views, monitor errors, and capture custom events β all while staying privacy-friendly and GDPR-compliant.+Integrate Swetrix with your [Fastify](https://fastify.dev/) application using the [`@swetrix/node`](https://github.com/Swetrix/swetrix/tree/main/packages/tracker-node) server-side SDK to track page views, monitor errors, and capture custom events β all while staying privacy-friendly and GDPR-compliant.Unlike client-side integrations that inject a tracking script into the browser, `@swetrix/node` sends analytics data directly from your server. This means tracking works even when visitors have JavaScript disabled or use ad blockers, and no third-party scripts are loaded in the browser.@@ -444,6 +444,6 @@ const swetrix = new Swetrix("YOUR_PROJECT_ID", {## Further reading-- [`@swetrix/node` source code](https://github.com/swetrix/swetrix-node) β full source and documentation for the server-side SDK.+- [`@swetrix/node` source code](https://github.com/Swetrix/swetrix/tree/main/packages/tracker-node) β full source and documentation for the server-side SDK.- [Events API](/events-api) β API documentation for direct event submission.- [Fastify documentation](https://fastify.dev/docs/latest/) β official Fastify docs.diff --git a/docs/content/docs/integrations/nestjs.mdx b/docs/content/docs/integrations/nestjs.mdxindex 3218d562b..0262a8756 100644--- a/docs/content/docs/integrations/nestjs.mdx+++ b/docs/content/docs/integrations/nestjs.mdx@@ -3,7 +3,7 @@ title: NestJSslug: /nestjs-integration----Integrate Swetrix with your [NestJS](https://nestjs.com/) application using the [`@swetrix/node`](https://github.com/swetrix/swetrix-node) server-side SDK to track page views, monitor errors, and capture custom events β all while staying privacy-friendly and GDPR-compliant.+Integrate Swetrix with your [NestJS](https://nestjs.com/) application using the [`@swetrix/node`](https://github.com/Swetrix/swetrix/tree/main/packages/tracker-node) server-side SDK to track page views, monitor errors, and capture custom events β all while staying privacy-friendly and GDPR-compliant.Unlike client-side integrations that inject a tracking script into the browser, `@swetrix/node` sends analytics data directly from your server. This means tracking works even when visitors have JavaScript disabled or use ad blockers, and no third-party scripts are loaded in the browser.@@ -442,7 +442,7 @@ this.swetrix = new Swetrix("YOUR_PROJECT_ID", {## Further reading-- [`@swetrix/node` source code](https://github.com/swetrix/swetrix-node) β full source and documentation for the server-side SDK.+- [`@swetrix/node` source code](https://github.com/Swetrix/swetrix/tree/main/packages/tracker-node) β full source and documentation for the server-side SDK.- [Express.js integration](/express-integration) β if you use NestJS with Express under the hood, the Express guide covers lower-level patterns.- [Events API](/events-api) β API documentation for direct event submission.- [NestJS documentation](https://docs.nestjs.com/) β official NestJS docs.