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!

hide Pricing for authenticated users

Blue Mouseb238593c245d
diff --git a/app/pages/MainPage/index.tsx b/app/pages/MainPage/index.tsx
index 4aebb1881..f8dc0c3f0 100644
--- a/app/pages/MainPage/index.tsx
+++ b/app/pages/MainPage/index.tsx
@@ -551,7 +551,11 @@ const Main: React.FC<IMain> = ({ ssrTheme, ssrAuthenticated }): JSX.Element => {
</div>
</div>
{/* end Marketplace and extension features */}
- <Pricing authenticated={authenticated} t={t} language={language} />
+
+ {/* For now let's hide Pricing for authenticated users on the main page as the Paddle script only loads on the Billing page */}
+ {!authenticated && (
+ <Pricing authenticated={false} t={t} language={language} />
+ )}
{/* section: Why use Swetrix when there is .... */}
<div className='overflow-hidden'>