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!

Don't ping for cloud version

Blue Mouseb99625150980
diff --git a/web/app/components/Header/index.tsx b/web/app/components/Header/index.tsx
index b85033343..a694eb209 100644
--- a/web/app/components/Header/index.tsx
+++ b/web/app/components/Header/index.tsx
@@ -590,6 +590,10 @@ const BannerManager = () => {
useEffect(() => {
const checkApiUrl = async () => {
+ if (!isSelfhosted) {
+ return
+ }
+
const response = await fetch(`${API_URL}ping`)
if (!response.ok) {
setShowSelfhostedCantReachAPIBanner(true)