Skip to content

Commit

Permalink
Add analytics to default layout
Browse files Browse the repository at this point in the history
  • Loading branch information
marius-mather committed Sep 30, 2024
1 parent f9402de commit e5b49fc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import MainNavbar from "@/app/_components/MainNavbar";
import AceFormProvider from "@/app/_forms/AceFormProvider";
import MainFooter from "@/app/_components/MainFooter";
import TermsModal from "@/app/_components/TermsModal";
import AnalyticsScript from "@/app/_components/AnalyticsScript";

export const metadata: Metadata = {
title: {
Expand Down Expand Up @@ -37,7 +38,9 @@ export default function RootLayout({ children }: { children: ReactNode }) {
className={`${sans_font.variable} ${ubuntu_font.variable}`}
lang="en"
>
<head></head>
<head>
<AnalyticsScript />
</head>
<body>
<TermsModal />
<MainNavbar />
Expand Down

0 comments on commit e5b49fc

Please sign in to comment.