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 url to metadata, hide username for now

Steven Tey5eff2bb9ca15
diff --git a/apps/web/app/(ee)/api/track/application/route.ts b/apps/web/app/(ee)/api/track/application/route.ts
index c0714a365f..db7f5e5db7 100644
--- a/apps/web/app/(ee)/api/track/application/route.ts
+++ b/apps/web/app/(ee)/api/track/application/route.ts
@@ -175,7 +175,11 @@ async function trackVisitEvent({
partnerId: session?.user?.defaultPartnerId,
visitedAt: new Date(),
country: requestContext.country,
- metadata: requestContext,
+ metadata: {
+ ...requestContext,
+ url,
+ referrer,
+ },
},
},
);
diff --git a/apps/web/app/(ee)/partners.dub.co/(dashboard)/profile/profile-details-form.tsx b/apps/web/app/(ee)/partners.dub.co/(dashboard)/profile/profile-details-form.tsx
index 14bc08677a..cc33c1bff7 100644
--- a/apps/web/app/(ee)/partners.dub.co/(dashboard)/profile/profile-details-form.tsx
+++ b/apps/web/app/(ee)/partners.dub.co/(dashboard)/profile/profile-details-form.tsx
@@ -342,7 +342,7 @@ function BasicInfoForm({
})}
/>
</label>
- <label className="flex flex-col gap-1.5">
+ {/* <label className="flex flex-col gap-1.5">
<span className="text-sm font-medium text-neutral-800">Username</span>
<input
type="text"
@@ -364,7 +364,7 @@ function BasicInfoForm({
3–30 characters. Lowercase letters, numbers, hyphens, and
underscores only.
</p>
- </label>
+ </label> */}
<label className="flex flex-col">
<span className="text-sm font-medium text-neutral-800">Country</span>
<Controller