The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
NODE endpoint
SQL >
%
SELECT *
FROM dub_lead_events_mv
WHERE
customer_id
= {{
String(
customerId,
"cus_JzMqCLdaiVM1o1grw0yk84uC",
description="The unique ID for a given customer.",
required=True,
)
}}
{% if defined(eventName) %} AND event_name = {{ eventName }} {% end %}
ORDER BY timestamp DESC
TYPE ENDPOINT