Skip to content

Commit 2529ace

Browse files
committed
Remove Google Analytics and Search Console
1 parent 71c3f32 commit 2529ace

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/app/layout.tsx

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import Script from 'next/script';
21
import type { Metadata } from 'next';
32

43
import { ThemeProvider } from '@/components/theme-provider';
@@ -10,10 +9,6 @@ export const metadata: Metadata = {
109
title: 'RepoTree - ASCII Tree Generator',
1110
description: 'RepoTree is a web app for generating an ASCII tree from a GitHub or GitLab URL.',
1211
authors: [{ name: 'Ralph Rosael' }],
13-
verification: {
14-
// Google Search Console
15-
google: 'T1eSo0As2QM6eFiFVR-rfDwCxNa_oMVNVgoSDqZNk4U',
16-
},
1712
};
1813

1914
export default function RootLayout({
@@ -23,21 +18,6 @@ export default function RootLayout({
2318
}>) {
2419
return (
2520
<html lang="en" suppressHydrationWarning>
26-
<head>
27-
{/* Google Tag (gtag.js) */}
28-
<Script
29-
src="https://www.googletagmanager.com/gtag/js?id=G-7PSC7S1M55"
30-
strategy="afterInteractive"
31-
/>
32-
<Script id="google-analytics" strategy="afterInteractive">
33-
{`
34-
window.dataLayer = window.dataLayer || [];
35-
function gtag(){dataLayer.push(arguments);}
36-
gtag('js', new Date());
37-
gtag('config', 'G-7PSC7S1M55');
38-
`}
39-
</Script>
40-
</head>
4121
<body className="antialiased">
4222
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
4323
{children}

0 commit comments

Comments
 (0)