Skip to content

Commit

Permalink
Rollback Google Analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin0216 committed Oct 24, 2023
1 parent ad4872c commit 9029708
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const inter = Inter({

export const runtime = "edge";


export default function Layout({ children }: { children: ReactNode }) {
return (
<html lang="en" className={inter.className}>
Expand All @@ -20,15 +21,6 @@ export default function Layout({ children }: { children: ReactNode }) {
<RootProvider>{children}</RootProvider>
<Footer />
</body>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-34DNHD0LDL"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-34DNHD0LDL');
</script>
</html>
);
}
Empty file added hooks/ga.tsx
Empty file.

0 comments on commit 9029708

Please sign in to comment.