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 track-sale.ts

Kiran K5413e83c18a8
diff --git a/apps/web/lib/integrations/hubspot/track-sale.ts b/apps/web/lib/integrations/hubspot/track-sale.ts
index b829157e2a..0df7cd6524 100644
--- a/apps/web/lib/integrations/hubspot/track-sale.ts
+++ b/apps/web/lib/integrations/hubspot/track-sale.ts
@@ -64,7 +64,7 @@ export const trackHubSpotSaleEvent = async ({
return await trackSale({
customerExternalId: contactInfo.properties.email,
amount: Number(properties.amount) * 100,
- eventName: properties.dealstage,
+ eventName: `Deal ${properties.dealstage}`,
paymentProcessor: "custom",
invoiceId: dealId,
workspace,