Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

add comment

Steven Teyb8ea02709e9d
diff --git a/apps/web/lib/tinybird/record-click.ts b/apps/web/lib/tinybird/record-click.ts
index ef4c10566e..9c3de151bd 100644
--- a/apps/web/lib/tinybird/record-click.ts
+++ b/apps/web/lib/tinybird/record-click.ts
@@ -63,6 +63,7 @@ export async function recordClick({
return null;
}
+ // don't track HEAD requests to avoid non-user traffic from inflating click count
if (req.method === "HEAD") {
return null;
}