Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

PR fixes.

Mike Cao4d54f50739d1
diff --git a/src/queries/sql/reports/getAttribution.ts b/src/queries/sql/reports/getAttribution.ts
index aba987f62..e690d50f0 100644
--- a/src/queries/sql/reports/getAttribution.ts
+++ b/src/queries/sql/reports/getAttribution.ts
@@ -84,7 +84,7 @@ async function relationalQuery(
sum(coalesce(cast(number_value as decimal(10,2)), cast(string_value as decimal(10,2)))) value
from event_data ed
join website_event we
- on we.event_id = ed.website_event_Id
+ on we.event_id = ed.website_event_id
and we.website_id = ed.website_id
join (select website_event_id
from event_data
@@ -395,10 +395,10 @@ async function clickhouseQuery(
fbclid != '', 'Facebook / Meta',
msclkid != '', 'Microsoft Ads',
ttclid != '', 'TikTok Ads',
- li_fat_id != '', ' LinkedIn Ads',
+ li_fat_id != '', 'LinkedIn Ads',
twclid != '', 'Twitter Ads (X)','') name,
${currency ? 'sum(e.value)' : 'uniqExact(we.session_id)'} value
- from model m
+ from model fm
join website_event we
on we.created_at = m.created_at
and we.session_id = m.session_id