mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 21:57:16 +01:00
Session details screen.
This commit is contained in:
parent
c3c3b46ef6
commit
f32bf0a2e0
21 changed files with 252 additions and 33 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { getSessions, getEvents, getPageviewStats, getSessionStats } from 'queries/index';
|
||||
import { getWebsiteSessions, getEvents, getPageviewStats, getSessionStats } from 'queries/index';
|
||||
|
||||
const MAX_SIZE = 50;
|
||||
|
||||
|
|
@ -20,7 +20,7 @@ export async function getRealtimeData(
|
|||
const filters = { startDate, endDate: new Date(), unit: 'minute', timezone };
|
||||
const [events, sessions, pageviews, sessionviews] = await Promise.all([
|
||||
getEvents(websiteId, { startDate, timezone }, { pageSize: 10000 }),
|
||||
getSessions(websiteId, { startDate, timezone }, { pageSize: 10000 }),
|
||||
getWebsiteSessions(websiteId, { startDate, timezone }, { pageSize: 10000 }),
|
||||
getPageviewStats(websiteId, filters),
|
||||
getSessionStats(websiteId, filters),
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue