feat: add client screen size statics

This commit is contained in:
Serkan KONAKCI 2022-02-14 11:29:41 +03:00
parent a035fbb581
commit da09e5cdf7
8 changed files with 42398 additions and 4349 deletions

View file

@ -2,7 +2,7 @@ import { getPageviewMetrics, getSessionMetrics, getWebsiteById } from 'lib/queri
import { ok, methodNotAllowed, unauthorized, badRequest } from 'lib/response';
import { allowQuery } from 'lib/auth';
const sessionColumns = ['browser', 'os', 'device', 'country', 'language'];
const sessionColumns = ['browser', 'os', 'device', 'country', 'screen', 'language'];
const pageviewColumns = ['url', 'referrer'];
function getTable(type) {