fix: overview metrics
This commit is contained in:
@@ -217,14 +217,14 @@ export class OverviewService {
|
|||||||
clix(this.client, timezone)
|
clix(this.client, timezone)
|
||||||
.select(['bounce_rate'])
|
.select(['bounce_rate'])
|
||||||
.from('session_agg')
|
.from('session_agg')
|
||||||
.where('date', '=', clix.exp("'1970-01-01 00:00:00'")),
|
.where('date', '=', clix.datetime('1970-01-01 00:00:00')),
|
||||||
)
|
)
|
||||||
.with(
|
.with(
|
||||||
'daily_stats',
|
'daily_stats',
|
||||||
clix(this.client, timezone)
|
clix(this.client, timezone)
|
||||||
.select(['date', 'bounce_rate'])
|
.select(['date', 'bounce_rate'])
|
||||||
.from('session_agg')
|
.from('session_agg')
|
||||||
.where('date', '!=', clix.exp("'1970-01-01 00:00:00'")),
|
.where('date', '!=', clix.datetime('1970-01-01 00:00:00')),
|
||||||
)
|
)
|
||||||
.with('overall_unique_visitors', overallUniqueVisitorsQuery)
|
.with('overall_unique_visitors', overallUniqueVisitorsQuery)
|
||||||
.select<{
|
.select<{
|
||||||
|
|||||||
Reference in New Issue
Block a user