The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Make clickId optional
Tim Wilsone7fbf7bdb083
diff --git a/packages/tinybird/pipes/v2_customer_events.pipe b/packages/tinybird/pipes/v2_customer_events.pipeindex 97f4bb7e82..8e7660d8d5 100644--- a/packages/tinybird/pipes/v2_customer_events.pipe+++ b/packages/tinybird/pipes/v2_customer_events.pipe@@ -117,9 +117,11 @@ SQL >%SELECT * FROM (+ {% if defined(clickId) %}SELECT *, NULL AS saleAmountFROM click_eventsUNION ALL+ {% end %}SELECT *, NULL AS saleAmountFROM lead_eventsUNION ALL