diff --git a/app/root.tsx b/app/root.tsx index e19849584..ed2c6b7a0 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -131,6 +131,7 @@ function Document({ + @@ -202,6 +203,33 @@ export const ErrorBoundary: ErrorBoundaryComponent = ({ error }) => { ); }; +function GTM() { + const id = process.env["GTM_ID"]; + + if (!id) return null; + + return ( + <> + + + ); +} + function Fonts() { return ( <>