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!

minor fixes and improvements

Blue Mouse9f2b276b4a71
diff --git a/src/i18n/en.json b/src/i18n/en.json
index 8d10add0e..d22a8bfca 100644
--- a/src/i18n/en.json
+++ b/src/i18n/en.json
@@ -264,7 +264,7 @@
"name": "Project name",
"pid": "Project ID",
"origins": "Allowed origins",
- "originsHint": "A list of allowed 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, ssu.gov.ua",
+ "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, ssu.gov.ua",
"enabled": "Is project enabled",
"enabledHint": "Disabled projects will not count any newly incoming events or pageviews.\nYou will still be able to access the project's analytics in dashboard.",
"createHint": "*you will be able to set up your project more thoroughly after you have created it",
diff --git a/src/pages/Docs/examples.js b/src/pages/Docs/examples.js
index 51d8e2d8e..381532573 100644
--- a/src/pages/Docs/examples.js
+++ b/src/pages/Docs/examples.js
@@ -1,7 +1,7 @@
/* eslint-disable no-useless-escape */
export const umdBuildExample = `<!-- Put this at the end of the <head> tag -->
-<script src="https://cdn.jsdelivr.net/gh/Swetrix/swetrix-js@main/dist/swetrix.js" defer></script>
+<script src="https://swetrix.org/swetrix.js" defer></script>
<!-- Put this at the end of the <body> tag -->
<script>
diff --git a/src/pages/MainPage/Pricing.jsx b/src/pages/MainPage/Pricing.jsx
index 1f2df6059..22f6b89a2 100644
--- a/src/pages/MainPage/Pricing.jsx
+++ b/src/pages/MainPage/Pricing.jsx
@@ -92,7 +92,7 @@ const Pricing = ({ t }) => {
return (
<div id='pricing' className={cx({ 'bg-white': !authenticated })}>
- <div className={cx('w-11/12 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 whitespace-pre-line', { 'py-24': !authenticated })}>
+ <div className={cx('w-11/12 max-w-7xl mx-auto whitespace-pre-line', { 'px-4 sm:px-6 lg:px-8 py-24': !authenticated })}>
<div className='sm:flex sm:flex-col sm:align-center'>
{!authenticated && (
<>