diff --git a/.env.build.main b/.env.build.main index e5523f0..4ecd4ab 100644 --- a/.env.build.main +++ b/.env.build.main @@ -4,4 +4,6 @@ VITE_SOURCIFY_SERVER_URL=https://sourcify.dev/server # Sourcify repository URL for viewing verified contracts VITE_SOURCIFY_REPO_URL=https://repo.sourcify.dev -VITE_ENV=production \ No newline at end of file +VITE_ENV=production + +VITE_UMAMI_WEBSITE_ID=4077aff1-1363-442e-9d31-cadc613f267b \ No newline at end of file diff --git a/.env.build.staging b/.env.build.staging index 0ef9e6c..d4ad727 100644 --- a/.env.build.staging +++ b/.env.build.staging @@ -4,4 +4,6 @@ VITE_SOURCIFY_SERVER_URL=https://staging.sourcify.dev/server # Sourcify repository URL for viewing verified contracts VITE_SOURCIFY_REPO_URL=https://repo.staging.sourcify.dev -VITE_ENV=staging \ No newline at end of file +VITE_ENV=staging + +VITE_UMAMI_WEBSITE_ID=7b5b60c8-cf84-4083-94a8-0e7569799071 \ No newline at end of file diff --git a/app/root.tsx b/app/root.tsx index e22186f..30b4a6d 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -17,6 +17,13 @@ export function Layout({ children }: { children: React.ReactNode }) { + {import.meta.env.VITE_UMAMI_WEBSITE_ID && ( +