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.

fixed getAttribution table alias typo

Francis Cao98eb26fd9ee1
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 20f2ff557..dfca7de5c 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -346,8 +346,6 @@ importers:
specifier: ^5.5.3
version: 5.8.3
- src/generated/prisma: {}
-
packages:
'@ampproject/[email protected]':
diff --git a/src/queries/sql/reports/getAttribution.ts b/src/queries/sql/reports/getAttribution.ts
index e690d50f0..0c3d447a3 100644
--- a/src/queries/sql/reports/getAttribution.ts
+++ b/src/queries/sql/reports/getAttribution.ts
@@ -398,7 +398,7 @@ async function clickhouseQuery(
li_fat_id != '', 'LinkedIn Ads',
twclid != '', 'Twitter Ads (X)','') name,
${currency ? 'sum(e.value)' : 'uniqExact(we.session_id)'} value
- from model fm
+ from model m
join website_event we
on we.created_at = m.created_at
and we.session_id = m.session_id