User ID not showing up in BigQuery

前端 未结 2 1695
梦毁少年i
梦毁少年i 2021-01-14 08:36

What can be the reason the user_id is null in BigQuery? Data from Analytics is sent to BigQuery but the user_id is not passed along. T

相关标签:
2条回答
  • 2021-01-14 09:20

    I am operating under the assumption that this field is intentionally held out from all Google Analytics -> BigQuery extracts based on the following:

    • https://support.google.com/analytics/answer/6205850?hl=en#limits
      • Of particular note, the line "The User ID value can not be queried as a dimension in reports in either the web interface or the APIs". I take this to mean that it will never leave the confines of Google Analytics, including to BigQuery.
    • I have not been able to get anything but null in my tables either.

    Sorry I do not have better news for you!

    0 讨论(0)
  • 2021-01-14 09:32

    Confirmed by Google Analytics 360 support, the userId only have non-null values in BigQuery tables that are exported from User-ID enabled views in Google Analytics. For non-User-ID views, you only see null values for the userIdcolumn and you have to use a custom dimension to capture User Ids and query them in BigQuery.

    In order to check which Google Analytics view you have linked to BigQuery, you can either look at the dataset ID in BigQuery (which is the same as the Analytics View ID) or directly the linked Google Analytics view in Admin > All Products [Property column] > BigQuery in the Google Analytics UI.

    0 讨论(0)
提交回复
热议问题