The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
remove beta tags
Steven Tey0af833a58190
diff --git a/apps/web/lib/zod/schemas/links.ts b/apps/web/lib/zod/schemas/links.tsindex bb067ab3c2..0bad4f1620 100644--- a/apps/web/lib/zod/schemas/links.ts+++ b/apps/web/lib/zod/schemas/links.ts@@ -408,7 +408,7 @@ export const LinkSchema = ztrackConversion: z.boolean().default(false)- .describe("[BETA] Whether to track conversions for the short link."),+ .describe("Whether to track conversions for the short link."),externalId: z.string().nullable()@@ -566,16 +566,16 @@ export const LinkSchema = zleads: z.number().default(0)- .describe("[BETA]: The number of leads the short links has generated."),+ .describe("The number of leads the short links has generated."),sales: z.number().default(0)- .describe("[BETA]: The number of sales the short links has generated."),+ .describe("The number of sales the short links has generated."),saleAmount: z.number().default(0).describe(- "[BETA]: The total dollar amount of sales the short links has generated (in cents).",+ "The total dollar amount of sales the short links has generated (in cents).",),createdAt: z.string()diff --git a/apps/web/lib/zod/schemas/workspaces.ts b/apps/web/lib/zod/schemas/workspaces.tsindex 105dbaa674..0bbde40333 100644--- a/apps/web/lib/zod/schemas/workspaces.ts+++ b/apps/web/lib/zod/schemas/workspaces.ts@@ -41,9 +41,7 @@ export const WorkspaceSchema = zstripeConnectId: z.string().nullable()- .describe(- "[BETA – Dub Conversions]: The Stripe Connect ID of the workspace.",- ),+ .describe("The Stripe Connect ID of the workspace."),payoutMethodId: z.string().nullable()diff --git a/apps/web/ui/links/link-details-column.tsx b/apps/web/ui/links/link-details-column.tsxindex e4eedd391e..e80dfeda7f 100644--- a/apps/web/ui/links/link-details-column.tsx+++ b/apps/web/ui/links/link-details-column.tsx@@ -154,25 +154,20 @@ function AnalyticsBadge({ link }: { link: ResponseLink }) {: (value) => pluralize("click", value),iconClassName: "data-[active=true]:text-blue-500",},- // TODO: Remove this once Dub Conversions goes GA- ...(link.leads > 0 || link.saleAmount > 0- ? [- {- id: "leads",- icon: UserCheck,- value: link.leads,- className: "hidden sm:flex",- iconClassName: "data-[active=true]:text-purple-500",- },- {- id: "sales",- icon: InvoiceDollar,- value: link.saleAmount,- className: "hidden sm:flex",- iconClassName: "data-[active=true]:text-teal-500",- },- ]- : []),+ {+ id: "leads",+ icon: UserCheck,+ value: link.leads,+ className: "hidden sm:flex",+ iconClassName: "data-[active=true]:text-purple-500",+ },+ {+ id: "sales",+ icon: InvoiceDollar,+ value: link.saleAmount,+ className: "hidden sm:flex",+ iconClassName: "data-[active=true]:text-teal-500",+ },],[link],);