Skip to content

Commit

Permalink
Added Google Analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
jstamant committed Jan 22, 2024
1 parent 318bfc1 commit e9bbb47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/layout.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import './globals.css'
import { Source_Sans_3 } from 'next/font/google'
import Script from 'next/script'
import { GoogleAnalytics } from '@next/third-parties/google'

const source_sans = Source_Sans_3({
subsets: ['latin'],
Expand Down Expand Up @@ -29,6 +30,7 @@ export default function RootLayout({ children }) {
<html lang="en" className={`${source_sans.variable}`}>
<body className="text-center text-xl text-neutral-700">{children}</body>
<Script src="https://kit.fontawesome.com/ae8eac997d.js" crossOrigin="anonymous" />
<GoogleAnalytics gaId="G-8RBZ9QXX9H" />
</html>
)
}
Expand Down

0 comments on commit e9bbb47

Please sign in to comment.