Skip to content

Commit

Permalink
fix: add GoogleAnalytics in mobile page
Browse files Browse the repository at this point in the history
  • Loading branch information
Najeong-Kim committed Nov 24, 2024
1 parent 257bed0 commit 28961e9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/app/mobile/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
'use client';

import { GoogleAnalytics } from 'nextjs-google-analytics';

export default function Layout({ children }: { children: React.ReactNode }) {
return (
<>
<GoogleAnalytics />
{children}
</>
);
}

0 comments on commit 28961e9

Please sign in to comment.