4
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

GA4のUserId利用でユーザー数が増える件

Last updated at Posted at 2021-12-13

課題

アプリWebviewとブラウザが併用されるサービスにて、GA4のUserId導入後にユーザー数が急増してしまいました。
UserIdを導入したと同時に2倍まではいかないものの、1.5倍近くまで増えています。

01.png

DAUに関してGA4のGUI上では32万と表示されていて、UniversalAnalyticsのUserIdビュー上では14万と表示されています。(この記事の数値は実際の数値を改変しています)

02.png

ua.png

UAのUserIdビューはUserIdがセットされないユーザー(非ログインユーザー)は計上できないため、GA4とUAの差異は起こり得ますが、それにしても差が大きすぎます。

BQで抽出してみる

それぞれuser_idとuser_pseudo_idを比較してみることにします。

SELECT
  count(distinct user_id) as user_id,
  count(distinct user_pseudo_id) as user_pseudo_id
FROM
  `projectName.analytics_xxxxxxxxx.events_20211211`

結果

user_idが14万、user_pseudo_idが18万という値が返却されました。
14万という数値はUAのUserIdビューと一致しています。そしてこの2つを足し算すると32万という値になります。

user_id user_pseudo_id
142060 181193

本来、ユーザー数を正しく計測するには「userIdの数」と「user_idが無い、user_pseudo_idの数」を足し算する必要がありますが、現状のGA4では「userIdの数」と「user_pseudo_idの数」を足し算した値を「ユーザー数」として表示しているのかもしれません。

関連ページ

4
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?