📈 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 Terms & Privacy Policy, updated main page screenshot & fixed bug with redirection when trying to use auth-prodected route
Blue Mousecaf18101b2a1
diff --git a/public/assets/screenshot.png b/public/assets/screenshot.pngnew file mode 100644index 000000000..e27efefaeBinary files /dev/null and b/public/assets/screenshot.png differdiff --git a/public/assets/test_screenshot.png b/public/assets/test_screenshot.pngdeleted file mode 100644index da3954b96..000000000Binary files a/public/assets/test_screenshot.png and /dev/null differdiff --git a/src/App.js b/src/App.jsindex b6976550d..9edc7b030 100644--- a/src/App.js+++ b/src/App.js@@ -21,6 +21,8 @@ import VerifyEmail from 'pages/Auth/VerifyEmail'import ProjectSettings from 'pages/Project/Settings'import ViewProject from 'pages/Project/View'import Billing from 'pages/Billing'+import Privacy from 'pages/Privacy'+import Terms from 'pages/Terms'import ScrollToTop from 'hoc/ScrollToTop'import { isAuthenticated, notAuthenticated } from './hoc/protected'@@ -96,8 +98,8 @@ const App = () => {(!accessToken || !loading) && (<><Header authenticated={authenticated} />- <Switch>- <ScrollToTop>+ <ScrollToTop>+ <Switch><Route path={routes.main} component={ProtectedMain} exact /><Route path={routes.signin} component={ProtectedSignIn} exact /><Route path={routes.signup} component={ProtectedSignUp} exact />@@ -113,9 +115,11 @@ const App = () => {<Route path={routes.billing} component={ProtectedBilling} exact /><Route path={routes.docs} component={Docs} exact /><Route path={routes.features} component={Features} exact />+ <Route path={routes.privacy} component={Privacy} exact />+ <Route path={routes.terms} component={Terms} exact /><Redirect to={routes.main} />- </ScrollToTop>- </Switch>+ </Switch>+ </ScrollToTop><Footer minimal={isMinimalFooter} /></>)diff --git a/src/components/Footer/index.jsx b/src/components/Footer/index.jsxindex 4d4816466..0a6d460e1 100644--- a/src/components/Footer/index.jsx+++ b/src/components/Footer/index.jsx@@ -18,8 +18,8 @@ const navigation = {{ name: 'Blog', href: '#' },],legal: [- { name: 'Privacy', href: '#' },- { name: 'Terms', href: '#' },+ { name: 'Privacy', href: routes.privacy },+ { name: 'Terms', href: routes.terms },],social: [{@@ -50,14 +50,14 @@ const Footer = ({ minimal }) => {</a></div><div className='px-5 py-2'>- <a href='#/' className='text-base text-gray-300 hover:text-white'>+ <Link to={routes.privacy} className='text-base text-gray-300 hover:text-white'>Privacy Policy- </a>+ </Link></div><div className='px-5 py-2'>- <a href='#/' className='text-base text-gray-300 hover:text-white'>+ <Link to={routes.terms} className='text-base text-gray-300 hover:text-white'>Terms of Service- </a>+ </Link></div><div className='px-5 py-2'><Link to={routes.docs} className='text-base text-gray-300 hover:text-white'>diff --git a/src/components/Header/index.jsx b/src/components/Header/index.jsxindex f8487e85e..b42223fdf 100644--- a/src/components/Header/index.jsx+++ b/src/components/Header/index.jsx@@ -27,9 +27,11 @@ const Header = ({ authenticated }) => {{authenticated ? (<NavLink to={routes.billing} className='text-base select-none font-medium text-white hover:text-indigo-50 py-2 px-3 hover:bg-indigo-500 rounded-md' activeClassName='bg-indigo-700 hover:bg-indigo-700' key='Billing'>Billing</NavLink>) : (- <HashLink to={`${routes.main}#pricing`} className='text-base select-none font-medium text-white hover:text-indigo-50 py-2 px-3 hover:bg-indigo-500 rounded-md' key='Pricing'>Pricing</HashLink>+ <>+ <HashLink to={`${routes.main}#pricing`} className='text-base select-none font-medium text-white hover:text-indigo-50 py-2 px-3 hover:bg-indigo-500 rounded-md' key='Pricing'>Pricing</HashLink>+ <HashLink to={`${routes.main}#faqs`} className='text-base select-none font-medium text-white hover:text-indigo-50 py-2 px-3 hover:bg-indigo-500 rounded-md' key='FAQs'>FAQs</HashLink>+ </>)}- <HashLink to={`${routes.main}#faqs`} className='text-base select-none font-medium text-white hover:text-indigo-50 py-2 px-3 hover:bg-indigo-500 rounded-md' key='FAQs'>FAQs</HashLink><NavLink to={routes.docs} className='text-base select-none font-medium text-white hover:text-indigo-50 py-2 px-3 hover:bg-indigo-500 rounded-md' activeClassName='bg-indigo-700 hover:bg-indigo-700' key='Docs'>Docs</NavLink></div></div>@@ -53,9 +55,11 @@ const Header = ({ authenticated }) => {{authenticated ? (<NavLink to={routes.billing} className='text-base select-none font-medium text-white hover:text-indigo-50 py-1 px-3 hover:bg-indigo-500 rounded-md' activeClassName='bg-indigo-700 hover:bg-indigo-700' key='Billing'>Billing</NavLink>) : (- <HashLink to={`${routes.main}#pricing`} className='text-base select-none font-medium text-white hover:text-indigo-50 py-1 px-3 hover:bg-indigo-500 rounded-md' key='Pricing'>Pricing</HashLink>+ <>+ <HashLink to={`${routes.main}#pricing`} className='text-base select-none font-medium text-white hover:text-indigo-50 py-1 px-3 hover:bg-indigo-500 rounded-md' key='Pricing'>Pricing</HashLink>+ <HashLink to={`${routes.main}#faqs`} className='text-base select-none font-medium text-white hover:text-indigo-50 py-1 px-3 hover:bg-indigo-500 rounded-md' key='FAQs'>FAQs</HashLink>+ </>)}- <HashLink to={`${routes.main}#faqs`} className='text-base select-none font-medium text-white hover:text-indigo-50 py-1 px-3 hover:bg-indigo-500 rounded-md' key='FAQs'>FAQs</HashLink><NavLink to={routes.docs} className='text-base select-none font-medium text-white hover:text-indigo-50 py-1 px-3 hover:bg-indigo-500 rounded-md' activeClassName='bg-indigo-700 hover:bg-indigo-700' key='Docs'>Docs</NavLink></div></nav>diff --git a/src/pages/Auth/Signup/Signup.jsx b/src/pages/Auth/Signup/Signup.jsxindex d1f3a6748..2d911327d 100644--- a/src/pages/Auth/Signup/Signup.jsx+++ b/src/pages/Auth/Signup/Signup.jsx@@ -127,7 +127,19 @@ const Signup = ({ signup }) => {name='tos'id='tos'className='mt-4'- label='I do accept terms and conditions and the privacy policy.'+ label={+ <span>+ I do accept + <Link to={routes.terms} className='font-medium text-gray-900 hover:underline'>+ Terms and Conditions+ </Link>+ and the + <Link to={routes.privacy} className='font-medium text-gray-900 hover:underline'>+ Privacy Policy+ </Link>+ .+ </span>+ }hint={beenSubmitted ? errors.tos : ''}/><Checkboxdiff --git a/src/pages/Docs/Docs.jsx b/src/pages/Docs/Docs.jsxindex 7df24b6ce..5e8724414 100644--- a/src/pages/Docs/Docs.jsx+++ b/src/pages/Docs/Docs.jsx@@ -5,7 +5,7 @@ import Prism from 'prismjs'import Title from 'components/Title'import Code from 'ui/Code'import {- umdBuildExample, trackPageView, init, trackViews, track, trackExample,+ umdBuildExample, trackPageView, init, track, trackExample,} from './examples'const contents = [{@@ -146,7 +146,7 @@ const Docs = () => {<b>We DO NOT store neither IP Address or User Agent as a raw strings</b>, such data is stored as a salted hash for no longer than 30 minutes or 12:00 AM UTC, whatever happens first.<br />After this timeframe the identifiable data is forever deleted from our servers.</p>- <Code text={trackViews} language='javascript' />+ <Code text={trackPageView} language='javascript' /></div></div></div>diff --git a/src/pages/Docs/examples.js b/src/pages/Docs/examples.jsindex 0152cf001..dc0ae0012 100644--- a/src/pages/Docs/examples.js+++ b/src/pages/Docs/examples.js@@ -1,20 +1,20 @@-export const umdBuildExample = `<script src="./analytics_script/dist/analytics.umd.min.js" defer></script>+export const umdBuildExample = `<script src="https://cdn.jsdelivr.net/gh/Swetrix/swetrix-js@main/dist/swetrix.js" defer></script><script>document.addEventListener('DOMContentLoaded', () => {// Initialising the script with the Project ID// you can find in the dashboard- analytics.init('YOUR_PROJECT_ID')+ swetrix.init('YOUR_PROJECT_ID')// Tracking page views- analytics.trackViews()+ swetrix.trackViews()})</script>`-export const trackPageView = `analytics.trackViews()`+export const trackPageView = `swetrix.trackViews()`-export const track = `analytics.track({+export const track = `swetrix.track({// The event identifier you want to track.// This has to be a string, which:// - only contains English letters (a-Z A-Z), numbers (0-9), underscores (_),@@ -28,12 +28,12 @@ export const track = `analytics.track({})`-export const trackExample = `analytics.track({+export const trackExample = `swetrix.track({ev: 'USER_SIGN_UP',})`-export const init = `analytics.init('YOUR_PROJECT_ID', {+export const init = `swetrix.init('YOUR_PROJECT_ID', {// When set to true, all tracking logs will be// printed to console and localhost events will be sent to server.debug: false,@@ -50,5 +50,3 @@ export const init = `analytics.init('YOUR_PROJECT_ID', {respectDNT: false,})`--export const trackViews = `analytics.trackViews()`diff --git a/src/pages/MainPage/index.jsx b/src/pages/MainPage/index.jsxindex 15d749756..9c43a7c0f 100644--- a/src/pages/MainPage/index.jsx+++ b/src/pages/MainPage/index.jsx@@ -25,7 +25,7 @@ const features = [{id: 4,name: 'No cookie banners needed',- description: 'We don\'t do targeted advertising or profiling, and we don\'t rely on cookies at all. Our business model is to sell software, not data.',+ description: 'We don\'t do targeted advertising or profiling, and we don\'t rely on tracking cookies at all. Our business model is to sell software, not data.',},{id: 5,@@ -42,7 +42,7 @@ const features = [const faqs = [{question: 'Does Swetrix tracking require cookies?',- answer: 'No, it does not, our analytics script is fully cookieless as well as our website. You can use our service without a need to use a cookie notification on your website.',+ answer: 'No, it does not, our analytics script is fully cookieless. You can use our service without a need to use a cookie notification on your website.',},{question: 'Do you use/share/sell the end users\' data?',@@ -164,13 +164,13 @@ const Main = () => (<div className='px-4 py-6 bg-gray-50 border-t-2 border-gray-200 sm:px-10'><p className='text-xs leading-5 text-gray-500'>By signing up, you agree to our{' '}- <a href='#/' className='font-medium text-gray-900 hover:underline'>- Terms of Service- </a>+ <Link to={routes.terms} className='font-medium text-gray-900 hover:underline'>+ Terms and Conditions+ </Link>{' '}and{' '}- <a href='#/' className='font-medium text-gray-900 hover:underline'>+ <Link to={routes.privacy} className='font-medium text-gray-900 hover:underline'>Privacy Policy- </a>+ </Link>.</p></div>@@ -187,11 +187,7 @@ const Main = () => (<div className='flex-1 w-full bg-white' /></div><div className='w-11/12 mx-auto'>- <img- className='relative rounded-md md:rounded-lg shadow-lg'- src='/assets/test_screenshot.png'- alt='App screenshot'- />+ <img className='relative rounded-md md:rounded-lg shadow-lg' src='/assets/screenshot.png' alt='' /></div></div>diff --git a/src/pages/Privacy/index.jsx b/src/pages/Privacy/index.jsxnew file mode 100644index 000000000..163f73420--- /dev/null+++ b/src/pages/Privacy/index.jsx@@ -0,0 +1,175 @@+import React from 'react'+import { Link } from 'react-router-dom'+import { HashLink } from 'react-router-hash-link'++import Title from 'components/Title'+import routes from 'routes'++const Features = () => {+ return (+ <Title title='Privacy Policy'>+ <div className='bg-gray-50'>+ <div className='w-4/5 mx-auto pb-16 pt-12 px-4 sm:px-6 lg:px-8'>+ <h1 className='text-4xl font-extrabold text-gray-900 tracking-tight'>Privacy Policy</h1>+ <p className='mt-4 text-lg text-gray-900 tracking-tight'>+ This Swetrix Privacy Policy (“Policy”, "Privacy Policy") outlines the personal information that we gather, how we use that personal information, and the options you have to access, correct, or delete such personal information.<br />+ By visiting swetrix.com and using the Services provided here, you agree to the terms outlined in this Privacy Policy. Unless otherwise defined in this document, the terms used in this Privacy Policy have the same meanings as in our Terms and Conditions.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>1. Policy application</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ This Privacy Policy applies to the following data subjects:<br />++ - <b>Customers:</b> Those who register for an account on Swetrix and to whom Swetrix provides its Services. For purposes of this Policy, “Services” refers to all of the solutions offered, marketed, or sold by us.<br />+ - <b>Website Visitors:</b> Those who visit our Websites, which may optionally provide an email address or other information to receive communications from us, or give us feedback. For the purposes of this Policy, “Websites” refer to swetrix.com as well as any other websites we operate on our own behalf and that link to this Policy. For clarity, “Websites” does not include any sites owned or operated by our Customers.<br />+ - <b>End Users:</b> Those who access or use our Customers websites, networks, APIs, and applications.<br />++ This Privacy Policy does not apply to our Customers websites, networks, APIs, and applications, which may have their own terms and privacy policies. Our Customers are solely responsible for establishing policies for and ensuring compliance with all applicable laws and regulations.<br />++ Swetrix’s Websites and Services are not intended for, nor designed to attract, individuals under the age of eighteen. Swetrix does not knowingly collect personal information from any person under the age of eighteen. You represent that you are at least 18 or that you are the parent or guardian of such a minor and consent to such minor dependent’s use of the Websites and Services.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>2. Information we collect</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ We may collect the following types of data in order to provide and improve our Services:<br />+ - <b>Personal Data:</b> While using our Services, we may ask you to provide us with certain personally identifiable information that can be used to contact or identify you. Personally identifiable information may include, but is not limited to your name, email address and billing addresses necessary to process payment and delivery of Services.<br />+ - <b>Payment Information:</b> We do not require our Customers to have payment information on file with us unless they have a paid subscription to our Services.<br />+ When you sign up for one of our paid Subscriptions, you must provide payment and billing information. The information you will need to submit depends on which payment method you choose. For clarity, we do not store full credit card numbers or personal account numbers.<br />+ - <b>Usage Data:</b> When you visit our Websites, we gather certain information and store it in log files to be able to provide you with our Services. This information may include but is not limited to Internet Protocol (IP) addresses, device or system information, URLs of referrer pages, browser information and language preferences.<br />+ For clarity, the purpose of these log files is to enable us to operate and provide you with our Services, and to monitor for overall trends on our Websites and for security. These log files are not shared with third parties.<br />+ - <b>Cookie Data:</b> We use essential cookies on our Websites to provide our Services. Without these cookies, the services that you have asked for cannot be provided, and we only use these cookies to provide you those services.<br />+ These cookies are essential for the functioning of our Websites. For example, we may store actions you do on our Websites to reduce requests sent to our servers.<br />+ You can instruct your browser to refuse all cookies or to indicate when a cookie is being sent.<br />+ At this time, our Websites do not respond to Do Not Track beacons sent by browser plugins.<br />+ - <b>Log Data:</b> We process End Users information on behalf of our Customers. This information is processed when End Users access or use our Customers domains, websites, APIs, applications, devices, endpoints, and networks that use our Services.<br />+ The information processed may include but is not limited to IP addresses, device or system information, and other information about the traffic on our Customers websites, devices, applications, and/or networks (collectively, “Log Data”). You can find more information on the data collected and how we process it <HashLink className='text-indigo-600 hover:text-indigo-500' to={`${routes.docs}#docs-tv`}>here</HashLink>.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>3. How we use information we collect</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ We only processes personal information in a way that is relevant for the purpose for which it was collected or authorized:<br />+ - To enable you to access and use the Websites and Services.<br />+ - To operate and improve the Websites and Services.<br />+ - To send transactional messages, provide customer support, updates, security alerts, and account related messages.<br />+ - To process and complete transactions, and send you related information, including purchase confirmations and invoices.<br />+ - To monitor and analyze overall trends, usage, and activities in connection with the Websites and Services.<br />+ - To create, publish or send marketing emails, news or advertising material. For clarity, we do not send marketing emails without your explicit consent.<br />+ - To comply with legal obligations to investigate and prevent fraudulent transactions, unauthorized access, and other illegal activities.<br />+ - To personalize the Websites and Services.<br />+ - To process your data for other purposes for which we obtain your consent.<br />+ We use and process the Log Data from End Users to fulfill our obligations under our Customer agreements and as may be required by law. We act as a data processor and service provider pursuant to data processing instructions by our Customers.<br />+ We may use the Usage and Log Data to assemble non-personally identifiable web traffic reports and statistics. These reports and statistics may be shared with third parties.+ </p>+ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>4. UK and EU residents</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ Please note that the “personal information” referenced in this Privacy Policy means “personal data” as that term is defined under the European Union (“EU”) General Data Protection Regulations (“GDPR”) and its United Kingdom (“UK”) GDPR counterpart. Swetrix is the data controller for the Personal Data of Customers and Website Visitors, but not for the Personal Data of End Users. We process the Personal Data of End Users on behalf of our Customers.<br />+ If you are an individual from the European Economic Area (the “EEA”), the UK or Switzerland, please note that our legal basis for collecting and using your personal information will depend on the personal information collected and the specific context in which we collect it.<br />+ However, we will normally collect personal data from you only (i) where the processing is in our legitimate interests and not overridden by your rights; (ii) where we need the personal data to perform a contract with you or (iii) where we have your consent to do so. In some cases, we may also have a legal obligation to collect personal data from you.<br />+ Please note that in most cases, if you do not provide the requested information, we will not be able to provide the requested service to you. In some cases, we may also have a legal obligation to collect personal information from you, or may need the personal information to protect your vital interests or those of another person.<br />+ Where we rely on your consent to process your personal data, you have the right to withdraw or decline consent at any time. Where we rely on our legitimate interests to process your personal data, you have the right to object.<br />+ If you have any questions about or need further information concerning the legal basis on which we collect and use your personal information, please contact us at + <a href='mailto:[email protected]' className='font-medium text-indigo-600 hover:text-indigo-500'>+ </a>+ .+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>5. California Residents</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ We do not sell, rent, or share personal information with third parties as defined under the California Consumer Privacy Act of 2018 (California Civil Code Sec. 1798.100 et seq.), nor do we sell, rent, or share personal information with third parties for their direct marketing purposes as defined under California Civil Code Sec. 1798.83.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>6. Retention of data</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ We may retain your information for as long as your account is active or as needed to provide you services, comply with our legal obligations, resolve disputes and enforce our agreements. In certain circumstances we may be required by law to retain your personal information, or may need to retain your personal information in order to continue providing a service.<br />+ Even if you delete your account, keep in mind that the deletion by our third party providers may not be immediate and that the deleted information may persist in backup copies for a reasonable period of time.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>7. Transfer of data</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ Your information, including Personal Data, may be transferred to — and maintained on — computers located outside of your state, province, country or other governmental jurisdiction where the data protection laws may differ from those in your jurisdiction. If you are located outside Germany and choose to provide information to us, please note that we transfer the data, including Personal Data, to Germany and process it there.<br />+ Your consent to this Privacy Policy followed by your submission of such information represents your agreement to that transfer. We will take all steps reasonably necessary to ensure that your data is treated securely and in accordance with this Privacy Policy and no transfer of your Personal Data will take place to an organization or a country unless there are adequate controls in place including the security of your data and other personal information.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>8. Information sharing</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ We do not rent or sell personal information.<br />+ We may disclose personal information to third parties who help us run the Services and our business (“Service Providers”). These Service Providers may only process personal information pursuant to our instructions and in compliance both with this Privacy Policy and other applicable security measures and regulations.<br />+ The following third parties may be considered our "sub-processors" under GDPR. We only share what's required for their purpose.<br />+ - <b>Stripe:</b> Payment processing;+ - <b>Cloudflare</b>: Security, hosting, cloud infrastructure;+ - <b>Sentry:</b> Error tracking;+ - <b>Postmark:</b> Transactional and marketing emails;+ - <b>Fastmail:</b> Business emails.+ In addition to sharing with Service Providers as described above, we also may share your information with others in the following circumstances:<br />+ - In the event of a merger, sale, change in control, or reorganization of all or part of our business.<br />+ - When we are required to disclose personal information to respond to subpoenas, court orders, or legal process, or to establish or exercise our legal rights or defend against legal claims.<br />+ - Where we have a good-faith belief sharing is necessary to investigate, prevent or take action regarding illegal activities, suspected fraud, situations involving potential threats to the physical safety of any person, or violations of our Terms and Conditions, or as otherwise required to comply with our legal obligations.<br />+ - Other purposes for which we obtain your consent.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>9. Data subject rights</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ We would like to make sure you are fully aware of all of your data protection rights. In certain circumstances, you have the following data protection rights:<br />+ - <b>The right to access:</b> You have the right to request our Company for copies of your personal data.<br />+ - <b>The right to rectification:</b> You have the right to request that our Company corrects any information you believe is inaccurate. You also have the right to request our Company to complete the information you believe is incomplete.<br />+ - <b>The right to erasure:</b> You have the right to request that our Company erases your personal data, under certain conditions.<br />+ - <b>The right to restrict processing:</b> You have the right to request that our Company restricts the processing of your personal data, under certain conditions.<br />+ - <b>The right to object to processing:</b> You have the right to object to our Company's processing of your personal data, under certain conditions.<br />+ - <b>The right to data portability:</b> You have the right to request that our Company transfers the data that we have collected to another organization, or directly to you, under certain conditions.<br />+ If you make a request, we have one month to respond to you. If you would like to exercise any of these rights, please contact us via email at + <a href='mailto:[email protected]' className='font-medium text-indigo-600 hover:text-indigo-500'>+ </a>+ . Please note that we may ask you to verify your identity before responding to such requests.<br />+ We have no direct relationship with the End Users. Our Customers are solely responsible for ensuring compliance with all applicable laws and regulations with respect to their website users.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>10. Communication preferences</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ Swetrix will send you commercial communications based on the communication preferences in your account settings. Swetrix also will send you service-related communications. You may manage your receipt of commercial communications by clicking on the “unsubscribe” link located on the bottom of such emails, through your account settings if you have a Swetrix account, or you may send a request to + <a href='mailto:[email protected]' className='font-medium text-indigo-600 hover:text-indigo-500'>+ </a>+ .+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>11. Data security</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ We take all reasonable steps to protect information we receive from you from loss, misuse or unauthorized access, disclosure, alteration and/or destruction. We have put in place appropriate physical, technical and administrative measures to safeguard and secure your information, and we make use of privacy-enhancing technologies such as encryption. If you have any questions about the security of your personal information, you can contact us at + <a href='mailto:[email protected]' className='font-medium text-indigo-600 hover:text-indigo-500'>+ </a>+ .+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>12. Notification of changes</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ If we make changes to this Policy that we believe materially impact the privacy of your personal information, we will promptly provide notice of any such changes (and, where necessary, obtain consent), as well as post the updated Policy on this website noting the date of any changes via the "Last updated" date at the bottom of this Privacy Policy. We encourage you to periodically review this page for the latest information on our privacy practices.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>13. Business transactions</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ We may assign or transfer this Policy, as well as information covered by this Policy, in the event of a merger, sale, change in control, or reorganization of all or part of our business.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>14. Contact</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ If you have any questions about this Privacy Policy, you can contact us by email at + <a href='mailto:[email protected]' className='font-medium text-indigo-600 hover:text-indigo-500'>+ </a>+ .+ </p>++ <hr className='mt-10 mb-4' />+ <p className='text-lg text-gray-900 tracking-tight'>+ <i>Last updated: August 16, 2021.</i>+ </p>+ </div>+ </div>+ </Title>+ )+}++export default Featuresdiff --git a/src/pages/Terms/index.jsx b/src/pages/Terms/index.jsxnew file mode 100644index 000000000..5992ba6ff--- /dev/null+++ b/src/pages/Terms/index.jsx@@ -0,0 +1,182 @@+import React from 'react'+import { Link } from 'react-router-dom'+import { HashLink } from 'react-router-hash-link'++import Title from 'components/Title'+import routes from 'routes'++const Features = () => {+ return (+ <Title title='Privacy Policy'>+ <div className='bg-gray-50'>+ <div className='w-4/5 mx-auto pb-16 pt-12 px-4 sm:px-6 lg:px-8'>+ <h1 className='text-4xl font-extrabold text-gray-900 tracking-tight'>Swetrix Terms and Conditions</h1>+ <p className='mt-4 text-lg text-gray-900 tracking-tight'>+ These Swetrix Terms and Conditions ("Terms", "Terms and Conditions") govern your relationship with swetrix.com ("Service") operated by Andrii Romasiun ("Swetrix", "Swetrix Analytics", "Company", "us", "we", or "our").<br />+ Please read these Terms and Conditions carefully before using the Service.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>Acknowledgment</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ These are the Terms and Conditions governing the use of this Service and the agreement that operates between you and us. These Terms and Conditions set out the rights and obligations of all users regarding the use of the Service.<br />+ Your access to and use of the Service is conditioned on your acceptance of and compliance with these Terms and Conditions. These Terms and Conditions apply to all visitors, users and others who access or use the Service.<br />+ By accessing or using the Service you agree to be bound by these Terms and Conditions. If you disagree with any part of these Terms and Conditions then you may not access the Service.<br />+ Your access to and use of the Service is also conditioned on your acceptance of and compliance with our Privacy Policy. Our Privacy Policy describes our policies and procedures on the collection, use and disclosure of your personal information when you access our websites or use our Service and tells you about your privacy rights and how the law protects you. Please read Our Privacy Policy carefully before using our Service.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>Eligibility</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ By agreeing to these Terms, you represent and warrant to us: (i) that you are at least eighteen (18) years of age; (ii) that you have not previously been suspended or removed from our Service and (iii) that your use of our Service is in compliance with any and all applicable laws and regulations.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>Indemnity</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ You agree that you will be responsible for your use of the Service, and you agree to defend, indemnify, and us hold harmless and our officers, directors, employees, consultants, affiliates, subsidiaries and agents (collectively, the "Company Entities") from and against any and all claims, liabilities, damages, losses, and expenses, including reasonable attorneys' fees and costs, arising out of or in any way connected with (i) your access to, use of, or alleged use of the Service; (ii) your violation of these Terms or any representation, warranty, or agreements referenced herein, or any applicable law or regulation; (iii) your violation of any third-party right, including without limitation any intellectual property right, publicity, confidentiality, property or privacy right; or (iv) any disputes or issues between you and any third party. We reserve the right, at our own expense, to assume the exclusive defense and control of any matter otherwise subject to indemnification by you (and without limiting your indemnification obligations with respect to such matter), and in such case, you agree to cooperate with our defense of such claim.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>Termination</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ We may at our sole discretion suspend or terminate your access to our Service at any time, with or without notice for any reason or no reason at all. We also reserve the right to modify or discontinue the Service at any time (including, without limitation, by limiting or discontinuing certain features of the Service) without notice to you. We will have no liability whatsoever on account of any change to the Service or any suspension or termination of your access to or use of the Service.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>Fair use</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ We will use commercially reasonable efforts to provide all plan levels with sufficient capacity for the analytics data, number of websites, and other plan features that we determine are typical of accounts at that plan level. We may notify you if your usage is unreasonable, and we may at our sole discretion and at any time shut down and terminate our Service if your usage is creating an unreasonable burden on our infrastructure and/or business operations.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>Third-party websites</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ The Service may contain links to third-party websites or services that are not owned or controlled by us.<br />+ We have no control over, and assume no responsibility for, the content, privacy policies, or practices of any third party websites or services. You further acknowledge and agree that the Company shall not be responsible or liable, directly or indirectly, for any damage or loss caused or alleged to be caused by or in connection with the use of or reliance on any such content, goods or services available on or through any such websites or services.<br />+ We strongly advise you to read the terms and conditions and privacy policies of any third-party websites or services that you visit.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>License grant to us</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ By submitting, posting, or publishing your content, suggestions, enhancement requests, recommendations, feedback, information, data, or comments (“Content”) to our Service, you are granting us a perpetual, irrevocable, worldwide, non-exclusive, royalty-free right and license (with the right to sublicense) to use, incorporate, exploit, display, perform, reproduce, distribute, and prepare derivative works of your Content. You will retain ownership of your Content, however, any use of your Content by us may be without any compensation paid to you. By submitting, posting, and publishing your Content, you represent and warrant that your Content, does not: (i) infringe, violate, or misappropriate any third-party right, including any copyright, trademark, patent, trade secret, moral right, privacy right, right of publicity, or any other intellectual property or proprietary right; or (ii) slander, defame, or libel any third-party.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>Prohibited uses</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ As a condition of your use of the Service, you will not use the Service for any purpose that is unlawful or prohibited by these Terms. You may not use the Service in any manner that could damage, disable, overburden, disrupt or impair any of our servers or APIs, or any networks connected to any of our server or APIs, or that could interfere with any other party's use and enjoyment of any Service. You may not transmit any viruses, worms, defects, Trojan horses, or any items of a destructive nature through your use of Service. You may not exceed or circumvent, or try to exceed or circumvent, limitations on the Service, including on any API calls, or otherwise use the Service in a manner that violates any Swetrix documentation or user manuals. You may not attempt to gain unauthorized access to any Service, other accounts, computer systems, or networks connected to any Swetrix server or to any of the Service through hacking, password mining, or any other means. You may not obtain or attempt to obtain any materials or information through any means not intentionally made available through the Service. You may not use the Service in any way that violates any applicable federal, state, local, or international law or regulation (including, without limitation, any laws regarding the export of data or software to and from the US or other countries).+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>Limitation of liability</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ IN NO EVENT WILL THE COMPANY ENTITIES BE LIABLE TO YOU OR ANY THIRD PARTY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES ARISING OUT OF OR RELATING TO YOUR ACCESS TO OR USE OF, OR YOUR INABILITY TO ACCESS OR USE, THE SERVICE OR ANY MATERIALS OR CONTENT ON THE SERVICE, WHETHER BASED ON WARRANTY, CONTRACT, TORT (INCLUDING NEGLIGENCE), STATUTE, OR ANY OTHER LEGAL THEORY, WHETHER OR NOT THE COMPANY ENTITIES HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGE.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>Disclaimers; no warranties</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ THE SERVICE ARE MADE AVAILABLE TO YOU ON AN "AS IS" AND "AS AVAILABLE" BASIS, WITH THE EXPRESS UNDERSTANDING THAT THE COMPANY ENTITIES HAVE NO OBLIGATION TO MONITOR, CONTROL, OR VET THE CONTENT OR DATA APPEARING ON THE SERVICE. AS SUCH, YOUR USE OF THE SERVICE IS AT YOUR OWN DISCRETION AND RISK. THE COMPANY ENTITIES MAKE NO CLAIMS OR PROMISES ABOUT THE QUALITY, ACCURACY, OR RELIABILITY OF THE SERVICE AND EXPRESSLY DISCLAIM ALL WARRANTIES, WHETHER EXPRESS OR IMPLIED, INCLUDING IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>Accounts</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ When you create an account with us, you must provide us information that is accurate, complete, and current at all times. Failure to do so constitutes a breach of the Terms, which may result in immediate termination of your account on our Service.<br />+ You are responsible for safeguarding the password that you use to access the Service and for any activities or actions under your password, whether your password is with our Service or a third-party service.<br />+ You agree not to disclose your password to any third party. You must notify us immediately upon becoming aware of any breach of security or unauthorized use of your account.<br />+ You may not use as a username the name of another person or entity or that is not lawfully available for use, a name or trademark that is subject to any rights of another person or entity other than you without appropriate authorization, or a name that is otherwise offensive, vulgar or obscene.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>Subscriptions</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ Some parts of the Service are billed on a subscription basis ("Subscription(s)"). You will be billed in advance on a recurring and periodic basis ("Billing Cycle"). Billing cycles are set either on a monthly or annual basis, depending on the type of subscription plan you select when purchasing a Subscription.<br />+ At the end of each Billing Cycle, your Subscription will automatically renew under the exact same conditions unless you cancel it or we cancel it. You may cancel your Subscription renewal either through your online account management page or by contacting our customer support team.<br />+ A valid payment method, including credit card, is required to process the payment for your Subscription. You shall provide us with accurate and complete billing information including full name, address, state, zip code, telephone number, and a valid payment method information. By submitting such payment information, you automatically authorize us to charge all Subscription fees incurred through your account to any such payment instruments.<br />+ Should automatic billing fail to occur for any reason, we may issue an electronic invoice indicating that you must proceed manually, within a certain deadline date, with the full payment corresponding to the billing period as indicated on the invoice.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>Fee changes</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ We may, at our sole discretion and at any time, modify the Subscription fees for the Subscriptions. Any Subscription fee change will become effective at the end of the then-current Billing Cycle.<br />+ We will provide you with a reasonable prior notice of any change in Subscription fees to give you an opportunity to terminate your Subscription before such change becomes effective.<br />+ Your continued use of the Service after the Subscription fee change comes into effect constitutes your agreement to pay the modified Subscription fee amount.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>Refunds</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ To avoid being charged for your Subscription, you must cancel the Subscription before your renewal date. Otherwise, you’ll be charged and will retain access to the Service through the end of the Billing Cycle.<br />+ Except when required by law, paid Subscription fees are non-refundable. However, you may contact our support team and at our sole discretion we may issue a refund on a case-by-case basis.+ </p>++ {/* <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>Service Level Agreement (SLA)</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ If you purchased a Subscription with a SLA, we aim to provide Service availability of 99.5% or better. If downtime in any one month exceeds 0.5% of that month, we will credit your account. Service credits are applied at your request and will apply toward the balance due at the end of the next Billing Cycle (either monthly or yearly).<br />+ We will apply any service credits only against future payments for the services otherwise due from you. Service credits will not entitle you to any refund or other payment from us. A service credit will be applicable and issued only if the credit amount for the applicable billing cycle is greater than one euro (€1). Service credits may not be transferred or applied to any other account.<br />+ Service credits are calculated as a percentage of the total charges paid by you (excluding one-time payments such as upfront payments) for the month in which the downtime occurred in accordance with the schedule below. For yearly billing, the total charge paid by the user is divided into 12 equal parts, each corresponding to a month unit for the purpose of the service credits calculation.<br />+ We calculate service credits the following way:<br />+ - If the monthly uptime is less than 99.5% but equal to or greater than 98.5%, the service credit is equal to 10% of the Service’s monthly cost.<br />+ - If the monthly uptime is less than 98.5%, the service credit is equal to 30% of the Service’s monthly cost.<br />++ Some performance issues are excluded from downtime calculations, such as:<br />+ - Issues caused by factors outside of our reasonable control.<br />+ - Issues that resulted from any actions or inaction by a user or a third-party.<br />+ - Issues that resulted from the user’s equipment and/or third-party equipment (not within our primary control). For the avoidance of any doubt, we do not provide any Internet or network services and any performance issues related to that type of services shall be deemed not in the primary control of the Company.<br />+ - Issues that arise from the Company’s suspension or termination of rights to use the Service in accordance with these Terms.<br />+ - Downtime caused by reasonable scheduled maintenance that is announced in advance.+ </p> */}++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>Governing Law</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ These Terms shall be governed and construed in accordance with the laws of Ukraine, without regard to its conflict of law provisions.<br />+ Our failure to enforce any right or provision of these Terms will not be considered a waiver of those rights. If any provision of these Terms is held to be invalid or unenforceable by a court, the remaining provisions of these Terms will remain in effect. These Terms constitute the entire agreement between us regarding our Service, and supersede and replace any prior agreements we might have between us regarding the Service.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>Disputes resolution</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ If you have any concern or dispute about the Service, you agree to first try to resolve the dispute informally by contacting the Company.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>For European Union (EU) users</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ If You are a European Union consumer, you will benefit from any mandatory provisions of the law of the country in which you are resident in.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>United States Legal Compliance</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ You represent and warrant that (i) you are not located in a country that is subject to the United States government embargo, or that has been designated by the United States government as a "terrorist supporting" country, and (ii) You are not listed on any United States government list of prohibited or restricted parties.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>Severability</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ If any provision of these Terms is held to be unenforceable or invalid, such provision will be changed and interpreted to accomplish the objectives of such provision to the greatest extent possible under applicable law and the remaining provisions will continue in full force and effect.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>Waiver</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ Except as provided herein, the failure to exercise a right or to require performance of an obligation under this Agreement shall not affect a party’s ability to exercise such right or require such performance at any time thereafter, nor shall the waiver of a breach constitute the waiver of any subsequent breach.+ </p>+++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>Translation interpretation</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ These Terms and Conditions may have been translated if we have made them available to you on our Service. You agree that the original English text shall prevail in the case of a dispute.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>Changes to these Terms and Conditions</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ We reserve the right, at our sole discretion, to modify or replace these Terms and Conditions at any time. If a revision is material we will make reasonable efforts to provide at least 30 days' notice prior to any new terms taking effect. What constitutes a material change will be determined at our sole discretion.<br />+ By continuing to access or use our Service after those revisions become effective, you agree to be bound by the revised terms. If you do not agree to the new terms, in whole or in part, please stop using the website and the Service.+ </p>++ <h3 className='text-2xl font-bold text-gray-900 tracking-tight mt-4'>Contact us</h3>+ <p className='text-lg text-gray-900 tracking-tight'>+ If you have any questions you can contact us by sending us an email at + <a href='mailto:[email protected]' className='font-medium text-indigo-600 hover:text-indigo-500'>+ </a>+ .+ </p>++ <hr className='mt-10 mb-4' />+ <p className='text-lg text-gray-900 tracking-tight'>+ <i>Last updated: August 16, 2021.</i>+ </p>+ </div>+ </div>+ </Title>+ )+}++export default Featuresdiff --git a/src/routes.js b/src/routes.jsindex 035bd6b9e..b0466dc13 100644--- a/src/routes.js+++ b/src/routes.js@@ -14,6 +14,8 @@ const routes = Object.freeze({docs: '/docs',features: '/features',billing: '/billing',+ privacy: '/privacy',+ terms: '/terms',})export default routes