The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: ga props key names
phamhieu029316bf52f6
diff --git a/studio/components/ui/PageTelemetry.tsx b/studio/components/ui/PageTelemetry.tsxindex 30b26b70ddd..1754214bd8a 100644--- a/studio/components/ui/PageTelemetry.tsx+++ b/studio/components/ui/PageTelemetry.tsx@@ -50,7 +50,11 @@ const PageTelemetry: FC = ({ children }) => {post(`${API_URL}/telemetry/page`, {referrer: referrer,title: document.title,- ga: ui.googleAnalyticsProps,+ ga: {+ client_id: ui.googleAnalyticsProps?.clientId,+ screen_resolution: ui.googleAnalyticsProps?.screenResolution,+ language: ui.googleAnalyticsProps?.language,+ },})}}diff --git a/studio/lib/telemetry.ts b/studio/lib/telemetry.tsindex 44c3b5e3041..788d9548322 100644--- a/studio/lib/telemetry.ts+++ b/studio/lib/telemetry.ts@@ -40,11 +40,13 @@ const sendEvent = (/*** TODO: GA4 doesn't have identify method.- * We may or may not need gaClientId here+ * We may or may not need gaClientId here. Confirm later*/const sendIdentify = (user: User, gaProps?: GoogleAnalyticsProps) => {if (!IS_PLATFORM) return+ // TODO: server doesn't care about the user object sent up by client+ // confirm and clean up laterreturn post(`${API_URL}/telemetry/identify`, {user,ga: {