Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Fix: working page telemetry for billing

Pamela Chiaf4b701548d68
diff --git a/studio/components/ui/PageTelemetry.tsx b/studio/components/ui/PageTelemetry.tsx
index 6d9d469ef9a..3fc7ca2bb78 100644
--- a/studio/components/ui/PageTelemetry.tsx
+++ b/studio/components/ui/PageTelemetry.tsx
@@ -54,6 +54,13 @@ const PageTelemetry: FC = ({ children }) => {
language: telemetryProps?.language,
},
})
+
+ post(`${API_URL}/telemetry/pageview`, {
+ referrer: referrer,
+ title: document.title,
+ path: router.route,
+ location: router.asPath,
+ })
}
}