Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix: add missing script

Marc Seitza06d01584f73
diff --git a/app/layout.tsx b/app/layout.tsx
index 7e49d8d0..aebd91bd 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -50,6 +50,13 @@ export default function RootLayout({
return (
<html lang="en">
<head>
+ {process.env.NEXT_PUBLIC_TOLT_REFERRAL_ID && (
+ <script
+ async
+ src="https://cdn.tolt.io/tolt.js"
+ data-tolt={process.env.NEXT_PUBLIC_TOLT_REFERRAL_ID}
+ />
+ )}
<PlausibleProvider
domain="papermark.io"
enabled={process.env.NEXT_PUBLIC_VERCEL_ENV === "production"}