File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -4,4 +4,6 @@ VITE_SOURCIFY_SERVER_URL=https://sourcify.dev/server
44# Sourcify repository URL for viewing verified contracts
55VITE_SOURCIFY_REPO_URL=https://repo.sourcify.dev
66
7- VITE_ENV=production
7+ VITE_ENV=production
8+
9+ VITE_UMAMI_WEBSITE_ID=4077aff1-1363-442e-9d31-cadc613f267b
Original file line number Diff line number Diff line change @@ -4,4 +4,6 @@ VITE_SOURCIFY_SERVER_URL=https://staging.sourcify.dev/server
44# Sourcify repository URL for viewing verified contracts
55VITE_SOURCIFY_REPO_URL=https://repo.staging.sourcify.dev
66
7- VITE_ENV=staging
7+ VITE_ENV=staging
8+
9+ VITE_UMAMI_WEBSITE_ID=7b5b60c8-cf84-4083-94a8-0e7569799071
Original file line number Diff line number Diff line change @@ -17,6 +17,13 @@ export function Layout({ children }: { children: React.ReactNode }) {
1717 < meta name = "viewport" content = "width=device-width, initial-scale=1" />
1818 < Meta />
1919 < Links />
20+ { import . meta. env . VITE_UMAMI_WEBSITE_ID && (
21+ < script
22+ defer
23+ src = "https://analytics.umami.is/script.js"
24+ data-website-id = { import . meta. env . VITE_UMAMI_WEBSITE_ID }
25+ />
26+ ) }
2027 </ head >
2128 < body >
2229 < ServerConfigProvider >
You can’t perform that action at this time.
0 commit comments