remove www. prefix from hostname during comparison. Closes #3256
This commit is contained in:
1 parent
b84942b6da
commit
9339383497
5 files changed
+5
-5
No files matched your search
@@ -23,7 +23,7 @@ async function relationalQuery(websiteId: string, column: string, filters: Query
|
||||
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 != ''`;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user