I want to get list hits.eventInfo.eventAction in Google Analytics data via BigQuery using this code:
SELECT DISTINCT hits.eventInfo.eventAction FROM `ga_sessions_*`
But the error like this:
Cannot access field eventInfo on a value with type ARRAY<STRUCT<hitNumber INT64, time INT64
I try to add UNNEST(hits) but also error. Any suggestion?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.