diff --git a/registry/src/config.ts b/registry/src/config.ts
index bbcfd6b..ca53b51 100644
--- a/registry/src/config.ts
+++ b/registry/src/config.ts
@@ -14,6 +14,7 @@ const config =
) || {};
if (!config.user) config.user = {};
+if (!config.web) config.web = {};
const env = Deno.env.toObject();
@@ -43,6 +44,9 @@ for (const key in env) {
case "S3_REGION":
config.s3 = { ...(config.s3 || {}), region: env[key] };
break;
+ case "WEB_TRACKING":
+ config.web.tracking = env[key];
+ break;
}
}
}
diff --git a/registry/src/views/_base.tsx b/registry/src/views/_base.tsx
index 1c3ffe0..2d2cfb0 100644
--- a/registry/src/views/_base.tsx
+++ b/registry/src/views/_base.tsx
@@ -1,5 +1,8 @@
///