How to add an android test device to Firebase? -


i integrating firebase analytics in android app cant see in documentation or google how can add test device doesn't count on stats.

i test lot, main stats corrupted if counts own events

in admob

 adrequest adrequest = new adrequest.builder()             .addtestdevice(adrequest.device_id_emulator)             .addtestdevice("70a9e11f73ereff712a1b73ae2bc2945")             .addtestdevice("1d18f0345e4c90e3625db344be64d02e")             .build(); 

i solved new audience in firebase console filter:
user properties / app store + "does not contain" + "manual_install"

i figured out direct app installs , firebase test lab installs falls parameter.

if want remove few users add filter (haven't tried it):
user properties / user id + "not equal to" (or "does not contain") + your_id

this works in firebase analytics , events happened after audience created.


for bigquery use following query exclude testing devices:

select   user_dim.user_id                                      userid,   format_utc_usec(user_dim.first_open_timestamp_micros) tsfirstopen,   user_dim.device_info.device_category                  dcaterogy,   user_dim.device_info.mobile_brand_name                dbrand,   user_dim.device_info.device_model                     dmodel2,   user_dim.device_info.platform_version                 dosver,   user_dim.device_info.user_default_language            ddeflanguage,   user_dim.geo_info.continent                           geocont,   user_dim.geo_info.country                             geocounty,   user_dim.app_info.app_version                         appver,     table_date_range(your_table_name.app_events_, timestamp('2016-06-23'), timestamp('2016-10-01')) // remove testing devices   not (user_dim.user_id == "your_user_id" or         user_dim.user_id == "your_user_id") ,   not user_dim.app_info.app_store == "manual_install"  ,   user_dim.user_properties.key == "first_open_time"  group   tsfirstopen,   userid,   dcaterogy,   dbrand,   dmodel2,   dosver,   ddeflanguage,   geocont,   geocounty,   appver order   appver desc,   tsfirstopen desc 

Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -