并且一天在GA界面中返回10,440个会话。
当我尝试使用标准SQL在BigQuery中执行类似操作时,会得到不同的结果:
SELECT fullVisitorId, visitStartTime
FROM `project.id.ga_sessions_20181001`
where EXISTS(
SELECT 1 FROM UNNEST(hits) h
WHERE h.type = 'PAGE'
AND REGEXP_CONTAINS(page.pagePath, r'/signup/.*'));
这将返回同一天的10,137个会话。这:
SELECT fullVisitorId, visitStartTime
FROM `project.id.ga_sessions_20181001`
where EXISTS(
SELECT 1 FROM UNNEST(hits) h
WHERE AND REGEXP_CONTAINS(page.pagePath, r'/signup/.*'));
当天返回10,564个会话。如何使它们与GA接口匹配?