📈 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
added browser extension ads
Blue Mouse0cef3f2473b0
diff --git a/public/locales/en.json b/public/locales/en.jsonindex a45bbebed..2ee5d36a0 100644--- a/public/locales/en.json+++ b/public/locales/en.json@@ -53,18 +53,18 @@]},"features": [- {- "name": "Simple yet powerful",- "description": "View all your analytics in a straightforward way. Say no more to confusing reports, metrics and notifications."- },{"name": "Open source",- "description": "Our tracking script is open sourced and available for everybody to explore. We only track data that we declare."+ "description": "Swetrix is fully open source and available for everybody to explore. We only track data that we declare."},{"name": "Full event tracking","description": "With us, you can not only track your traffic but also custom events such as button clicks or registrations."},+ {+ "name": "Browser Addons",+ "description": "Instantly view the most important insights, receive traffic spikes notifications and much more without ever visiting visiting the website."+ },{"name": "No cookie banners needed","description": "We are not doing do targeted advertising or profiling and we do not rely on tracking cookies at all. Our business model is to sell software, not data."@@ -129,6 +129,8 @@"features": {"feature1Name": "Transparency","feature1Content": "At Swetrix, we believe that everyone has a right to privacy and transparency, especially when it comes to analytics.\nWe do not collect more information than we <docs>claim</docs>, all data is stored on servers physically located in the European Union and our analytics script is publicly available and accessible to all on our <gh>Github</gh>.",+ "feature2Name": "Browser Addons",+ "feature2Content": "Need to quickly view statistics for your website?\nWe have developed <chrome>Chrome</chrome> and <firefox>Firefox</firefox> extensions for this purpose.\nUsing these, you can instantly view the most important insights, receive traffic spikes notifications and much more!","ready": "Ready to get to know your users?","start": "Start using Swetrix today.","list": [diff --git a/src/pages/Features/index.jsx b/src/pages/Features/index.jsxindex 061038fad..91eae1356 100644--- a/src/pages/Features/index.jsx+++ b/src/pages/Features/index.jsx@@ -6,6 +6,7 @@ import { useTranslation, Trans } from 'react-i18next'import _map from 'lodash/map'import Title from 'components/Title'+import { CHROME_EXTENSION_URL, FIREFOX_ADDON_URL } from 'redux/constants'import routes from 'routes'const Features = () => {@@ -33,6 +34,20 @@ const Features = () => {/></p>+ <h3 className='text-2xl font-normal text-gray-900 dark:text-gray-50 tracking-tight mt-4'>+ {t('features.feature2Name')}+ </h3>+ <p className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'>+ <Trans+ t={t}+ i18nKey='features.feature2Content'+ components={{+ firefox: <a className='text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-500' href={FIREFOX_ADDON_URL} target='_blank' rel='noopener noreferrer' />,+ chrome: <a className='text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-500' href={CHROME_EXTENSION_URL} target='_blank' rel='noopener noreferrer' />,+ }}+ />+ </p>+{_map(t('features.list', { returnObjects: true }), (feature) => (<Fragment key={feature.name}><h3 className='text-2xl font-normal text-gray-900 dark:text-gray-50 tracking-tight mt-4'>diff --git a/src/redux/constants/index.js b/src/redux/constants/index.jsindex be92e4cc9..ce21b9c11 100644--- a/src/redux/constants/index.js+++ b/src/redux/constants/index.js@@ -48,6 +48,8 @@ export const TITLE_SUFFIX = '| Swetrix'export const LS_THEME_SETTING = 'colour-theme'export const DONATE_URL = 'https://ko-fi.com/andriir'+export const FIREFOX_ADDON_URL = 'https://addons.mozilla.org/en-US/firefox/addon/swetrix/'+export const CHROME_EXTENSION_URL = 'https://chrome.google.com/webstore/detail/swetrix/glbeclfdldjldjonfnpnembfkhphmeld'export const isSelfhosted = Boolean(process.env.REACT_APP_SELFHOSTED)