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.

Update links.ts

Steven Teyd4c16a3d79e5
diff --git a/apps/web/lib/zod/schemas/links.ts b/apps/web/lib/zod/schemas/links.ts
index 1032cd34fd..561ba0f3b4 100644
--- a/apps/web/lib/zod/schemas/links.ts
+++ b/apps/web/lib/zod/schemas/links.ts
@@ -259,6 +259,10 @@ export const LinkSchema = z
"This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with 'ext_' when passed as a query parameter.",
),
url: z.string().url().describe("The destination URL of the short link."),
+ trackConversion: z
+ .boolean()
+ .default(false)
+ .describe("[BETA] Whether to track conversions for the short link."),
archived: z
.boolean()
.default(false)