Skip to content

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

make env var public

Inian Parameshwarancb2c32f7ac0c
diff --git a/www/.env.production b/www/.env.production
index 328ac3979f2..ea6262ec2ed 100644
--- a/www/.env.production
+++ b/www/.env.production
@@ -1 +1 @@
-GA_PROPERTY_ID="UA-155232740-1"
\ No newline at end of file
+NEXT_PUBLIC_GA_PROPERTY_ID="UA-155232740-1"
\ No newline at end of file
diff --git a/www/pages/_document.tsx b/www/pages/_document.tsx
index 351627cbf0b..092dc8112f4 100644
--- a/www/pages/_document.tsx
+++ b/www/pages/_document.tsx
@@ -3,7 +3,7 @@ import ReactGA from 'react-ga'
export default class MyDocument extends Document {
componentDidMount() {
- ReactGA.initialize(process.env.GA_PROPERTY_ID)
+ ReactGA.initialize(process.env.NEXT_PUBLIC_GA_PROPERTY_ID)
ReactGA.pageview(window.location.pathname + window.location.search)
}