π 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
fix: dead links
Blue Mouse04e2499486e3
diff --git a/docs/content/docs/integrations/angular.mdx b/docs/content/docs/integrations/angular.mdxindex 31135bdc3..fd458c914 100644--- a/docs/content/docs/integrations/angular.mdx+++ b/docs/content/docs/integrations/angular.mdx@@ -36,7 +36,7 @@ export class AppComponent implements OnInit {```<Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/aspnet.mdx b/docs/content/docs/integrations/aspnet.mdxindex 4de0f353b..b930a6094 100644--- a/docs/content/docs/integrations/aspnet.mdx+++ b/docs/content/docs/integrations/aspnet.mdx@@ -53,7 +53,7 @@ Open your shared layout file β typically `Views/Shared/_Layout.cshtml` (MVC) o```<Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/astro.mdx b/docs/content/docs/integrations/astro.mdxindex 8f4c296a1..70781f5c8 100644--- a/docs/content/docs/integrations/astro.mdx+++ b/docs/content/docs/integrations/astro.mdx@@ -56,7 +56,7 @@ const { title } = Astro.props;```<Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>@@ -136,7 +136,7 @@ const { title } = Astro.props;</Steps><Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/bubble.mdx b/docs/content/docs/integrations/bubble.mdxindex 34d553d40..5c2fb8dcb 100644--- a/docs/content/docs/integrations/bubble.mdx+++ b/docs/content/docs/integrations/bubble.mdx@@ -38,7 +38,7 @@ Scroll down to **Script/meta tags in header** and paste the following snippet. T```<Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/django.mdx b/docs/content/docs/integrations/django.mdxindex 01af0bbb1..d4fc592a1 100644--- a/docs/content/docs/integrations/django.mdx+++ b/docs/content/docs/integrations/django.mdx@@ -53,7 +53,7 @@ Django projects typically have a base template that all other templates extend v```<Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/docusaurus.mdx b/docs/content/docs/integrations/docusaurus.mdxindex 5869d02c1..e40fc4064 100644--- a/docs/content/docs/integrations/docusaurus.mdx+++ b/docs/content/docs/integrations/docusaurus.mdx@@ -43,7 +43,7 @@ document.addEventListener("DOMContentLoaded", function () {That's it β Swetrix will now automatically track page views across your entire site, including client-side navigations.<Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/eleventy.mdx b/docs/content/docs/integrations/eleventy.mdxindex 2914730fe..f97587a93 100644--- a/docs/content/docs/integrations/eleventy.mdx+++ b/docs/content/docs/integrations/eleventy.mdx@@ -50,7 +50,7 @@ Add the Swetrix script just before the closing `</body>` tag:```<Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/express.mdx b/docs/content/docs/integrations/express.mdxindex 32db86049..3e1c54548 100644--- a/docs/content/docs/integrations/express.mdx+++ b/docs/content/docs/integrations/express.mdx@@ -36,7 +36,7 @@ const swetrix = new Swetrix("YOUR_PROJECT_ID");```<Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/fastapi.mdx b/docs/content/docs/integrations/fastapi.mdxindex 369039216..27c1f11af 100644--- a/docs/content/docs/integrations/fastapi.mdx+++ b/docs/content/docs/integrations/fastapi.mdx@@ -165,7 +165,7 @@ class SwetrixClient:```<Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/fastify.mdx b/docs/content/docs/integrations/fastify.mdxindex 8c6e1fbf2..a990976d0 100644--- a/docs/content/docs/integrations/fastify.mdx+++ b/docs/content/docs/integrations/fastify.mdx@@ -26,7 +26,7 @@ const swetrix = new Swetrix("YOUR_PROJECT_ID");```<Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/flask.mdx b/docs/content/docs/integrations/flask.mdxindex c7ce12a71..a842d7771 100644--- a/docs/content/docs/integrations/flask.mdx+++ b/docs/content/docs/integrations/flask.mdx@@ -61,7 +61,7 @@ All page templates that extend this base will automatically include the tracking```<Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/gatsby.mdx b/docs/content/docs/integrations/gatsby.mdxindex 5d7d1708c..ff31daf42 100644--- a/docs/content/docs/integrations/gatsby.mdx+++ b/docs/content/docs/integrations/gatsby.mdx@@ -32,7 +32,7 @@ export const onRouteUpdate = () => {```<Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/gitbook.mdx b/docs/content/docs/integrations/gitbook.mdxindex 983688b11..edda4ea34 100644--- a/docs/content/docs/integrations/gitbook.mdx+++ b/docs/content/docs/integrations/gitbook.mdx@@ -40,7 +40,7 @@ GitBook's custom script injection requires:Click **Save** to apply the script to your documentation site.<Callout type="warn">-Don't forget to replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Don't forget to replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/hexo.mdx b/docs/content/docs/integrations/hexo.mdxindex c2c381131..7052f7537 100644--- a/docs/content/docs/integrations/hexo.mdx+++ b/docs/content/docs/integrations/hexo.mdx@@ -34,7 +34,7 @@ In your active theme's directory, create the file `themes/<your-theme>/layout/_p```<Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/htmx.mdx b/docs/content/docs/integrations/htmx.mdxindex 6031c75bc..5b7b3228b 100644--- a/docs/content/docs/integrations/htmx.mdx+++ b/docs/content/docs/integrations/htmx.mdx@@ -32,7 +32,7 @@ Place the following just before the closing `</body>` tag in your base template:```<Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/laravel.mdx b/docs/content/docs/integrations/laravel.mdxindex 91c0f8712..979d3335b 100644--- a/docs/content/docs/integrations/laravel.mdx+++ b/docs/content/docs/integrations/laravel.mdx@@ -54,7 +54,7 @@ Open your layout file and add the Swetrix script just before the closing `</head```<Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/mkdocs.mdx b/docs/content/docs/integrations/mkdocs.mdxindex 11b3fa7ab..fbb6c8558 100644--- a/docs/content/docs/integrations/mkdocs.mdx+++ b/docs/content/docs/integrations/mkdocs.mdx@@ -50,7 +50,7 @@ Create the file `overrides/main.html` in your project root with the following co```<Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/nestjs.mdx b/docs/content/docs/integrations/nestjs.mdxindex ea5e75fca..3218d562b 100644--- a/docs/content/docs/integrations/nestjs.mdx+++ b/docs/content/docs/integrations/nestjs.mdx@@ -125,7 +125,7 @@ export class AppModule {}```<Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), or set the `SWETRIX_PROJECT_ID` environment variable.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), or set the `SWETRIX_PROJECT_ID` environment variable.</Callout>diff --git a/docs/content/docs/integrations/nextjs.mdx b/docs/content/docs/integrations/nextjs.mdxindex 3913ffb27..57baf971d 100644--- a/docs/content/docs/integrations/nextjs.mdx+++ b/docs/content/docs/integrations/nextjs.mdx@@ -81,7 +81,7 @@ Your project structure should look like this:</Files><Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/nextra.mdx b/docs/content/docs/integrations/nextra.mdxindex 9c7378a6d..5ffe78e33 100644--- a/docs/content/docs/integrations/nextra.mdx+++ b/docs/content/docs/integrations/nextra.mdx@@ -59,7 +59,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })```<Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/nuxt.mdx b/docs/content/docs/integrations/nuxt.mdxindex 2a0c595bc..8d4409bb7 100644--- a/docs/content/docs/integrations/nuxt.mdx+++ b/docs/content/docs/integrations/nuxt.mdx@@ -42,7 +42,7 @@ That's it β Nuxt auto-registers files in the `plugins/` directory. `trackViews</Files><Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/preact.mdx b/docs/content/docs/integrations/preact.mdxindex 18c43c043..f6c4b2cef 100644--- a/docs/content/docs/integrations/preact.mdx+++ b/docs/content/docs/integrations/preact.mdx@@ -33,7 +33,7 @@ render(<App />, document.getElementById("app")!);```<Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/qwik.mdx b/docs/content/docs/integrations/qwik.mdxindex 6023b91b0..6c68fa398 100644--- a/docs/content/docs/integrations/qwik.mdx+++ b/docs/content/docs/integrations/qwik.mdx@@ -56,7 +56,7 @@ export const App = component$(() => {```<Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/react.mdx b/docs/content/docs/integrations/react.mdxindex 522470f6d..d92c3bc55 100644--- a/docs/content/docs/integrations/react.mdx+++ b/docs/content/docs/integrations/react.mdx@@ -38,7 +38,7 @@ ReactDOM.createRoot(document.getElementById("root")!).render(```<Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/remix.mdx b/docs/content/docs/integrations/remix.mdxindex 9965ab25b..8d3a5f034 100644--- a/docs/content/docs/integrations/remix.mdx+++ b/docs/content/docs/integrations/remix.mdx@@ -66,7 +66,7 @@ export default function App() {Swetrix guards against server-side execution internally, so the component is safe to render in the root route without extra checks.<Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/ruby-on-rails.mdx b/docs/content/docs/integrations/ruby-on-rails.mdxindex 430d81206..a3e17b63e 100644--- a/docs/content/docs/integrations/ruby-on-rails.mdx+++ b/docs/content/docs/integrations/ruby-on-rails.mdx@@ -50,7 +50,7 @@ Open `app/views/layouts/application.html.erb` and add the Swetrix script inside```<Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/solidjs.mdx b/docs/content/docs/integrations/solidjs.mdxindex 2609c02b6..dc1e19775 100644--- a/docs/content/docs/integrations/solidjs.mdx+++ b/docs/content/docs/integrations/solidjs.mdx@@ -65,7 +65,7 @@ export default function App() {```<Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/vitepress.mdx b/docs/content/docs/integrations/vitepress.mdxindex 5f322ccb9..60ef2bffc 100644--- a/docs/content/docs/integrations/vitepress.mdx+++ b/docs/content/docs/integrations/vitepress.mdx@@ -35,7 +35,7 @@ export default defineConfig({The empty string for `defer` is intentional β VitePress renders it as a boolean attribute (`<script defer>`).<Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/docs/content/docs/integrations/vue.mdx b/docs/content/docs/integrations/vue.mdxindex 2990cdd1f..1a72d00f0 100644--- a/docs/content/docs/integrations/vue.mdx+++ b/docs/content/docs/integrations/vue.mdx@@ -33,7 +33,7 @@ createApp(App).mount("#app");```<Callout type="warn">-Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/projects), otherwise tracking won't work.+Replace `YOUR_PROJECT_ID` with your actual Project ID from the [Swetrix dashboard](https://swetrix.com/dashboard), otherwise tracking won't work.</Callout>diff --git a/web/public/llms.txt b/web/public/llms.txtindex 4adbee233..3cac10789 100644--- a/web/public/llms.txt+++ b/web/public/llms.txt@@ -26,7 +26,7 @@ Swetrix is built with Nest.js backend (MySQL + ClickHouse databases) and Remix f- [Contributing Guide](https://raw.githubusercontent.com/Swetrix/swetrix/main/CONTRIBUTING.MD): How to contribute to Swetrix development, set up local environment- [Main Repository](https://github.com/Swetrix/swetrix): Full source code for both backend and frontend- [Public Roadmap](https://github.com/Swetrix/swetrix/issues): Current and planned features-- [Live Demo](https://swetrix.com/projects/STEzHcB1rALV): Swetrix's own analytics dashboard as a live demo+- [Live Demo](https://swetrix.com/demo): Swetrix's own analytics dashboard as a live demo## Integration Guides