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.

unlimited tags on business

Steven Tey37efefe658b1
diff --git a/apps/web/scripts/update-workspace-tags.ts b/apps/web/scripts/update-workspace-tags.ts
new file mode 100644
index 0000000000..3f5902f326
--- /dev/null
+++ b/apps/web/scripts/update-workspace-tags.ts
@@ -0,0 +1,19 @@
+import { prisma } from "@/lib/prisma";
+import "dotenv-flow/config";
+
+async function main() {
+ const workspaces = await prisma.project.updateMany({
+ where: {
+ plan: {
+ notIn: ["free", "pro"],
+ },
+ },
+ data: {
+ tagsLimit: 1000000000,
+ },
+ });
+
+ console.table(workspaces);
+}
+
+main();
diff --git a/packages/utils/src/constants/pricing.tsx b/packages/utils/src/constants/pricing.tsx
index 3801d62b06..03002932ba 100644
--- a/packages/utils/src/constants/pricing.tsx
+++ b/packages/utils/src/constants/pricing.tsx
@@ -7,7 +7,6 @@ const BUSINESS_PLAN_MODIFIER = ({
links = 5000,
clicks = 150000,
domains = 40,
- tags = 150,
users = 15,
ids = [],
}: {
@@ -33,7 +32,7 @@ const BUSINESS_PLAN_MODIFIER = ({
links,
clicks,
domains,
- tags,
+ tags: 1000000000,
users,
ai: 1000,
api: 3000,
@@ -57,6 +56,15 @@ const BUSINESS_PLAN_MODIFIER = ({
{ text: "3-year analytics retention" },
{ text: `${domains} custom domains` },
{ text: `${users} users` },
+ {
+ text: "Unlimited tags",
+ footnote: {
+ title:
+ "Use tags to organize your links and filter by them in your analytics dashboard.",
+ cta: "Learn more.",
+ href: "https://d.to/tags",
+ },
+ },
{
text: "Real-time events stream",
footnote: {