From d38156002756f6b78525dfca60c1918134508c77 Mon Sep 17 00:00:00 2001 From: Holger Huo Date: Mon, 11 Apr 2022 22:08:56 +0800 Subject: [PATCH] fix: session not filtered by pageviews --- pages/api/website/[id]/metrics.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/api/website/[id]/metrics.js b/pages/api/website/[id]/metrics.js index 645a8707..4eeca720 100644 --- a/pages/api/website/[id]/metrics.js +++ b/pages/api/website/[id]/metrics.js @@ -41,6 +41,8 @@ export default async (req, res) => { if (sessionColumns.includes(type)) { let data = await getSessionMetrics(websiteId, startDate, endDate, type, { + url, + referrer, os, browser, device,