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!

(feature) Billing documentation (#15)

Andrii Romasiune9d4ede0ff2b
diff --git a/docs/billing/cancel-subscription.md b/docs/billing/cancel-subscription.md
new file mode 100644
index 000000000..2d5deea5f
--- /dev/null
+++ b/docs/billing/cancel-subscription.md
@@ -0,0 +1,8 @@
+---
+title: How to cancel your subscription
+slug: /cancel-your-subscription
+---
+
+To cancel your subscription plan, log into your account and go to the [Billing](https://swetrix.com/billing) page. To cancel your subscription, click on the "Cancel subscription" button located next to the tier selector.
+
+After cancelling, you will still have access to your dashboard and statistics will continue to be collected until the end of your current subscription cycle.
diff --git a/docs/billing/exceeding-plan-limits.md b/docs/billing/exceeding-plan-limits.md
new file mode 100644
index 000000000..889ca99c1
--- /dev/null
+++ b/docs/billing/exceeding-plan-limits.md
@@ -0,0 +1,20 @@
+---
+title: Exceeding your subscription plan limits
+slug: /exceeding-plan-limits
+---
+
+First of all, we don't stop collecting traffic or charge extra if you have an occasional traffic spike. We also don't stop collecting data if you miss your invoice for a short period of time. There are no hidden charges and we won't charge your card unexpectedly.
+
+If you exceed your subscription plan, we won't automatically upgrade you to the next one because it's unethical.
+
+We may block your dashboard if:
+ - You exceed your subscription plan for two consecutive months, or
+ - You exceed your event quota by more than 30%.
+
+If this happens, we will not lock your dashboard immediately. Instead, we will give you 7 days notice that your traffic has exceeded your subscription tier and provide you with information on how to resolve the issue.
+
+We may also lock your dashboard if you miss a bill. We will lock the dashboard after 5 failed attempts.
+
+We will not stop collecting your analytics data even if your dashboard is temporarily locked. If you upgrade to an appropriate toer that reflects your traffic usage (or the payment issues are resolved) - the dashboard will automatically be unlocked.
+
+We will only stop collecting data if our invoices go unpaid for many months, the dashboard is locked for a long time, or if you have exceptionally high traffic to your site and the billing issue is not resolved.
diff --git a/docs/billing/faq.md b/docs/billing/faq.md
new file mode 100644
index 000000000..888088454
--- /dev/null
+++ b/docs/billing/faq.md
@@ -0,0 +1,39 @@
+---
+title: Billing FAQ
+slug: /billing-faq
+---
+
+import useBaseUrl from '@docusaurus/useBaseUrl';
+
+## How does billing work?
+If you subscribe to a monthly plan, you will be billed the same amount on the same day (unless you upgrade or downgrade your plan). For example, if you subscribe on the 15th of July, you will be billed on the 15th of each subsequent month.
+
+If you have an annual plan, you will be billed on the same day each year.
+
+## Will I be billed per account or per website?
+TLDR: We charge per account.
+
+Our subscription tiers are based on the total number of page views, custom events (and other events such as CAPTCHA) of all the projects you create on our account, so you can add as many sites to Swetrix as you like, the total number of events across all of them will count as your total number of events towards your subscription tier.
+
+All our subscription plans include up to 50 projects for free, for each additional project you will be charged $0.15 per project.
+
+## How do I access my invoices?
+We use Paddle as our payment processor, which sends invoices by email, with a copy in the body of the email and a link to view the invoice on a hosted website.
+
+## Can I switch between monthly and yearly billing?
+You can switch between monthly and annual billing at any time. For example, if you are halfway through your annual subscription and decide to switch to a monthly subscription, the price will be prorated to reflect what you have already paid.
+
+## What payment methods does Swetrix accept?
+We accept credit/debit cards, PayPal, Google Pay and Apple Pay. All payments are processed securely through Paddle.
+
+## Can I get a VAT refund on my subscription?
+You 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={useBaseUrl('img/billing/checkout_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={useBaseUrl('img/billing/invoice_add_vat.png')} />
+
+## How can I update my payment information?
+To update your billing information, log in to your account and go to the [Billing](https://swetrix.com/billing) page.There you will find an "Update payment details" button which will take you to the Paddle subscription management page where you can edit your payment details.
diff --git a/docs/billing/update-subscription.md b/docs/billing/update-subscription.md
new file mode 100644
index 000000000..9f68336eb
--- /dev/null
+++ b/docs/billing/update-subscription.md
@@ -0,0 +1,12 @@
+---
+title: How to update your subscription plan
+slug: /update-your-subscription
+---
+
+To change your subscription plan, log into your account and go to the [Billing](https://swetrix.com/billing) page. There you will find a subscription selector that allows you to choose a plan based on how much traffic your site has.
+
+Once you have selected the plan that best suits your usage, press "Upgrade". This will bring up a modal that will tell you how much you need to pay now and in the next billing cycle.
+
+We will prorate the amount you have paid so far and discount your future bill accordingly. For example, if you are halfway through your 500k events subscription and decide to upgrade to 1m, the first bill will be discounted to reflect what you have not used on your previous subscription. You can read more about pro-ration on the [Paddle's website](https://www.paddle.com/resources/proration).
+
+Once you have reviewed your new subscription, press the "Confirm" button and your new plan will be automatically applied to your account.
diff --git a/sidebars.js b/sidebars.js
index 53b678082..ffe143ec6 100644
--- a/sidebars.js
+++ b/sidebars.js
@@ -19,6 +19,12 @@ module.exports = {
'sitesettings/get-analytics-email-reports',
'sitesettings/reset-sites-data',
],
+ 'Billing & Subscription': [
+ 'billing/exceeding-plan-limits',
+ 'billing/update-subscription',
+ 'billing/cancel-subscription',
+ 'billing/faq',
+ ],
'Affiliate program': [
'affiliate/about',
'affiliate/terms',
diff --git a/static/img/billing/checkout_add_vat.png b/static/img/billing/checkout_add_vat.png
new file mode 100644
index 000000000..f2daf4c28
Binary files /dev/null and b/static/img/billing/checkout_add_vat.png differ
diff --git a/static/img/billing/invoice_add_vat.png b/static/img/billing/invoice_add_vat.png
new file mode 100644
index 000000000..5027e328f
Binary files /dev/null and b/static/img/billing/invoice_add_vat.png differ