regions + city

This commit is contained in:
Nisarg 2021-10-10 23:08:28 -07:00
parent 2575cbfc11
commit 117d7c4400
6 changed files with 23 additions and 18 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'];
const sessionColumns = ['browser', 'os', 'device', 'country', 'region', 'city'];
const pageviewColumns = ['url', 'referrer'];
function getTable(type) {