📈 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
billing reporting errors tracking support
Blue Mousea2485a94dee5
diff --git a/app/pages/Billing/index.tsx b/app/pages/Billing/index.tsxindex b7111b237..1024a4c25 100644--- a/app/pages/Billing/index.tsx+++ b/app/pages/Billing/index.tsx@@ -319,6 +319,12 @@ const Billing: React.FC<IBilling> = ({ ssrAuthenticated, ssrTheme }): JSX.Elemenpercentage: usageinfo.captchaPerc || 0,})}</li>+ <li className='marker:text-red-600 dark:marker:text-red-800'>+ {t('billing.errors', {+ quantity: usageinfo.errors || 0,+ percentage: usageinfo.errorsPerc || 0,+ })}+ </li></ul></div>}diff --git a/app/redux/models/IUsageinfo.ts b/app/redux/models/IUsageinfo.tsindex 755fa9e16..61a144805 100644--- a/app/redux/models/IUsageinfo.ts+++ b/app/redux/models/IUsageinfo.ts@@ -3,7 +3,9 @@ export interface IUsageInfo {traffic: numbercustomEvents: numbercaptcha: number+ errors: numbertrafficPerc: numbercustomEventsPerc: numbercaptchaPerc: number+ errorsPerc: number}diff --git a/app/redux/reducers/ui/misc.ts b/app/redux/reducers/ui/misc.tsindex 6361dd7a3..cc9bd85f3 100644--- a/app/redux/reducers/ui/misc.ts+++ b/app/redux/reducers/ui/misc.ts@@ -32,9 +32,11 @@ const initialState: IInitialState = {usageinfo: {total: 0,traffic: 0,+ errors: 0,customEvents: 0,captcha: 0,trafficPerc: 0,+ errorsPerc: 0,customEventsPerc: 0,captchaPerc: 0,},diff --git a/public/locales/en.json b/public/locales/en.jsonindex f36d9a5fa..95d71d056 100644--- a/public/locales/en.json+++ b/public/locales/en.json@@ -866,6 +866,7 @@"pageviews": "Pageview events: {{quantity}} ({{percentage}}%)","customEvents": "Custom events: {{quantity}} ({{percentage}}%)","captcha": "CAPTCHA events: {{quantity}} ({{percentage}}%)",+ "errors": "Error events: {{quantity}} ({{percentage}}%)","gotoUsage": "Go to plan usage","confirmNewPlan": "Confirm your new subscription plan","previewLoadingError": "An error occured while loading the pricing preview, please try again later.\nIf the problem persists, please contact us at <mail>{{email}}</mail>.\nYou can still change your plan, but you won't be able to see the pricing preview at the moment, sorry for that.",