Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SELECT
VISIT.visitId,
VISIT.device.operatingSystem,
HIT.type,
HIT.page.pageTitle,
SUBSTR(HIT.page.pagePath, 0, 20) AS pagePath
FROM `141567708.ga_sessions_20180501` VISIT,
UNNEST(VISIT.hits) HIT
ORDER BY VISIT.visitStartTime ASC,
HIT.hitNumber ASC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.