Remove domain parameter from queries.

This commit is contained in:
Mike Cao 2021-02-26 19:50:44 -08:00
parent 278672233e
commit f7201c9cfc
4 changed files with 17 additions and 14 deletions

View file

@ -428,7 +428,7 @@ export function getPageviewMetrics(website_id, start_at, end_at, field, table, f
if (domain) {
domainFilter = `and referrer not like $${params.length + 1} and referrer not like '/%'`;
params.push(`%${domain}%`);
params.push(`%://${domain}/%`);
}
if (url) {