π 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: broken image paths
Blue Mouse823cda079c03
diff --git a/docs/app/layout.tsx b/docs/app/layout.tsxindex 6744a0217..9133777a8 100644--- a/docs/app/layout.tsx+++ b/docs/app/layout.tsx@@ -13,7 +13,7 @@ export const metadata = {default: "Swetrix Docs",},description: "Swetrix documentation β turn traffic into insights.",- icons: { icon: "/img/favicon.ico" },+ icons: { icon: "/favicon.ico" },};export default function RootLayout({ children }: { children: ReactNode }) {diff --git a/docs/content/docs/accountsettings/api-keys.mdx b/docs/content/docs/accountsettings/api-keys.mdxindex 0efa26305..081d44ddc 100644--- a/docs/content/docs/accountsettings/api-keys.mdx+++ b/docs/content/docs/accountsettings/api-keys.mdx@@ -29,7 +29,7 @@ If your API key is compromised or you no longer need it, you can delete it:2. Click the **Delete API key** button.3. Confirm the deletion in the modal window.-<img alt="Delete API key" src="/img/accountsettings/api-key.png" />+<img alt="Delete API key" src="/docs/img/accountsettings/api-key.png" />Once deleted, any applications or scripts using this key will no longer be able to access the API.diff --git a/docs/content/docs/accountsettings/change-password.mdx b/docs/content/docs/accountsettings/change-password.mdxindex ead819721..0013353e9 100644--- a/docs/content/docs/accountsettings/change-password.mdx+++ b/docs/content/docs/accountsettings/change-password.mdx@@ -11,7 +11,7 @@ On the "Account" tab, you will see the "General settings" section. Click on theWhen you enter your new password, click on the "Update profile" button. This will log you out of all your devices and you will need to log in again with your new password.-<img alt="Change password screen" src="/img/accountsettings/change-password.png" />+<img alt="Change password screen" src="/docs/img/accountsettings/change-password.png" />## How to reset your password@@ -23,4 +23,4 @@ When you click on the link in the email, you will be asked to enter a new passwoWhen you reset your password, you will be logged out of all your devices and you will need to log in again with your new password.-<img alt="Reset password screen" src="/img/accountsettings/reset-password.png" />+<img alt="Reset password screen" src="/docs/img/accountsettings/reset-password.png" />diff --git a/docs/content/docs/accountsettings/delete-account.mdx b/docs/content/docs/accountsettings/delete-account.mdxindex 31f3eac30..e0b710380 100644--- a/docs/content/docs/accountsettings/delete-account.mdx+++ b/docs/content/docs/accountsettings/delete-account.mdx@@ -14,4 +14,4 @@ Deleting your account will delete all your data permanently and you will not be</Callout>-<img alt="Delete account screen" src="/img/accountsettings/delete-account.png" />+<img alt="Delete account screen" src="/docs/img/accountsettings/delete-account.png" />diff --git a/docs/content/docs/accountsettings/email-reports.mdx b/docs/content/docs/accountsettings/email-reports.mdxindex 89ac55963..a6576d1e3 100644--- a/docs/content/docs/accountsettings/email-reports.mdx+++ b/docs/content/docs/accountsettings/email-reports.mdx@@ -34,7 +34,7 @@ You can configure the frequency of these reports in your account settings.3. Locate the **Email reports** section.4. Select your desired frequency from the dropdown menu.-<img alt="Email reports frequency" src="/img/accountsettings/email-reports.png" />+<img alt="Email reports frequency" src="/docs/img/accountsettings/email-reports.png" />You can choose to receive reports:diff --git a/docs/content/docs/accountsettings/two-factor-authentication.mdx b/docs/content/docs/accountsettings/two-factor-authentication.mdxindex a6ea67477..b36370e5f 100644--- a/docs/content/docs/accountsettings/two-factor-authentication.mdx+++ b/docs/content/docs/accountsettings/two-factor-authentication.mdx@@ -24,11 +24,11 @@ A QR code will appear. Scan it with your authenticator app to link it to your SwEnter the one-time code generated by your authenticator app and click "Enable" button.-<img alt="Enable 2FA screen" src="/img/accountsettings/enable-2fa.png" />+<img alt="Enable 2FA screen" src="/docs/img/accountsettings/enable-2fa.png" />A recovery code will be generated and shown to you. Keep it private and store it somewhere safe. You will need it to access your account or disable 2FA in case you can't provide a one-time code generated by your authenticator app.-<img alt="Enter one-time code screen" src="/img/accountsettings/2fa-recovery-code.png" />+<img alt="Enter one-time code screen" src="/docs/img/accountsettings/2fa-recovery-code.png" />## How to disable 2FAdiff --git a/docs/content/docs/analytics-dashboard/alerts.mdx b/docs/content/docs/analytics-dashboard/alerts.mdxindex f9a1d29fe..f14c89d2c 100644--- a/docs/content/docs/analytics-dashboard/alerts.mdx+++ b/docs/content/docs/analytics-dashboard/alerts.mdx@@ -12,7 +12,7 @@ The Alerts feature is exclusively available on **Swetrix Cloud**. It is not currAlerts allow you to monitor your website's performance in real-time and receive notifications when specific metrics cross a defined threshold. This helps you stay on top of traffic spikes, server errors, or important user interactions without constantly checking the dashboard.-<img alt="Alerts Dashboard" src="/img/analytics-dashboard/alerts-list.png" />+<img alt="Alerts Dashboard" src="/docs/img/analytics-dashboard/alerts-list.png" />## Prerequisites@@ -24,7 +24,10 @@ Before setting up alerts, you must connect a notification channel to your accounTo configure these, go to your **Account Settings** and follow the instructions for each integration. If no channel is connected, you will see a warning on the Alerts page.-<img alt="Alert communication channels" src="/img/accountsettings/communication-channels.png" />+<img+ alt="Alert communication channels"+ src="/docs/img/accountsettings/communication-channels.png"+/>## Creating an Alert@@ -37,7 +40,7 @@ To configure these, go to your **Account Settings** and follow the instructions- **Value**: The threshold number.- **Timeframe**: The period over which the data is analyzed (e.g., "Last 15 minutes").-<img alt="Create an alert" src="/img/analytics-dashboard/create-an-alert.png" />+<img alt="Create an alert" src="/docs/img/analytics-dashboard/create-an-alert.png" />### Supported Metricsdiff --git a/docs/content/docs/analytics-dashboard/ask-ai.mdx b/docs/content/docs/analytics-dashboard/ask-ai.mdxindex db7636013..c6379e485 100644--- a/docs/content/docs/analytics-dashboard/ask-ai.mdx+++ b/docs/content/docs/analytics-dashboard/ask-ai.mdx@@ -9,7 +9,7 @@ Ask AI is a powerful feature that allows you to query your analytics data usingAsk AI uses advanced language models to understand your questions and translate them into queries against your analytics data. It can help you find trends, anomalies, and specific metrics without needing to know the underlying query language or navigate through multiple dashboard views.-<img alt="Ask AI" src="/img/analytics-dashboard/ask-ai.png" />+<img alt="Ask AI" src="/docs/img/analytics-dashboard/ask-ai.png" />## Examplesdiff --git a/docs/content/docs/analytics-dashboard/captcha.mdx b/docs/content/docs/analytics-dashboard/captcha.mdxindex d3a2772dd..d183e1fba 100644--- a/docs/content/docs/analytics-dashboard/captcha.mdx+++ b/docs/content/docs/analytics-dashboard/captcha.mdx@@ -6,7 +6,7 @@ sidebar_label: Captcha AnalyticsThe Captcha Analytics dashboard provides detailed insights into how users are interacting with the Swetrix CAPTCHA on your website. It helps you monitor completion rates and understand the demographics of users solving your CAPTCHAs.-<img alt="Captcha Dashboard" src="/img/analytics-dashboard/captcha-view.png" />+<img alt="Captcha Dashboard" src="/docs/img/analytics-dashboard/captcha-view.png" />## Overviewdiff --git a/docs/content/docs/analytics-dashboard/error-tracking.mdx b/docs/content/docs/analytics-dashboard/error-tracking.mdxindex 80a748cb4..4ed8d1443 100644--- a/docs/content/docs/analytics-dashboard/error-tracking.mdx+++ b/docs/content/docs/analytics-dashboard/error-tracking.mdx@@ -6,7 +6,10 @@ sidebar_label: Error TrackingError Tracking allows you to monitor and analyse exceptions that occur in your web application. It helps you identify stability issues, understand their impact on users, and debug them effectively with detailed stack traces and session context.-<img alt="Error tracking overview" src="/img/analytics-dashboard/screenshot_errors_light.png" />+<img+ alt="Error tracking overview"+ src="/docs/img/analytics-dashboard/screenshot_errors_light.png"+/>## Setting up@@ -52,7 +55,7 @@ You can filter this list to show **Resolved** errors by using the "Filters" dropClicking on any error in the list opens the **Error Details** view. This page provides deep insights into a specific issue to help you debug it.-<img alt="Error details view" src="/img/analytics-dashboard/error-details-view.png" />+<img alt="Error details view" src="/docs/img/analytics-dashboard/error-details-view.png" />### Error Contextdiff --git a/docs/content/docs/analytics-dashboard/experiments.mdx b/docs/content/docs/analytics-dashboard/experiments.mdxindex 6079cd06d..a02c32a55 100644--- a/docs/content/docs/analytics-dashboard/experiments.mdx+++ b/docs/content/docs/analytics-dashboard/experiments.mdx@@ -48,8 +48,8 @@ When a user participates in an experiment (i.e., they are assigned a variant), SYou can create and manage your experiments in the **Experiments** tab of your project dashboard.-<img alt="Experiments list" src="/img/analytics-dashboard/experiments-list.png" />+<img alt="Experiments list" src="/docs/img/analytics-dashboard/experiments-list.png" />You can also see how your experiments are performing by clicking on the Results button.-<img alt="Experiment results" src="/img/analytics-dashboard/experiment.png" />+<img alt="Experiment results" src="/docs/img/analytics-dashboard/experiment.png" />diff --git a/docs/content/docs/analytics-dashboard/feature-flags.mdx b/docs/content/docs/analytics-dashboard/feature-flags.mdxindex 3ba2eb7a4..e9acb0055 100644--- a/docs/content/docs/analytics-dashboard/feature-flags.mdx+++ b/docs/content/docs/analytics-dashboard/feature-flags.mdx@@ -60,4 +60,4 @@ clearFeatureFlagsCache();You can create and manage your feature flags in the **Feature Flags** tab of your project dashboard.-<img alt="Feature flags list" src="/img/analytics-dashboard/feature-flags-list.png" />+<img alt="Feature flags list" src="/docs/img/analytics-dashboard/feature-flags-list.png" />diff --git a/docs/content/docs/analytics-dashboard/funnels.mdx b/docs/content/docs/analytics-dashboard/funnels.mdxindex a60707c51..ddfc15500 100644--- a/docs/content/docs/analytics-dashboard/funnels.mdx+++ b/docs/content/docs/analytics-dashboard/funnels.mdx@@ -6,7 +6,7 @@ sidebar_label: FunnelsFunnels allow you to visualise and measure how many users complete a specific series of steps on your website. This is essential for understanding conversion rates and identifying where users drop off in key processes like sign-ups, checkouts, or onboarding flows.-<img alt="Funnel view" src="/img/analytics-dashboard/funnel-view.png" />+<img alt="Funnel view" src="/docs/img/analytics-dashboard/funnel-view.png" />## Overview@@ -26,7 +26,7 @@ To create a new funnel:- You can add multiple steps to define the exact journey.5. Click **Create funnel** to save.-<img alt="Create a funnel" src="/img/analytics-dashboard/create-funnel.png" />+<img alt="Create a funnel" src="/docs/img/analytics-dashboard/create-funnel.png" />## Analyzing a Funneldiff --git a/docs/content/docs/analytics-dashboard/goals.mdx b/docs/content/docs/analytics-dashboard/goals.mdxindex a5a89ed38..e8e07e279 100644--- a/docs/content/docs/analytics-dashboard/goals.mdx+++ b/docs/content/docs/analytics-dashboard/goals.mdx@@ -6,7 +6,7 @@ sidebar_label: GoalsGoals allow you to track specific actions that visitors perform on your website. They help you measure how well your site fulfils your target objectives.-<img alt="Goals list" src="/img/analytics-dashboard/goals-list.png" />+<img alt="Goals list" src="/docs/img/analytics-dashboard/goals-list.png" />## Overview@@ -25,7 +25,7 @@ To create a new goal:2. Click the **Add Goal** button.3. Fill in the goal details in the modal window.-<img alt="Create a goal" src="/img/analytics-dashboard/create-goal.png" />+<img alt="Create a goal" src="/docs/img/analytics-dashboard/create-goal.png" />### Goal Settingsdiff --git a/docs/content/docs/analytics-dashboard/live-visitors.mdx b/docs/content/docs/analytics-dashboard/live-visitors.mdxindex b02f3b979..19e404b31 100644--- a/docs/content/docs/analytics-dashboard/live-visitors.mdx+++ b/docs/content/docs/analytics-dashboard/live-visitors.mdx@@ -9,7 +9,7 @@ Swetrix provides real-time traffic monitoring, allowing you to see how many peopIn the top right corner of your dashboard (and on the main Traffic overview), you will see a **Live** indicator with a pulsing green dot.-<img alt="Live visitors counter" src="/img/analytics-dashboard/live-visitors.png" />+<img alt="Live visitors counter" src="/docs/img/analytics-dashboard/live-visitors.png" />- **What it counts**: This number represents the count of unique visitors who have initiated a session or viewed a page within the last **5 minutes**.- **Updates**: The counter updates in real-time as new visitors arrive or existing ones leave (time out).diff --git a/docs/content/docs/analytics-dashboard/performance.mdx b/docs/content/docs/analytics-dashboard/performance.mdxindex af6821f19..544e5d714 100644--- a/docs/content/docs/analytics-dashboard/performance.mdx+++ b/docs/content/docs/analytics-dashboard/performance.mdx@@ -9,7 +9,7 @@ The Performance tab gives you deep insights into your website's speed and user eThe dashboard provides a high-level view of your website's performance across different metrics.-<img alt="Performance Dashboard" src="/img/analytics-dashboard/screenshot_perf_light.png" />+<img alt="Performance Dashboard" src="/docs/img/analytics-dashboard/screenshot_perf_light.png" />### Key Metrics@@ -51,7 +51,7 @@ Understand how performance varies by geography. This helps identify if users in- **Cities (CT)**: City-level performance data.- **Map**: A visual heatmap of global performance.-<img alt="Location Map" src="/img/analytics-dashboard/performance_map.png" />+<img alt="Location Map" src="/docs/img/analytics-dashboard/performance_map.png" />### Devicesdiff --git a/docs/content/docs/analytics-dashboard/segments.mdx b/docs/content/docs/analytics-dashboard/segments.mdxindex ec1a0d321..62439aa25 100644--- a/docs/content/docs/analytics-dashboard/segments.mdx+++ b/docs/content/docs/analytics-dashboard/segments.mdx@@ -6,7 +6,7 @@ sidebar_label: SegmentsSegments (also known as Saved Views) allow you to save a specific configuration of filters and custom metrics for quick access. Instead of manually reapplying the same filters every time you visit your dashboard, you can simply switch to a saved Segment.-<img alt="Segments Modal" src="/img/analytics-dashboard/segments.png" />+<img alt="Segments Modal" src="/docs/img/analytics-dashboard/segments.png" />## Creating a Segmentdiff --git a/docs/content/docs/analytics-dashboard/traffic.mdx b/docs/content/docs/analytics-dashboard/traffic.mdxindex bcc09e599..da3dd31dd 100644--- a/docs/content/docs/analytics-dashboard/traffic.mdx+++ b/docs/content/docs/analytics-dashboard/traffic.mdx@@ -6,7 +6,7 @@ sidebar_label: Traffic AnalyticsThe Traffic Analytics dashboard is the core of Swetrix, providing comprehensive insights into your website's visitors, their behavior, and traffic sources. It allows you to visualize data through interactive charts and detailed breakdowns.-<img alt="Traffic Dashboard" src="/img/analytics-dashboard/screenshot_light.png" />+<img alt="Traffic Dashboard" src="/docs/img/analytics-dashboard/screenshot_light.png" />## Overviewdiff --git a/docs/content/docs/billing/faq.mdx b/docs/content/docs/billing/faq.mdxindex 8282140a7..ae5df5ed5 100644--- a/docs/content/docs/billing/faq.mdx+++ b/docs/content/docs/billing/faq.mdx@@ -33,13 +33,13 @@ We accept credit/debit cards, PayPal, Google Pay and Apple Pay. All payments areYou can add your company details and VAT ID when subscribing to one of our plans. If you're eligible, no VAT or other sales taxes will be added to your subscription price.-<img alt="Add VAT on checkout" src="/img/billing/checkout_add_vat.png" />+<img alt="Add VAT on checkout" src="/docs/img/billing/checkout_add_vat.png" /><br /><br />You can also add your VAT number after you created a subscription, to do that open the invoice Paddle sent you to your email address, and click on the "Add address & VAT Number" button.-<img alt="Add VAT on existing invoice" src="/img/billing/invoice_add_vat.png" />+<img alt="Add VAT on existing invoice" src="/docs/img/billing/invoice_add_vat.png" />## I am seeing "Unable to validate VAT number" error when adding my VAT number@@ -47,7 +47,10 @@ If your VAT number has a country code prefix in it (e.g. "DE" in "DE123456789"),The reason for this is that you are selecting the country code from the list of countries below, so the VAT number is validated separately. Our payment processor Paddle handles the VAT processing. Here is [a list of VAT numbers formats](https://www.paddle.com/help/sell/tax/what-format-should-i-use-for-my-vat-id) accepted by Paddle.-<img alt="Unable to validate VAT number" src="/img/billing/checkout_unable_to_validate_vat.png" />+<img+ alt="Unable to validate VAT number"+ src="/docs/img/billing/checkout_unable_to_validate_vat.png"+/><br /><br />diff --git a/docs/content/docs/billing/upgrade-from-trial.mdx b/docs/content/docs/billing/upgrade-from-trial.mdxindex c53514d54..3ad390644 100644--- a/docs/content/docs/billing/upgrade-from-trial.mdx+++ b/docs/content/docs/billing/upgrade-from-trial.mdx@@ -30,7 +30,7 @@ Using the subscription plan selector, choose a plan based on your estimated usagOnce you choose your subscription plan, click on the "Upgrade" button to get started.-<img alt="Upgrade to a paid subscription" src="/img/billing/subscription-selector.png" />+<img alt="Upgrade to a paid subscription" src="/docs/img/billing/subscription-selector.png" /></Step><Step>### Complete payment@@ -39,7 +39,7 @@ The billing information and the payment process is handled by Paddle, a third-paChoose your location and click on the "Continue" button.-<img alt="Paddle billing popup" src="/img/billing/billing-popup.png" />+<img alt="Paddle billing popup" src="/docs/img/billing/billing-popup.png" />Next you need to select your payment method and enter your payment details. You can pay by PayPal, payment card, or Apple and Google Pay if supported by your device.@@ -52,10 +52,10 @@ After you're done, click on the "Subscribe now" button to complete the subscriptYou can add your company details and VAT ID when subscribing to one of our plans. If you're eligible, no VAT or other sales taxes will be added to your subscription price.-<img alt="Add VAT on existing invoice" src="/img/billing/invoice_add_vat.png" />+<img alt="Add VAT on existing invoice" src="/docs/img/billing/invoice_add_vat.png" />You can also add your VAT number after you created a subscription, to do that open the invoice Paddle sent you to your email address, and click on the "Add address & VAT Number" button.-<img alt="Add VAT on existing invoice" src="/img/billing/invoice_add_vat.png" />+<img alt="Add VAT on existing invoice" src="/docs/img/billing/invoice_add_vat.png" />To learn more about billing, visit our [billing FAQ page](/billing-faq).diff --git a/docs/content/docs/integrations/framer.mdx b/docs/content/docs/integrations/framer.mdxindex 2e86893f4..5c912d5c9 100644--- a/docs/content/docs/integrations/framer.mdx+++ b/docs/content/docs/integrations/framer.mdx@@ -10,15 +10,15 @@ After you sign up on Swetrix and create a new project, the only thing left is to1. Log in to your [Framer](https://www.framer.com) account.2. In the dashboard, click on the website you want to add Swetrix to:- <img alt="Framer Dashboard" src="/img/framer-1.png" />+ <img alt="Framer Dashboard" src="/docs/img/framer-1.png" />3. Open the website settings:- <img alt="Framer Website page" src="/img/framer-2.png" />+ <img alt="Framer Website page" src="/docs/img/framer-2.png" />4. Scroll down to the `Custom Code` section:- <img alt="Framer Website page" src="/img/framer-3.png" />+ <img alt="Framer Website page" src="/docs/img/framer-3.png" />5. Add the following code to the `End of <body> tag` section:diff --git a/docs/content/docs/integrations/google-tag-manager.mdx b/docs/content/docs/integrations/google-tag-manager.mdxindex fbd2d9490..26f78a84c 100644--- a/docs/content/docs/integrations/google-tag-manager.mdx+++ b/docs/content/docs/integrations/google-tag-manager.mdx@@ -18,15 +18,15 @@ Normally you'd add Swetrix to your site with a simple `<script>` tag. However, G1. Sign in to your Google Tag Manager account, click on **Tags** and then **New**.- <img alt="Creating a new tag" src="/img/integrations/google/gt-1.png" />+ <img alt="Creating a new tag" src="/docs/img/integrations/google/gt-1.png" />2. Under the **Tag Configuration** section, click on "Choose a tag type to begin set-up...".- <img alt="Tag Configuration" src="/img/integrations/google/gt-2.png" />+ <img alt="Tag Configuration" src="/docs/img/integrations/google/gt-2.png" />3. Select **Custom HTML**.- <img alt="Custom HTML" src="/img/integrations/google/gt-3.png" />+ <img alt="Custom HTML" src="/docs/img/integrations/google/gt-3.png" />4. In the HTML input field, paste the following code:@@ -54,14 +54,14 @@ You can also refer to the [tracking script reference](/swetrix-js-reference) for6. Give your tag a name β change "Untitled Tag" to something like **Swetrix Analytics**. The result should look similar to this:- <img alt="Final result" src="/img/integrations/google/gt-4.png" />+ <img alt="Final result" src="/docs/img/integrations/google/gt-4.png" />7. Click **Save**. A list of tags will be displayed - you should see your new Swetrix tag in the list. Click the **Submit** button in the top right corner.- <img alt="Tags list" src="/img/integrations/google/gt-5.png" />+ <img alt="Tags list" src="/docs/img/integrations/google/gt-5.png" />8. Add a description for your changes in the pop-up window and click **Publish**.- <img alt="Publish" src="/img/integrations/google/gt-6.png" />+ <img alt="Publish" src="/docs/img/integrations/google/gt-6.png" />## Check your installationdiff --git a/docs/content/docs/integrations/webflow.mdx b/docs/content/docs/integrations/webflow.mdxindex c7a939008..b67bc0c60 100644--- a/docs/content/docs/integrations/webflow.mdx+++ b/docs/content/docs/integrations/webflow.mdx@@ -10,7 +10,7 @@ After you sign up on Swetrix and create a new project, the only thing left is to1. Log in to your Webflow account.2. Open up your project, go to the `Project Settings > Custom Code` section:- <img alt="Webflow screenshot" src="/img/webflow-int.png" />+ <img alt="Webflow screenshot" src="/docs/img/webflow-int.png" />3. In the `Head code` section you need to add the following:diff --git a/docs/content/docs/sitesettings/annotations.mdx b/docs/content/docs/sitesettings/annotations.mdxindex 7eab77775..46dfad61a 100644--- a/docs/content/docs/sitesettings/annotations.mdx+++ b/docs/content/docs/sitesettings/annotations.mdx@@ -15,7 +15,7 @@ You can create an annotation directly from any time-series chart on your dashboa<imgalt="Chart context menu with Add Annotation option"- src="/img/sitesettings/annotation-create-modal.png"+ src="/docs/img/sitesettings/annotation-create-modal.png"/>A modal will appear where you can enter the details:@@ -36,7 +36,7 @@ You can view, edit, and delete all annotations for a project from the settings pHere you will see a list of all annotations created for this project, sorted by date.-<img alt="Annotations settings list" src="/img/sitesettings/annotations-list.png" />+<img alt="Annotations settings list" src="/docs/img/sitesettings/annotations-list.png" />#### Editing an annotationdiff --git a/docs/content/docs/sitesettings/get-analytics-email-reports.mdx b/docs/content/docs/sitesettings/get-analytics-email-reports.mdxindex d1854328b..fe5636ef4 100644--- a/docs/content/docs/sitesettings/get-analytics-email-reports.mdx+++ b/docs/content/docs/sitesettings/get-analytics-email-reports.mdx@@ -13,7 +13,10 @@ You can send regular email reports to your team or clients to keep them updated4. Enter the email address of the recipient. They don't necessarily need to have a Swetrix account.5. Select the frequency of the reports: quarterly, monthly, weekly, or daily.-<img alt="Settings from the Dashboard page" src="/img/sitesettings/add_email_subscribers.png" />+<img+ alt="Settings from the Dashboard page"+ src="/docs/img/sitesettings/add_email_subscribers.png"+/>### How to remove users from the email reportsdiff --git a/docs/content/docs/sitesettings/get-traffic-alerts.mdx b/docs/content/docs/sitesettings/get-traffic-alerts.mdxindex 5018cc729..855d5551c 100644--- a/docs/content/docs/sitesettings/get-traffic-alerts.mdx+++ b/docs/content/docs/sitesettings/get-traffic-alerts.mdx@@ -13,7 +13,7 @@ On the [account settings page](https://swetrix.com/user-settings), go to the "CoTo connect an integration, click on the "Add integration" button and follow the instructions.-<img alt="Connect integrations screen" src="/img/sitesettings/connect_integrations.png" />+<img alt="Connect integrations screen" src="/docs/img/sitesettings/connect_integrations.png" />### How to set up traffic alerts@@ -25,7 +25,7 @@ To set up an alert,2. Navigate to the "Alerts" tab.3. Click on the "Add alert" button.-<img alt="Alerts screen" src="/img/sitesettings/set_up_alert.png" />+<img alt="Alerts screen" src="/docs/img/sitesettings/set_up_alert.png" />When you click on the "Add alert" button, you will see a screen where you can create a new alert. You can set it up to trigger for different metrics, for example:diff --git a/docs/content/docs/sitesettings/how-to-access-site-settings.mdx b/docs/content/docs/sitesettings/how-to-access-site-settings.mdxindex a3d1778db..4e4ed848e 100644--- a/docs/content/docs/sitesettings/how-to-access-site-settings.mdx+++ b/docs/content/docs/sitesettings/how-to-access-site-settings.mdx@@ -10,7 +10,10 @@ You can access your site settings in two ways:Click on the 'Settings' icon in the top right corner of site on the dashboard page.-<img alt="Settings from the Dashboard page" src="/img/sitesettings/settings_from_dashboard.png" />+<img+ alt="Settings from the Dashboard page"+ src="/docs/img/sitesettings/settings_from_dashboard.png"+/></Tab><Tab value="From the analytics page">@@ -19,7 +22,7 @@ Click on the 'Settings' tab in the top navigation bar of your site's analytics p<imgalt="Settings from the sites analytics page"- src="/img/sitesettings/settings_from_project.png"+ src="/docs/img/sitesettings/settings_from_project.png"/></Tab>diff --git a/docs/content/docs/sitesettings/how-to-invite-users-to-your-website.mdx b/docs/content/docs/sitesettings/how-to-invite-users-to-your-website.mdxindex ff2c8664d..430dd463e 100644--- a/docs/content/docs/sitesettings/how-to-invite-users-to-your-website.mdx+++ b/docs/content/docs/sitesettings/how-to-invite-users-to-your-website.mdx@@ -24,7 +24,7 @@ If you want to share your dashboard without requiring the other person to have a5. Click the "Invite" button to send the invitation. The person will receive an email with a link to accept the invitation. Once they accept it, they will be able to access your website. We'll also display a notification in their Dashboard page to let them know they've been invited to your website and they can accept the invitation from there as well.-<img alt="Invite user" src="/img/sitesettings/invite_user.png" />+<img alt="Invite user" src="/docs/img/sitesettings/invite_user.png" />### Who is responsible for billing?@@ -38,7 +38,7 @@ You can modify the permissions of any user at any time. To do this, go to your [To modify a user's permissions, click on their role. You can then change their role between "Admin" and "Viewer". Once you change the role, the user will have the new permissions immediately.-<img alt="Update user's role" src="/img/sitesettings/change_role.png" />+<img alt="Update user's role" src="/docs/img/sitesettings/change_role.png" />## How to remove a user from your websitediff --git a/docs/content/docs/sitesettings/reset-sites-data.mdx b/docs/content/docs/sitesettings/reset-sites-data.mdxindex 4be5e3e96..b3a3ee603 100644--- a/docs/content/docs/sitesettings/reset-sites-data.mdx+++ b/docs/content/docs/sitesettings/reset-sites-data.mdx@@ -12,7 +12,7 @@ This action is irreversible. Once you reset your site's data, all analytics dataTo reset your site's data, click on the "Reset project" button:-<img alt="Invite user" src="/img/sitesettings/reset_settings.png" />+<img alt="Invite user" src="/docs/img/sitesettings/reset_settings.png" />In the confirmation dialog, you will find 3 options:diff --git a/docs/content/docs/troubleshooting.mdx b/docs/content/docs/troubleshooting.mdxindex d7801e4e2..f7b2194f9 100644--- a/docs/content/docs/troubleshooting.mdx+++ b/docs/content/docs/troubleshooting.mdx@@ -41,7 +41,7 @@ Search for `swetrix` related requests in the list of requests. You should see a</Step></Steps>-<img alt="Browser Network tab" src="/img/swetrix-network-tab.png" />+<img alt="Browser Network tab" src="/docs/img/swetrix-network-tab.png" />## Visits are not appearing in the Dashboarddiff --git a/docs/mdx-components.tsx b/docs/mdx-components.tsxindex 18b44447f..b65e66368 100644--- a/docs/mdx-components.tsx+++ b/docs/mdx-components.tsx@@ -5,23 +5,10 @@ import { Tab, Tabs } from "fumadocs-ui/components/tabs";import { Accordion, Accordions } from "fumadocs-ui/components/accordion";import { File, Folder, Files } from "fumadocs-ui/components/files";import type { MDXComponents } from "mdx/types";-import type { ImgHTMLAttributes } from "react";--const BASE_PATH = "/docs";--function Img(props: ImgHTMLAttributes<HTMLImageElement>) {- const raw = props.src;- const src =- typeof raw === "string" && raw.startsWith("/") && !raw.startsWith(BASE_PATH)- ? `${BASE_PATH}${raw}`- : raw;- return <img {...props} src={src} />;-}export function getMDXComponents(components?: MDXComponents): MDXComponents {return {...defaultMdxComponents,- img: Img,Callout,Step,Steps,diff --git a/docs/public/img/favicon.ico b/docs/public/img/favicon.icodeleted file mode 100644index 262e5583b..000000000Binary files a/docs/public/img/favicon.ico and /dev/null differ