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!

always display the price

Blue Mouse1674584189e9
diff --git a/src/pages/MainPage/Pricing.jsx b/src/pages/MainPage/Pricing.jsx
index 5e11f1285..b8da58084 100644
--- a/src/pages/MainPage/Pricing.jsx
+++ b/src/pages/MainPage/Pricing.jsx
@@ -139,23 +139,15 @@ const PricingItem = ({
</p>
)}
<p className='mt-4 text-center'>
- {tier.planCode === 'free' ? (
- <span className='text-4xl font-bold text-[#4D4D4D] dark:text-gray-50'>
- {t('pricing.free')}
- </span>
- ) : (
- <>
- <span className='text-4xl font-bold text-[#4D4D4D] dark:text-gray-50'>
- $
- {billingFrequency === BillingFrequency.monthly ? tier.priceMonthly : tier.priceYearly}
- </span>
- &nbsp;
- <span className='text-base font-medium text-gray-500 dark:text-gray-400'>
- /
- {t(billingFrequency === BillingFrequency.monthly ? 'pricing.perMonth' : 'pricing.perYear')}
- </span>
- </>
- )}
+ <span className='text-4xl font-bold text-[#4D4D4D] dark:text-gray-50'>
+ $
+ {billingFrequency === BillingFrequency.monthly ? tier.priceMonthly : tier.priceYearly}
+ </span>
+ &nbsp;
+ <span className='text-base font-medium text-gray-500 dark:text-gray-400'>
+ /
+ {t(billingFrequency === BillingFrequency.monthly ? 'pricing.perMonth' : 'pricing.perYear')}
+ </span>
</p>
{authenticated ? (
<span
@@ -220,8 +212,6 @@ const Pricing = ({ t, language }) => {
const nonStandardTiers = getNonStandardTiers(t)
const isNonStandardTier = authenticated && !_isEmpty(nonStandardTiers[user.planCode])
- console.log(isNonStandardTier, user.planCode)
-
useEffect(() => {
const lastEventHandler = async (data) => {
if (_isNil(data)) {
diff --git a/src/redux/constants/index.js b/src/redux/constants/index.js
index 6522c04be..b57be5f86 100644
--- a/src/redux/constants/index.js
+++ b/src/redux/constants/index.js
@@ -257,6 +257,8 @@ export const DEFAULT_ALERTS_TAKE = 100
// TODO: Eventually this should be fetched from the API, e.g. GET /config route
export const PLAN_LIMITS = {
free: {
+ priceMonthly: 0,
+ priceYearly: 0,
monthlyUsageLimit: 5000,
maxProjects: 10,
maxAlerts: 1,