Skip to content

Commit

Permalink
Apply Google Analytics tracking #196 (#198)
Browse files Browse the repository at this point in the history
Resolve #196
  • Loading branch information
hyukkwonepic authored Jul 4, 2024
1 parent fa6c4e6 commit f0325f5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/website/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import "./globals.css";
import "ui/dist/style.css";
import { cn } from "ui";
import AnalyticsScripts from "./analytics-scripts";
import { Suspense } from "react";

const inter = Inter({ subsets: ["latin"] });

Expand Down Expand Up @@ -52,7 +53,9 @@ export default function RootLayout({
}>) {
return (
<html lang="en">
<AnalyticsScripts />
<Suspense>
<AnalyticsScripts />
</Suspense>
<body className={cn(inter.className, "antialiased")}>{children}</body>
</html>
);
Expand Down

0 comments on commit f0325f5

Please sign in to comment.