Skip to content

Commit 99c7105

Browse files
committed
feat: wire up SiteAnalytics in layouts and add Vercel packages to package.json
1 parent 5a51429 commit 99c7105

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/(main)/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ import { toPlainText } from "next-sanity";
3434
import { VisualEditing } from "next-sanity/visual-editing";
3535
import { DisableDraftMode } from "@/components/disable-draft-mode";
3636
import { ModeToggle } from "@/components/mode-toggle";
37+
import { SiteAnalytics } from "@/components/analytics";
3738

3839
const nunito = Nunito({
3940
subsets: ["latin"],
@@ -156,6 +157,7 @@ export default async function RootLayout({
156157
</ThemeProvider>
157158
</PlayerProvider>
158159
</CookiesProviderClient>
160+
<SiteAnalytics />
159161
</body>
160162
</html>
161163
);

0 commit comments

Comments
 (0)