remove www. prefix from hostname during comparison. Closes #3256

This commit is contained in:
Francis Cao committed 2026-01-28 17:18:03 -08:00
1 parent b84942b6da
commit 9339383497
5 files changed
+5 -5

No files matched your search

@@ -50,7 +50,7 @@ async function relationalQuery(
let excludeDomain = '';
if (column === 'referrer_domain') {
excludeDomain = `and website_event.referrer_domain != website_event.hostname
excludeDomain = `and website_event.referrer_domain != regexp_replace(website_event.hostname, '^www.', '')
and website_event.referrer_domain != ''`;
if (type === 'domain') {
column = toPostgresGroupedReferrer(GROUPED_DOMAINS);