diff --git a/package.json b/package.json index f79d667..dc24afc 100644 --- a/package.json +++ b/package.json @@ -9,10 +9,11 @@ "lint": "next lint" }, "dependencies": { + "@next/third-parties": "^14.1.0", "axios": "^1.6.5", "dotenv": "^16.4.1", "leaflet": "^1.9.4", - "next": "14.1.0", + "next": "^14.1.0", "next-auth": "^4.24.5", "react": "^18", "react-dom": "^18", diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 4ad024d..153628c 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -5,18 +5,8 @@ import "./App.scss"; import { Providers } from "./Providers"; import Navbar from "@/widgets/Navbar/Navbar"; import Footer from "@/widgets/Footer/Footer"; +import { GoogleAnalytics } from '@next/third-parties/google' -const googleAnalyticsHtml = ` - - - -` export default function RootLayout({ children, @@ -25,7 +15,8 @@ export default function RootLayout({ }>) { return ( -
+
+