Skip to content

📈 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!

added copy-pastable dashboard url

Blue Mouse02ca38a55d02
diff --git a/app/pages/Project/Settings/ProjectSettings.tsx b/app/pages/Project/Settings/ProjectSettings.tsx
index d46842552..3df73dfa8 100644
--- a/app/pages/Project/Settings/ProjectSettings.tsx
+++ b/app/pages/Project/Settings/ProjectSettings.tsx
@@ -622,6 +622,18 @@ const ProjectSettings = ({
error={null}
disabled
/>
+ <Input
+ name='sharableLink'
+ id='sharableLink'
+ type='text'
+ label={t('project.settings.sharableLink')}
+ hint={t('project.settings.sharableDesc')}
+ value={`https://swetrix.com/projects/${form.id}`}
+ className='mt-4'
+ onChange={handleInput}
+ error={null}
+ disabled
+ />
<Input
name='origins'
id='origins'
diff --git a/public/locales/en.json b/public/locales/en.json
index 9f6934163..b9ce98e2c 100644
--- a/public/locales/en.json
+++ b/public/locales/en.json
@@ -659,6 +659,8 @@
"create": "Create a new project",
"settings": "Settings of",
"name": "Project name",
+ "sharableLink": "Sharable link",
+ "sharableDesc": "Used to share your dashboard with others, only available if you make your dashboard public or password protected.",
"pid": "Project ID",
"origins": "Allowed origins",
"originsHint": "A list of origins (domains) which are allowed to use script with your ProjectID, separated by commas.\nLeave it empty to allow all origins (default setting).\nExample: cornell.edu, app.example.com, *.gov.ua",