简体   繁体   中英

Firebase DebugView events not being filtered out from Analytics data

According to the Firebase documentation , enabling debug mode on iOS with -FIRDebugEnabled should also exclude events from appearing in the main analytics reports:

在此处输入图像描述

I know that I've configured -FIRDebugEnabled correctly because I see the events in Firebase's DebugView. However, after an hour or so they also appear in my overall analytics data, which is not desirable. I've tried searching through the Firebase analytics pages for an option to exclude this data or find a query to remove debug events, but I haven't found anything.

I'd like to know if I'm missing something in order to ensure that debug events only appear in DebugView and not in the main Analytics section, as the documentation implies.

It turns out, you have to use a filter in the Google Analytics property settings in order to get this functionality:

  1. Go to the Admin settings page (in Google Analytics, not from Firebase).
  2. Click on "Data Settings" for your property.
  3. Click on "Data Filters."
  4. Click "Create Filter."
  5. Choose "Developer Traffic."
  6. Set the filter to "active" and then click "create."

I think the Firebase documentation is outdated, since it doesn't happen automatically.

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