Fix UTM query, move filters to proper place
This commit is contained in:
@@ -24,11 +24,11 @@ export function getPageviewParams(
|
||||
from
|
||||
pageview
|
||||
${joinSession}
|
||||
where
|
||||
${table}.website_id=$2 and ${table}.created_at between $3 and $4
|
||||
${pageviewQuery}
|
||||
${joinSession && sessionQuery}
|
||||
${eventQuery}
|
||||
where
|
||||
${table}.website_id=$2 and ${table}.created_at between $3 and $4
|
||||
group by 1, 2
|
||||
order by 2 desc
|
||||
) q
|
||||
|
||||
Reference in New Issue
Block a user