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.

note customerId is deprecated

Kiran K563bc004f932
diff --git a/apps/web/lib/auth/track-lead.ts b/apps/web/lib/auth/track-lead.ts
index bba9731f94..cc35605320 100644
--- a/apps/web/lib/auth/track-lead.ts
+++ b/apps/web/lib/auth/track-lead.ts
@@ -15,7 +15,7 @@ export const trackLead = async (user: User) => {
await dub.track.lead({
clickId,
eventName: "Sign Up",
- customerId: user.id,
+ customerId: user.id, // TODO: customerId is deprecated
customerName: user.name,
customerEmail: user.email,
customerAvatar: user.image,