Skip to content

Commit

Permalink
🔧Update GA ID
Browse files Browse the repository at this point in the history
  • Loading branch information
DonFungible committed Feb 13, 2025
1 parent 0a08ba5 commit 9327040
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default function RootLayout({
</div>
</WagmiProviderWrapper>
</body>
<GoogleAnalytics gaId="G-PXEQZ642TY" />
<GoogleAnalytics gaId={process.env.GOOGLE_ANALYTICS_ID} />
</html>
)
}
1 change: 1 addition & 0 deletions src/lib/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const envVariables = z.object({
NEXT_PUBLIC_STAKING_API_URL: z.string().url(),
NEXT_PUBLIC_SINGULARITY_BLOCK_HEIGHT: z.string().transform((val) => parseInt(val)),
NEXT_PUBLIC_CHAIN_ID: z.string(),
GOOGLE_ANALYTICS_ID: z.string(),
})

envVariables.parse(process.env)
Expand Down

0 comments on commit 9327040

Please sign in to comment.