diff --git a/package-lock.json b/package-lock.json index 99e9b0d..8a18cd6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,6 +9,7 @@ "version": "0.1.0", "dependencies": { "next": "15.1.6", + "next-plausible": "^3.12.4", "react": "^19.0.0", "react-dom": "^19.0.0" }, @@ -3763,6 +3764,20 @@ } } }, + "node_modules/next-plausible": { + "version": "3.12.4", + "resolved": "https://registry.npmjs.org/next-plausible/-/next-plausible-3.12.4.tgz", + "integrity": "sha512-cD3+ixJxf8yBYvsideTxqli3fvrB7R4BXcvsNJz8Sm2X1QN039WfiXjCyNWkub4h5++rRs6fHhchUMnOuJokcg==", + "license": "MIT", + "funding": { + "url": "https://github.com/4lejandrito/next-plausible?sponsor=1" + }, + "peerDependencies": { + "next": "^11.1.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0 ", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, "node_modules/next/node_modules/postcss": { "version": "8.4.31", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", diff --git a/package.json b/package.json index 019d5d3..4629031 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ }, "dependencies": { "next": "15.1.6", + "next-plausible": "^3.12.4", "react": "^19.0.0", "react-dom": "^19.0.0" }, diff --git a/src/app/layout.tsx b/src/app/layout.tsx index d9574d5..7f9e9a5 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,5 +1,6 @@ import type { Metadata } from "next"; import { Geist, Geist_Mono } from "next/font/google"; +import PlausibleProvider from "next-plausible"; import "./globals.css"; // components @@ -52,14 +53,16 @@ export default function RootLayout({ children: React.ReactNode; }>) { return ( - - -
- {children} -