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 pricing items

Steven Teye7a72a9a988b
diff --git a/apps/web/app/(ee)/api/workflows/create-partner-commission/route.ts b/apps/web/app/(ee)/api/workflows/create-partner-commission/route.ts
index 29b2dd8299..3fcf00b63d 100644
--- a/apps/web/app/(ee)/api/workflows/create-partner-commission/route.ts
+++ b/apps/web/app/(ee)/api/workflows/create-partner-commission/route.ts
@@ -597,7 +597,7 @@ async function stepRunSideEffects(
},
}),
- // Run fraud detection
+ // Run risk monitoring
commission.customer &&
eventId &&
clickEvent &&
diff --git a/apps/web/app/api/workspaces/[idOrSlug]/support/slack-invite/route.ts b/apps/web/app/api/workspaces/[idOrSlug]/support/slack-invite/route.ts
index f07eb98fdd..c52a412da2 100644
--- a/apps/web/app/api/workspaces/[idOrSlug]/support/slack-invite/route.ts
+++ b/apps/web/app/api/workspaces/[idOrSlug]/support/slack-invite/route.ts
@@ -28,7 +28,7 @@ export const POST = withWorkspace(
throw new DubApiError({
code: "forbidden",
message:
- "Priority Slack support is only available on Advanced and Enterprise plans. Upgrade your workspace to request access.",
+ "Priority Slack support is only available on Enterprise plans. Upgrade your workspace to request access.",
});
}
diff --git a/apps/web/lib/plan-capabilities.ts b/apps/web/lib/plan-capabilities.ts
index 5c42863a60..7ce50df77b 100644
--- a/apps/web/lib/plan-capabilities.ts
+++ b/apps/web/lib/plan-capabilities.ts
@@ -24,8 +24,7 @@ export const getPlanCapabilities = (
!!plan && ["enterprise", "advanced"].includes(plan),
canInstallAdvancedIntegrations:
!!plan && ["enterprise", "advanced"].includes(plan),
- canRequestSlackSupportInvite:
- !!plan && ["enterprise", "advanced"].includes(plan),
+ canRequestSlackSupportInvite: !!plan && ["enterprise"].includes(plan),
canCreateReferralReward:
!!plan && ["enterprise", "advanced"].includes(plan),
};
diff --git a/apps/web/ui/partners/partners-upgrade-modal.tsx b/apps/web/ui/partners/partners-upgrade-modal.tsx
index 774b42e689..53e8c7d20c 100644
--- a/apps/web/ui/partners/partners-upgrade-modal.tsx
+++ b/apps/web/ui/partners/partners-upgrade-modal.tsx
@@ -79,27 +79,15 @@ export function PartnersUpgradeModal({
},
{
id: "email",
- text: "Email campaigns",
+ text: "Email campaigns + Messaging center",
tooltip: {
title:
- "Send marketing and transactional emails to your partners to increase engagement and drive conversions.",
- cta: "Learn more.",
- href: "https://dub.co/help/article/email-campaigns",
- },
- },
- {
- id: "messages",
- text: "Messaging center",
- tooltip: {
- title:
- "Easily communicate with your partners using our messaging center.",
- cta: "Learn more.",
- href: "https://dub.co/help/article/messaging-partners",
+ "Send [marketing/transactional emails](https://dub.co/help/article/email-campaigns) and communicate with your partners using our [messaging center](https://dub.co/help/article/messaging-partners).",
},
},
{
id: "sso",
- text: "Fraud detection",
+ text: "Risk monitoring",
tooltip: {
title:
"Safeguard your partner program by automatically flagging, reviewing, and resolving suspicious activity.",
@@ -109,17 +97,15 @@ export function PartnersUpgradeModal({
},
{
id: "partnergroups",
- text: `${plan.limits.groups < INFINITY_NUMBER ? plan.limits.groups : "Unlimited"} partner groups`,
+ text: "Unlimited partner groups & tags",
tooltip: {
title:
- "Learn how you can create partner groups to segment partners by rewards, discounts, performance, location, and more.",
- cta: "Learn more.",
- href: "https://dub.co/help/article/partner-groups",
+ "Create unlimited [partner groups](https://dub.co/help/article/partner-groups) and [tags](https://dub.co/help/article/partner-tags) to segment partners by rewards, discounts, performance, location, and more.",
},
},
{
- id: "slack",
- text: "Priority Slack support",
+ id: "success",
+ text: "Priority email support",
},
],
Enterprise: [
@@ -146,8 +132,8 @@ export function PartnersUpgradeModal({
text: "Custom SLA",
},
{
- id: "success",
- text: "Dedicated success manager",
+ id: "slack",
+ text: "Priority Slack support",
},
],
}[plan.name] ?? []),
diff --git a/packages/email/src/templates/advanced-plan-downgrade-notice.tsx b/packages/email/src/templates/advanced-plan-downgrade-notice.tsx
index 9630492c8c..edc2f18a9f 100644
--- a/packages/email/src/templates/advanced-plan-downgrade-notice.tsx
+++ b/packages/email/src/templates/advanced-plan-downgrade-notice.tsx
@@ -32,7 +32,7 @@ export default function AdvancedPlanDowngradeNotice({
<Head />
<Preview>
Removed features: Email campaigns, messaging center, advanced reward
- conditions, fraud detection, embedded referral dashboard
+ conditions, risk monitoring, embedded referral dashboard
</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
diff --git a/packages/ui/src/icons/plan-feature-icons.tsx b/packages/ui/src/icons/plan-feature-icons.tsx
index fc14bf66ff..d5146a170b 100644
--- a/packages/ui/src/icons/plan-feature-icons.tsx
+++ b/packages/ui/src/icons/plan-feature-icons.tsx
@@ -16,6 +16,7 @@ import {
MarketingTarget,
MoneyBills2,
Msgs,
+ Nodes4,
PaperPlane,
Plug2,
Receipt2,
@@ -67,10 +68,10 @@ export const PLAN_FEATURE_ICONS = {
basicrewards: Gift,
flexiblerewards: Shuffle,
bounties: Trophy,
- frauddetection: ShieldKeyhole,
ailandingpage: Sparkle3,
customerinsights: UserFocus,
partners: ConnectedDots4,
partnergroups: Users6,
+ partnerreferrals: Nodes4,
embeddedreferrals: SquareLayoutGrid5,
};
diff --git a/packages/utils/src/constants/pricing/pricing-plan-compare-features.tsx b/packages/utils/src/constants/pricing/pricing-plan-compare-features.tsx
index 31c896f86d..b0deca02b7 100644
--- a/packages/utils/src/constants/pricing/pricing-plan-compare-features.tsx
+++ b/packages/utils/src/constants/pricing/pricing-plan-compare-features.tsx
@@ -326,6 +326,15 @@ export const PRICING_PLAN_COMPARE_FEATURES: {
text: "Embedded referral dashboard",
href: "https://dub.co/docs/partners/embedded-referrals",
},
+ {
+ check: {
+ default: false,
+ advanced: true,
+ enterprise: true,
+ },
+ text: "Partner referral rewards",
+ href: "https://dub.co/help/article/partner-referrals",
+ },
{
check: {
default: false,
@@ -342,6 +351,7 @@ export const PRICING_PLAN_COMPARE_FEATURES: {
enterprise: true,
},
text: "Messaging center",
+ href: "https://dub.co/help/article/messaging-partners",
},
{
check: {
@@ -350,6 +360,7 @@ export const PRICING_PLAN_COMPARE_FEATURES: {
enterprise: true,
},
text: "Email campaigns",
+ href: "https://dub.co/help/article/email-campaigns",
},
{
check: {
@@ -357,7 +368,8 @@ export const PRICING_PLAN_COMPARE_FEATURES: {
advanced: true,
enterprise: true,
},
- text: "Fraud & risk prevention",
+ text: "Risk monitoring",
+ href: "https://dub.co/help/article/risk-monitoring",
},
{
check: {
@@ -549,11 +561,11 @@ export const PRICING_PLAN_COMPARE_FEATURES: {
{
text: ({ id }) =>
({
- free: "Basic support",
- pro: "Elevated support",
- business: "Priority support",
- advanced: "Priority via Slack",
- enterprise: "Priority with SLA",
+ free: "Community support",
+ pro: "Email support",
+ business: "Email support",
+ advanced: "Priority email support",
+ enterprise: "Slack support with SLA",
})[id],
},
{
diff --git a/packages/utils/src/constants/pricing/pricing-plan-main-features.ts b/packages/utils/src/constants/pricing/pricing-plan-main-features.ts
index ae15989ea8..691099cb24 100644
--- a/packages/utils/src/constants/pricing/pricing-plan-main-features.ts
+++ b/packages/utils/src/constants/pricing/pricing-plan-main-features.ts
@@ -35,10 +35,14 @@ const getLinksStandards = (plan: Plan): HeroFeature[] => {
? "Unlimited new links"
: `${nFormatter(plan.limits.links)} new links/mo`,
},
- {
- id: "retention",
- text: `${plan.limits.retention} analytics retention`,
- },
+ ...(plan.name !== "Enterprise"
+ ? [
+ {
+ id: "retention",
+ text: `${plan.limits.retention} analytics retention`,
+ },
+ ]
+ : []),
];
};
@@ -67,6 +71,10 @@ export const PRICING_PLAN_MAIN_FEATURES = {
{
id: "advanced",
text: "Advanced link features",
+ tooltip: {
+ title:
+ "Supercharge your links with [custom link previews](https://dub.co/help/article/custom-link-previews), [device targeting](https://dub.co/help/article/device-targeting), [geo targeting](https://dub.co/help/article/geo-targeting), [link cloaking](https://dub.co/help/article/link-cloaking), [password protection](https://dub.co/help/article/password-protected-links), and more.",
+ },
},
{
id: "dotlink",
@@ -108,10 +116,22 @@ export const PRICING_PLAN_MAIN_FEATURES = {
{
id: "conversions",
text: "Conversion tracking",
+ tooltip: {
+ title:
+ "Track how your link clicks are converting to signups and sales.",
+ cta: "Learn more.",
+ href: "https://dub.co/docs/quickstart/server",
+ },
},
{
id: "tests",
text: "A/B testing",
+ tooltip: {
+ title:
+ "Run A/B tests to compare different short-link variations and identify what drives the highest conversions.",
+ cta: "Learn more.",
+ href: "https://dub.co/help/article/ab-testing",
+ },
},
{
id: "roles",
@@ -141,8 +161,16 @@ export const PRICING_PLAN_MAIN_FEATURES = {
features: [
...getLinksStandards(PLANS.find((p) => p.name === "Advanced")!),
{
- id: "slack",
- text: "Priority Slack support",
+ id: "api",
+ text: "Elevated API rate limits",
+ tooltip: {
+ title:
+ "Get access to elevated [API rate limits](https://dub.co/docs/api-reference/rate-limits) to build advanced integrations and automate your workflows.",
+ },
+ },
+ {
+ id: "success",
+ text: "Priority email support",
},
],
},
@@ -160,8 +188,8 @@ export const PRICING_PLAN_MAIN_FEATURES = {
text: "Audit logs",
},
{
- id: "sla",
- text: "Custom SLA",
+ id: "slack",
+ text: "Dedicated Slack support",
},
],
},
@@ -272,8 +300,8 @@ export const PRICING_PLAN_MAIN_FEATURES = {
},
},
{
- id: "frauddetection",
- text: "Fraud detection",
+ id: "sso",
+ text: "Risk monitoring",
tooltip: {
title:
"Safeguard your partner program by automatically flagging, reviewing, and resolving suspicious activity.",
@@ -292,18 +320,18 @@ export const PRICING_PLAN_MAIN_FEATURES = {
},
},
{
- id: "api",
- text: "Partners API",
+ id: "partnerreferrals",
+ text: "Partner referral rewards",
tooltip: {
title:
- "Leverage our partners API to build a bespoke, white-labeled referral program that lives within your app.",
+ "Reward partners for referring other partners to your affiliate program.",
cta: "Learn more.",
- href: "https://dub.co/docs/api-reference/endpoint/create-a-partner",
+ href: "https://dub.co/help/article/partner-referrals",
},
},
{
- id: "slack",
- text: "Priority Slack support",
+ id: "success",
+ text: "Priority email support",
},
],
},
@@ -317,7 +345,7 @@ export const PRICING_PLAN_MAIN_FEATURES = {
text: "Volume discounts",
tooltip: {
title:
- "Get access to volume discounts for payout fees and tracked events usage.",
+ "Get access to volume discounts for [payout fees](https://dub.co/help/article/partner-payouts#payout-fees-and-timing) and [tracked events usage](https://dub.co/help/article/dub-analytics-limits).",
},
},
{
@@ -357,8 +385,8 @@ export const PRICING_PLAN_MAIN_FEATURES = {
text: "Custom SLA",
},
{
- id: "success",
- text: "Dedicated success manager",
+ id: "slack",
+ text: "Dedicated Slack support",
},
],
},
diff --git a/packages/utils/src/constants/pricing/pricing-plan-taglines.ts b/packages/utils/src/constants/pricing/pricing-plan-taglines.ts
index ed46f60671..04fa921b46 100644
--- a/packages/utils/src/constants/pricing/pricing-plan-taglines.ts
+++ b/packages/utils/src/constants/pricing/pricing-plan-taglines.ts
@@ -3,7 +3,7 @@ export const PRICING_PLAN_TAGLINES = {
Pro: "For small teams or creators needing advanced link features",
Business: "For fast-growing startups and businesses looking to scale",
Advanced: "For hyperscalers needing higher usage quotas",
- Enterprise: "For large organizations and governments with custom needs",
+ Enterprise: "For large organizations with custom needs",
},
partners: {
Business:
diff --git a/packages/utils/src/constants/pricing/pricing-plans.tsx b/packages/utils/src/constants/pricing/pricing-plans.tsx
index e8d46a050a..a4cea5033a 100644
--- a/packages/utils/src/constants/pricing/pricing-plans.tsx
+++ b/packages/utils/src/constants/pricing/pricing-plans.tsx
@@ -472,7 +472,7 @@ export const PLANS: PlanDetails[] = [
},
{
id: "slack",
- text: "Priority Slack support",
+ text: "Priority email support",
},
] as PlanFeature[],
},