Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
feat: add plausibleprovider to app directory
Marc Seitzbe47edea5a99
diff --git a/app/layout.tsx b/app/layout.tsxindex df2a21f4..94d73935 100644--- a/app/layout.tsx+++ b/app/layout.tsx@@ -1,5 +1,6 @@import "@/styles/globals.css";import { Metadata } from "next";+import PlausibleProvider from "next-plausible";import { Inter } from "next/font/google";const inter = Inter({ subsets: ["latin"] });@@ -46,6 +47,12 @@ export default function RootLayout({}) {return (<html lang="en">+ <head>+ <PlausibleProvider+ domain="papermark.io"+ enabled={process.env.NEXT_PUBLIC_VERCEL_ENV === "production"}+ />+ </head><body className={inter.className}>{children}</body></html>);