The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
update lead event name for attributeViaPromoCode
Steven Teyd263de25d354
diff --git a/apps/web/app/(ee)/api/stripe/integration/webhook/checkout-session-completed.ts b/apps/web/app/(ee)/api/stripe/integration/webhook/checkout-session-completed.tsindex 315ee60e32..11ca4dbe55 100644--- a/apps/web/app/(ee)/api/stripe/integration/webhook/checkout-session-completed.ts+++ b/apps/web/app/(ee)/api/stripe/integration/webhook/checkout-session-completed.ts@@ -622,7 +622,7 @@ async function attributeViaPromoCode({...rest,workspace_id: clickEvent.workspace_id || customer.projectId, // in case for some reason the click event doesn't have workspace_idevent_id: nanoid(16),- event_name: "Sign up",+ event_name: "Checkout with discount code",customer_id: customer.id,metadata: "",};