The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
trackLeadResult.link.shortLink
Steven Teyee119d10ab71
diff --git a/apps/web/lib/integrations/hubspot/track-lead.ts b/apps/web/lib/integrations/hubspot/track-lead.tsindex 45333de883..2ccce64ef5 100644--- a/apps/web/lib/integrations/hubspot/track-lead.ts+++ b/apps/web/lib/integrations/hubspot/track-lead.ts@@ -155,8 +155,8 @@ export const _updateHubSpotContact = async ({}}- if (trackLeadResult.link?.url) {- properties["dub_link"] = trackLeadResult.link.url;+ if (trackLeadResult.link?.shortLink) {+ properties["dub_link"] = trackLeadResult.link.shortLink;}if (Object.keys(properties).length === 0) {