Fix UTM query, move filters to proper place
parent
c3d6467b99
commit
7d1f8ea77b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue