diff --git a/app/root.tsx b/app/root.tsx
index ed2c6b7a0..7cf80e363 100644
--- a/app/root.tsx
+++ b/app/root.tsx
@@ -67,6 +67,7 @@ export const meta: MetaFunction = () => ({
export interface RootLoaderData {
locale: string;
patrons: FindAllPatrons;
+ gtmId?: string;
user?: Pick<
UserWithPlusTier,
| "id"
@@ -86,6 +87,7 @@ export const loader: LoaderFunction = async ({ request }) => {
{
locale,
patrons: db.users.findAllPatrons(),
+ gtmId: process.env["GTM_ID"],
user: user
? {
discordName: user.discordName,
@@ -131,7 +133,7 @@ function Document({