The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update pricing.tsx
Steven Teya2bd85c8889f
diff --git a/packages/utils/src/constants/pricing.tsx b/packages/utils/src/constants/pricing.tsxindex 9bea55edeb..a64f95fe86 100644--- a/packages/utils/src/constants/pricing.tsx+++ b/packages/utils/src/constants/pricing.tsx@@ -1,4 +1,3 @@-import { currencyFormatter, nFormatter } from "../functions";import { INFINITY_NUMBER } from "./misc";export type PlanFeature = {@@ -11,113 +10,6 @@ export type PlanFeature = {};};-const BUSINESS_PLAN_MODIFIER = ({- name = "Business",- monthly = 59,- yearly = 49,- links = 5000,- clicks = 150000,- sales = 5000_00,- domains = 40,- folders = 10,- users = 15,- ids = [],-}: {- name: string;- monthly: number;- yearly: number;- links: number;- clicks: number;- sales: number;- domains: number;- folders: number;- users: number;- ids: string[];-}) => ({- name,- tagline: "For fast-growing startups and businesses looking to scale",- link: "https://dub.co/help/article/business-plan",- price: {- monthly,- yearly,- ids,- },- limits: {- links,- clicks,- sales,- domains,- tags: INFINITY_NUMBER,- folders,- users,- ai: 1000,- api: 3000,- },- colors: {- bg: "bg-sky-900",- text: "text-sky-900",- },- cta: {- text: `Get started with ${name}`,- shortText: `Get started`,- href: "https://app.dub.co/register",- color: "bg-sky-900 hover:bg-sky-800 hover:ring-sky-100",- },- featureTitle: "Everything in Pro, plus:",- features: [- {- id: "clicks",- text: `${nFormatter(clicks)} tracked clicks/mo`,- },- {- id: "links",- text: `${Intl.NumberFormat("en-US").format(links)} new links/mo`,- },- {- id: "sales",- text: `${currencyFormatter(sales / 100)} tracked sales/mo`,- footnote: {- title:- "Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",- cta: "Learn more.",- href: "https://d.to/conversions",- },- },- {- id: "retention",- text: "3-year analytics retention",- },- {- id: "domains",- text: `${domains} domains`,- },- {- id: "users",- text: `${users} users`,- },- {- id: "events",- text: "Real-time events stream",- footnote: {- title:- "Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",- cta: "Learn more.",- href: "https://d.to/events",- },- },- {- id: "webhooks",- text: "Real-time webhooks",- footnote: {- title:- "Use webhooks to connect Dub with your data stack and workflows – with native integrations for Segment, Zapier, Slack, and more.",- cta: "Learn more.",- href: "https://d.to/webhooks",- },- },- ] as PlanFeature[],-});-export const PLANS = [{name: "Free",@@ -137,10 +29,6 @@ export const PLANS = [ai: 10,api: 60,},- colors: {- bg: "bg-black",- text: "text-black",- },cta: {text: "Start for free",shorText: "Get started",@@ -186,8 +74,8 @@ export const PLANS = [tagline: "For content creators or small teams needing advanced features",link: "https://dub.co/help/article/pro-plan",price: {- monthly: 24,- yearly: 19,+ monthly: 30,+ yearly: 25,ids: ["price_1LodNLAlJJEpqkPVQSrt33Lc", // old monthly"price_1LodNLAlJJEpqkPVRxUyCQgZ", // old yearly@@ -195,36 +83,29 @@ export const PLANS = ["price_1OYJeBAlJJEpqkPVLjTsjX0E", // new monthly (prod)"price_1OTcQBAlJJEpqkPVYlCMqdLL", // new yearly (test)"price_1OYJeBAlJJEpqkPVnPGEZeb0", // new yearly (prod)++ // 2025 pricing+ "price_1R6Je3AlJJEpqkPVAXiF4nP5", // yearly+ "price_1R6JeDAlJJEpqkPV2W1gOwpS", // monthly],},limits: {- links: 1000,- clicks: 50000,+ links: 2_000,+ clicks: 50_000,sales: 0,domains: 10,tags: 25,folders: 3,- users: 5,+ users: 3,ai: 1000,api: 600,},- colors: {- bg: "bg-blue-500",- text: "text-blue-500",- },- cta: {- text: "Get started with Pro",- shortText: "Get started",- href: "https://app.dub.co/register",- color: "bg-black hover:bg-neutral-800 hover:ring-neutral-200",- },- featureTitle: "Everything in Free, plus:",features: [{ id: "clicks", text: "50K tracked clicks/mo" },- { id: "links", text: "1,000 new links/mo" },+ { id: "links", text: "2,000 new links/mo" },{ id: "retention", text: "1-year analytics retention" },{ id: "domains", text: "10 domains" },- { id: "users", text: "5 users" },+ { id: "users", text: "3 users" },{id: "link-features",text: "Advanced link features",@@ -242,15 +123,6 @@ export const PLANS = [},},{ id: "priority-support", text: "Priority support" },- {- id: "dublink",- text: "Premium dub.link domain",- footnote: {- title: "Stand out from the crowd with a premium dub.link domain.",- cta: "Learn more.",- href: "https://dub.co/help/article/default-dub-domains#premium-dublink-domain",- },- },{id: "dotlink",text: "Free custom domain",@@ -263,77 +135,150 @@ export const PLANS = [},] as PlanFeature[],},- BUSINESS_PLAN_MODIFIER({+ {name: "Business",- monthly: 59,- yearly: 49,- links: 5000,- clicks: 150000,- sales: 5000_00,- domains: 40,- folders: 10,- users: 15,- ids: [- "price_1LodLoAlJJEpqkPV9rD0rlNL", // old monthly- "price_1LodLoAlJJEpqkPVJdwv5zrG", // oldest yearly- "price_1OZgmnAlJJEpqkPVOj4kV64R", // old yearly- "price_1OzNlmAlJJEpqkPV7s9HXNAC", // new monthly (test)- "price_1OzNmXAlJJEpqkPVYO89lTdx", // new yearly (test)- "price_1OzOFIAlJJEpqkPVJxzc9irl", // new monthly (prod)- "price_1OzOXMAlJJEpqkPV9ERrjjbw", // new yearly (prod)- ],- }),- BUSINESS_PLAN_MODIFIER({- name: "Business Plus",- monthly: 119,- yearly: 99,- links: 15000,- clicks: 400000,- sales: 15000_00,- domains: 100,- folders: 25,- users: 30,- ids: [- "price_1OnWu0AlJJEpqkPVWk4144ZG", // monthly (test)- "price_1OnWu0AlJJEpqkPVkDWVriAB", // yearly (test)- "price_1OnaK3AlJJEpqkPVaCfCPdHi", // monthly (prod)- "price_1OzObrAlJJEpqkPVh6D9HWGO", // yearly (prod)- ],- }),- BUSINESS_PLAN_MODIFIER({- name: "Business Extra",- monthly: 249,- yearly: 199,- links: 40000,- clicks: 1000000,- sales: 40000_00,- domains: 250,- folders: 50,- users: 50,- ids: [- "price_1OnWvCAlJJEpqkPVLzLHx5QD", // monthly (test)- "price_1OnWvCAlJJEpqkPVHhCCvIOq", // yearly (test)- "price_1OnaKJAlJJEpqkPVeJSvPfJb", // monthly (prod)- "price_1OzOg1AlJJEpqkPVPlsrxoWm", // yearly (prod)- ],- }),- BUSINESS_PLAN_MODIFIER({- name: "Business Max",- monthly: 499,- yearly: 399,- links: 100000,- clicks: 2500000,- sales: 100000_00,- domains: 500,- folders: 100,- users: 100,- ids: [- "price_1OnWwLAlJJEpqkPVXtJyPqLk", // monthly (test)- "price_1OnWwLAlJJEpqkPV4eMbOkNh", // yearly (test)- "price_1OnaKOAlJJEpqkPVV6gkZPgt", // monthly (prod)- "price_1OzOh5AlJJEpqkPVtCSX7dlE", // yearly (prod)- ],- }),+ tagline: "For fast-growing startups and businesses looking to scale",+ link: "https://dub.co/help/article/business-plan",+ price: {+ monthly: 90,+ yearly: 75,+ ids: [+ "price_1LodLoAlJJEpqkPV9rD0rlNL", // old monthly+ "price_1LodLoAlJJEpqkPVJdwv5zrG", // oldest yearly+ "price_1OZgmnAlJJEpqkPVOj4kV64R", // old yearly+ "price_1OzNlmAlJJEpqkPV7s9HXNAC", // new monthly (test)+ "price_1OzNmXAlJJEpqkPVYO89lTdx", // new yearly (test)+ "price_1OzOFIAlJJEpqkPVJxzc9irl", // new monthly (prod)+ "price_1OzOXMAlJJEpqkPV9ERrjjbw", // new yearly (prod)++ // 2025 pricing+ "price_1R3j01AlJJEpqkPVXuG1eNzm", // yearly+ "price_1R6JedAlJJEpqkPVMUkfjch4", // monthly+ ],+ },+ limits: {+ links: 10_000,+ clicks: 250_000,+ sales: 25_000_00,+ domains: 100,+ tags: INFINITY_NUMBER,+ folders: 20,+ users: 10,+ ai: 1000,+ api: 3000,+ },+ featureTitle: "Everything in Pro, plus:",+ features: [+ {+ id: "clicks",+ text: "250K tracked clicks/mo",+ },+ {+ id: "links",+ text: "10K new links/mo",+ },+ {+ id: "sales",+ text: "$25K tracked sales/mo",+ footnote: {+ title:+ "Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",+ cta: "Learn more.",+ href: "https://d.to/conversions",+ },+ },+ {+ id: "retention",+ text: "3-year analytics retention",+ },+ {+ id: "domains",+ text: "100 domains",+ },+ {+ id: "users",+ text: "10 users",+ },+ {+ id: "events",+ text: "Real-time events stream",+ footnote: {+ title:+ "Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",+ cta: "Learn more.",+ href: "https://d.to/events",+ },+ },+ {+ id: "webhooks",+ text: "Real-time webhooks",+ footnote: {+ title:+ "Use webhooks to connect Dub with your data stack and workflows – with native integrations for Segment, Zapier, Slack, and more.",+ cta: "Learn more.",+ href: "https://d.to/webhooks",+ },+ },+ ] as PlanFeature[],+ },+ {+ name: "Advanced",+ tagline: "For power users needing more usage quotas",+ link: "https://dub.co/help/article/advanced-plan",+ price: {+ monthly: 300,+ yearly: 250,+ ids: [+ // 2025 pricing+ "price_1R3j0QAlJJEpqkPVrTW1Ss2i", // yearly+ "price_1R3j0qAlJJEpqkPVkfGNXRwb", // monthly+ ],+ },+ limits: {+ links: 50_000,+ clicks: 1_000_000,+ sales: 100_000_00,+ domains: 250,+ tags: INFINITY_NUMBER,+ folders: 50,+ users: 20,+ ai: 1000,+ api: 3000,+ },+ featureTitle: "Everything in Business, plus:",+ features: [+ {+ id: "clicks",+ text: "1M tracked clicks/mo",+ },+ {+ id: "links",+ text: "50K new links/mo",+ },+ {+ id: "sales",+ text: "$100K tracked sales/mo",+ footnote: {+ title:+ "Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",+ cta: "Learn more.",+ href: "https://d.to/conversions",+ },+ },+ {+ id: "retention",+ text: "5-year analytics retention",+ },+ {+ id: "domains",+ text: "250 domains",+ },+ {+ id: "users",+ text: "20 users",+ },+ ] as PlanFeature[],+ },{name: "Enterprise",tagline: "For large organizations and governments with custom needs",@@ -353,17 +298,7 @@ export const PLANS = [ai: 10000,api: 10000,},- colors: {- bg: "bg-violet-600",- text: "text-violet-600",- },- cta: {- text: "Get a demo",- href: "/enterprise",- color:- "bg-white hover:bg-neutral-50 border border-neutral-200 hover:ring-neutral-100 text-neutral-800",- },- featureTitle: "Everything in Business, plus:",+ featureTitle: "Everything in Advanced, plus:",features: [{ id: "sso", text: "SSO/SAML" },{ id: "roles", text: "Role-based controls" },