📈 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
Add VAT notice
Blue Mousec4959ba0519c
diff --git a/web/app/components/pricing/BillingPricing.tsx b/web/app/components/pricing/BillingPricing.tsxindex 707f7e6c8..c8aaaf53d 100644--- a/web/app/components/pricing/BillingPricing.tsx+++ b/web/app/components/pricing/BillingPricing.tsx@@ -463,6 +463,7 @@ const BillingPricing = ({getActionLabel={getActionLabel}loadingPlanType={selectionLoading?.planType ?? null}disabled={Boolean(selectionLoading)}+ showVatNote/></div>diff --git a/web/app/components/pricing/MarketingPricing.tsx b/web/app/components/pricing/MarketingPricing.tsxindex 638f9b465..ab0fec4ec 100644--- a/web/app/components/pricing/MarketingPricing.tsx+++ b/web/app/components/pricing/MarketingPricing.tsx@@ -37,6 +37,7 @@ interface MarketingPricingProps {getActionLabel?: (selection: MarketingPricingSelection) => stringloadingPlanType?: PlanTypeCode | nulldisabled?: boolean+ showVatNote?: boolean}export interface MarketingPricingSelection {@@ -406,6 +407,7 @@ export const PricingInternal = ({getActionLabel,loadingPlanType,disabled,+ showVatNote,}: MarketingPricingProps) => {const { isAuthenticated } = useAuth()const { t } = useTranslation('common')@@ -620,36 +622,52 @@ export const PricingInternal = ({<div className='mt-2 min-h-[78px]'>{hasPublishedPrice ? (<>- <div className='flex min-h-10 flex-wrap items-end gap-2'>- <Text- as='p'- size='3xl'- weight='bold'- colour='primary'- className={isEnterprise ? 'dark' : ''}- >- <PriceAmount- value={+ <div className='flex min-h-10 flex-wrap items-end justify-between gap-x-3 gap-y-1'>+ <div className='flex flex-wrap items-end gap-2'>+ <Text+ as='p'+ size='3xl'+ weight='bold'+ colour='primary'+ className={isEnterprise ? 'dark' : ''}+ >+ <PriceAmount+ value={+ isYearly+ ? (yearlyPrice ?? null)+ : (monthlyPrice ?? null)+ }+ currencySymbol={currency.symbol}+ />+ </Text>+ <Text+ as='p'+ size='base'+ weight='medium'+ colour='secondary'+ className={cn('pb-1', isEnterprise ? 'dark' : '')}+ >+ {`/${t(isYearly- ? (yearlyPrice ?? null)- : (monthlyPrice ?? null)- }- currencySymbol={currency.symbol}- />- </Text>- <Text- as='p'- size='base'- weight='medium'- colour='secondary'- className={cn('pb-1', isEnterprise ? 'dark' : '')}- >- {`/${t(- isYearly- ? 'pricing.intervals.year'- : 'pricing.intervals.month',- )}`}- </Text>+ ? 'pricing.intervals.year'+ : 'pricing.intervals.month',+ )}`}+ </Text>+ </div>+ {showVatNote ? (+ <Text+ as='p'+ size='xs'+ weight='medium'+ colour='secondary'+ className={cn(+ 'pb-1 text-right',+ isEnterprise ? 'dark' : '',+ )}+ >+ {t('pricing.vatApplicable')}+ </Text>+ ) : null}</div>{isYearly ? (<div className='mt-1 flex h-6 flex-wrap items-baseline gap-1'>@@ -804,6 +822,7 @@ const MarketingPricing = ({getActionLabel,loadingPlanType,disabled,+ showVatNote,}: MarketingPricingProps) => {const { t } = useTranslation('common')return (@@ -836,6 +855,7 @@ const MarketingPricing = ({getActionLabel={getActionLabel}loadingPlanType={loadingPlanType}disabled={disabled}+ showVatNote={showVatNote}/></div></div>diff --git a/web/app/pages/Subscribe/Subscribe.tsx b/web/app/pages/Subscribe/Subscribe.tsxindex 12456893d..ef6527c61 100644--- a/web/app/pages/Subscribe/Subscribe.tsx+++ b/web/app/pages/Subscribe/Subscribe.tsx@@ -311,6 +311,7 @@ const Subscribe = () => {onSelectPlan={handlePlanSelection}loadingPlanType={selectionLoading?.planType ?? null}disabled={Boolean(selectionLoading) || hasCompletedCheckout}+ showVatNote/></div>diff --git a/web/public/locales/en.json b/web/public/locales/en.jsonindex 7694d6dc6..ded5d20f3 100644--- a/web/public/locales/en.json+++ b/web/public/locales/en.json@@ -3163,6 +3163,7 @@"monthlyEventsTooltip": "Events include pageviews, custom events, CAPTCHA completions, and error events.","monthlyEventVolume": "Monthly event volume","eventVolume": "Event volume",+ "vatApplicable": "+VAT if applicable","startFreeTrial": "Start free trial","planWithEvents": "{{plan}} plan, {{events}} events per month","selectedPlanWithEvents": "{{plan}}, {{events}} events",