Skip to content

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

fix: track views properly

Marc Seitz8e4fdaeb869b
diff --git a/pages/api/views.ts b/pages/api/views.ts
index 3b7ee527..0df7ff02 100644
--- a/pages/api/views.ts
+++ b/pages/api/views.ts
@@ -76,7 +76,7 @@ export default async function handle(
// TODO: cannot identify user because session is not available
// await identifyUser((session.user as CustomUser).id);
- await analytics.identify();
+ // await analytics.identify();
await trackAnalytics({
event: "Link Viewed",
linkId: linkId,