Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Analytics detects Google Cloud Test Lab tests as Active Users and New Users

I am using Google Analytics and I have seen that all the devices in the Cloud Test Lab are detected as "active users" and "new users" (which makes sense). Is there any way to detect this and do not count them ?

I see that they are not counted as installs in Google Play, so I would expect the same behaviour for Analytics.

It is possible to avoid this by uploading a different version to Alpha/Beta and Production with different tracking ids, but the Cloud Test Lab feature is much more powerful if the same Apk is promoted from Alpha/Beta to Production.

like image 394
Javier Delgado Avatar asked Nov 08 '22 17:11

Javier Delgado


1 Answers

According to this answer, you can check if "firebase.test.lab" system variable is set to "true" which indicates if you're running on a test lab device.

like image 140
guy.gc Avatar answered Nov 14 '22 22:11

guy.gc