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 help article

Steven Teybe38a10b8243
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/risks/page.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/risks/page.tsx
index 6786851c04..3607b48b4f 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/risks/page.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/risks/page.tsx
@@ -11,7 +11,7 @@ export default function RiskCenterPage() {
titleInfo={{
title:
"Safeguard your partner program by automatically flagging, reviewing, and resolving potential risk events.",
- href: "https://dub.co/help/article/fraud-detection",
+ href: "https://dub.co/help/article/risk-monitoring",
}}
controls={
<>
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/risks/risk-center-upsell.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/risks/risk-center-upsell.tsx
index 171e765ff7..529ba2e064 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/risks/risk-center-upsell.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/risks/risk-center-upsell.tsx
@@ -24,7 +24,7 @@ export function RiskCenterUpsell() {
<p className="text-content-subtle mt-2 text-sm">
Protect your program and partners with{" "}
<a
- href="https://dub.co/help/article/fraud-detection"
+ href="https://dub.co/help/article/risk-monitoring"
target="_blank"
rel="noopener noreferrer"
className="text-content-default hover:text-content-emphasis cursor-alias underline decoration-dotted underline-offset-2"
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/risks/risk-events-table.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/risks/risk-events-table.tsx
index a8d0d5669e..6917825bd9 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/risks/risk-events-table.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/risks/risk-events-table.tsx
@@ -361,7 +361,7 @@ export function RiskEventsTable() {
<div className="h-2.5 w-24 min-w-0 rounded-sm bg-neutral-200" />
</>
)}
- learnMoreHref="https://dub.co/help/article/fraud-detection"
+ learnMoreHref="https://dub.co/help/article/risk-monitoring"
learnMoreTarget="_blank"
learnMoreText="Learn more"
/>
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/risks/risk-rules-sheet.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/risks/risk-rules-sheet.tsx
index 9c77c0263a..605aeecaa1 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/risks/risk-rules-sheet.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/risks/risk-rules-sheet.tsx
@@ -168,7 +168,7 @@ function RiskRulesSheetContent({ setIsOpen }: RiskRulesSheetProps) {
<div className="flex h-16 items-center justify-between px-6 py-4">
<Sheet.Title className="flex items-center gap-2 text-lg font-semibold">
Risk rules
- <InfoTooltip content="Learn more about how to [customize your program's risk rules](https://dub.co/help/article/fraud-detection)." />
+ <InfoTooltip content="Learn more about how to [customize your program's risk rules](https://dub.co/help/article/risk-monitoring)." />
</Sheet.Title>
<Sheet.Close asChild>
<Button
diff --git a/apps/web/scripts/send-risk-center-change-announcement.ts b/apps/web/scripts/send-risk-center-change-announcement.ts
index afc1764ea2..0646d7dcc2 100644
--- a/apps/web/scripts/send-risk-center-change-announcement.ts
+++ b/apps/web/scripts/send-risk-center-change-announcement.ts
@@ -1,10 +1,10 @@
import "dotenv-flow/config";
-import { FRAUD_RULES_BY_TYPE } from "@/lib/api/fraud/constants";
-import { getWorkspaceUsers } from "@/lib/api/get-workspace-users";
-import { queueBatchEmail } from "@/lib/email/queue-batch-email";
import type RiskCenterChangeAnnouncement from "@dub/email/templates/broadcasts/risk-center-change-announcement";
import { prisma } from "@dub/prisma";
+import { FRAUD_RULES_BY_TYPE } from "../lib/api/fraud/constants";
+import { getWorkspaceUsers } from "../lib/api/get-workspace-users";
+import { queueBatchEmail } from "../lib/email/queue-batch-email";
const BATCH_SIZE = 50;
diff --git a/apps/web/ui/modals/plan-change-confirmation-modal.tsx b/apps/web/ui/modals/plan-change-confirmation-modal.tsx
index f2550b4e7e..5e3463725d 100644
--- a/apps/web/ui/modals/plan-change-confirmation-modal.tsx
+++ b/apps/web/ui/modals/plan-change-confirmation-modal.tsx
@@ -145,7 +145,7 @@ function PlanChangeConfirmationModal({
"- [Email campaigns](https://dub.co/help/article/email-campaigns) will be paused or canceled.",
"- [Messaging center](https://dub.co/help/article/messaging-partners) will be disabled.",
"- [Advanced reward conditions](https://dub.co/help/article/partner-rewards) will be removed.",
- "- [Risk events](https://dub.co/help/article/fraud-detection) will still be tracked, but you need to upgrade to view them.",
+ "- [Risk events](https://dub.co/help/article/risk-monitoring) will still be tracked, but you need to upgrade to view them.",
"- If you've set up the [Embedded Referral Dashboard](https://dub.co/docs/partners/embedded-referrals), it will no longer work.",
].join("\n");
diff --git a/apps/web/ui/partners/fraud-risks/partner-application-risk-summary.tsx b/apps/web/ui/partners/fraud-risks/partner-application-risk-summary.tsx
index e679fa32dc..28e012c0af 100644
--- a/apps/web/ui/partners/fraud-risks/partner-application-risk-summary.tsx
+++ b/apps/web/ui/partners/fraud-risks/partner-application-risk-summary.tsx
@@ -186,7 +186,7 @@ export function PartnerApplicationRiskSummaryUpsell() {
Application risk review and event detection are available on the
Advanced plan{" "}
<Link
- href="https://dub.co/help/article/fraud-detection"
+ href="https://dub.co/help/article/risk-monitoring"
target="_blank"
className="underline underline-offset-2 hover:text-neutral-800"
>
diff --git a/apps/web/ui/partners/fraud-risks/risk-disclaimer-banner.tsx b/apps/web/ui/partners/fraud-risks/risk-disclaimer-banner.tsx
index 020d507dc8..324176a589 100644
--- a/apps/web/ui/partners/fraud-risks/risk-disclaimer-banner.tsx
+++ b/apps/web/ui/partners/fraud-risks/risk-disclaimer-banner.tsx
@@ -14,7 +14,7 @@ export function RiskDisclaimerBanner({ className }: { className?: string }) {
We recommend reviewing the risk events thoroughly before taking action.
Unresolved events expire after 30 days.{" "}
<a
- href="https://dub.co/help/article/fraud-detection"
+ href="https://dub.co/help/article/risk-monitoring"
target="_blank"
className="font-medium underline underline-offset-2 transition-colors hover:text-neutral-800"
>
diff --git a/apps/web/ui/partners/partner-advanced-settings-modal.tsx b/apps/web/ui/partners/partner-advanced-settings-modal.tsx
index c46c594484..459cedcae1 100644
--- a/apps/web/ui/partners/partner-advanced-settings-modal.tsx
+++ b/apps/web/ui/partners/partner-advanced-settings-modal.tsx
@@ -231,7 +231,7 @@ function PartnerAdvancedSettingsModal({
</h3>
<MarkdownDescription className="text-xs text-neutral-500">
Future [risk
- events](https://dub.co/help/article/fraud-detection) won't
+ events](https://dub.co/help/article/risk-monitoring) won't
be detected for this partner.
</MarkdownDescription>
</div>
diff --git a/apps/web/ui/partners/partners-upgrade-modal.tsx b/apps/web/ui/partners/partners-upgrade-modal.tsx
index ed20e37452..774b42e689 100644
--- a/apps/web/ui/partners/partners-upgrade-modal.tsx
+++ b/apps/web/ui/partners/partners-upgrade-modal.tsx
@@ -104,7 +104,7 @@ export function PartnersUpgradeModal({
title:
"Safeguard your partner program by automatically flagging, reviewing, and resolving suspicious activity.",
cta: "Learn more.",
- href: "https://dub.co/help/article/fraud-detection",
+ href: "https://dub.co/help/article/risk-monitoring",
},
},
{
diff --git a/packages/email/src/templates/advanced-plan-downgrade-notice.tsx b/packages/email/src/templates/advanced-plan-downgrade-notice.tsx
index 286776372a..9630492c8c 100644
--- a/packages/email/src/templates/advanced-plan-downgrade-notice.tsx
+++ b/packages/email/src/templates/advanced-plan-downgrade-notice.tsx
@@ -81,7 +81,7 @@ export default function AdvancedPlanDowngradeNotice({
<Text className="text-sm leading-6 text-black">
•{" "}
<Link
- href="https://dub.co/help/article/fraud-detection"
+ href="https://dub.co/help/article/risk-monitoring"
className="font-medium text-black underline underline-offset-2"
>
Risk events
diff --git a/packages/email/src/templates/broadcasts/risk-center-change-announcement.tsx b/packages/email/src/templates/broadcasts/risk-center-change-announcement.tsx
index f549690bfb..bdcf08653b 100644
--- a/packages/email/src/templates/broadcasts/risk-center-change-announcement.tsx
+++ b/packages/email/src/templates/broadcasts/risk-center-change-announcement.tsx
@@ -97,8 +97,8 @@ export default function RiskCenterChangeAnnouncement({
<Text className="text-sm leading-6 text-neutral-600">
We've made some important changes to the fraud detection tools for
- the <strong className="text-black">{program.name}</strong> program
- that we wanted to let you know about.
+ your <strong className="text-black">{program.name}</strong>{" "}
+ program on Dub that we wanted to let you know about.
</Text>
<Text className="mt-0 text-sm leading-6 text-neutral-600">
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 3344f7b062..ae15989ea8 100644
--- a/packages/utils/src/constants/pricing/pricing-plan-main-features.ts
+++ b/packages/utils/src/constants/pricing/pricing-plan-main-features.ts
@@ -278,7 +278,7 @@ export const PRICING_PLAN_MAIN_FEATURES = {
title:
"Safeguard your partner program by automatically flagging, reviewing, and resolving suspicious activity.",
cta: "Learn more.",
- href: "https://dub.co/help/article/fraud-detection",
+ href: "https://dub.co/help/article/risk-monitoring",
},
},
{