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