The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
dubClickId → dclid
Steven Tey595ae6bb67cd
diff --git a/apps/web/app/api/campaigns/webhooks/stripe/customer-created.ts b/apps/web/app/api/campaigns/webhooks/stripe/customer-created.tsindex 10273f0946..2bba91b6a3 100644--- a/apps/web/app/api/campaigns/webhooks/stripe/customer-created.ts+++ b/apps/web/app/api/campaigns/webhooks/stripe/customer-created.ts@@ -9,9 +9,9 @@ export async function customerCreated(event: Stripe.Event) {const stripeCustomer = event.data.object as Stripe.Customer;const stripeAccountId = event.account as string;const externalId = stripeCustomer.metadata?.userId;- const clickId = stripeCustomer.metadata?.dubClickId;+ const clickId = stripeCustomer.metadata?.dclid;- // The client app should always send dubClickId via metadata+ // The client app should always send dclid via metadataif (!clickId) {return;}