简体   繁体   中英

GA4 BigQuery screen resolution

Is there something wrong with my setup on BigQuery for GA4 or can we not query for screen resolution anymore?

在此处输入图像描述

EDIT: My Query

SELECT 
(PARSE_DATE('%Y%m%d', event_date)) as date,
device.category as deviceCategory,
device.mobile_brand_name as mobileDeviceBranding,
device.mobile_model_name as mobilDeviceModel,
device.mobile_marketing_name as mobileDeviceMarketingName,
device.operating_system as OS,
device.operating_system_version as OSVersion,
device.web_info.browser as Browser,
device.web_info.browser_version as browserVersion,
device.screenresolution as screnRes,
user_id,
params1.value.string_value as clientType,
params2.value.string_value as userAgent,
 FROM `xxx` ,
 UNNEST(event_params) AS params1, UNNEST(event_params) AS params2
 WHERE (PARSE_DATE('%Y%m%d', event_date)) >= CURRENT_DATE()-30
 AND event_name = 'user_engagement'
AND (params1.key ='client_type' )
AND (params2.key ='user_agent' )
limit 500

There's nothing wrong with your GA4 BigQuery setup. I think it's an oversight from Google Analytics and they've neglected to include the screen resolution in the GA4 BigQuery export. (I'm chalking it up as yet another 'quirk' of GA4 that's reflective of it not truly being 'production ready' yet). In my opinion, the screen resolution should be a device attribute that comes through in another 'device.*' column in the GA4 BigQuery export, but Google are yet to include it. The screen resolution is accessible from the GA4 UI (you should find it in the >Users >Tech >Tech overview section of the UI), but sadly it's seemingly not yet accessible from the GA4 BigQuery export data.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM