简体   繁体   中英

Filter by user property doesn't work in Firebase Analytics

In order to test how the filter by user property works , I've did the bellow test :

1 . I've run the bellow code, which set user property favorite_food to pizza . and send event called test_audience_event2 . it should associate the property to the event . right ?

FIRAnalytics.setUserPropertyString("pizza", forName: "favorite_food2") FIRAnalytics.logEventWithName("test_audience_event2", parameters: nil)

after 24 hours, i succeed to see test_audience_event2 as you can see in the bellow picture: 在此输入图像描述

2 . Now I've set filter = userProperty.favorite_food2.pizza , but i got nothing as i can see in the bellow picture. why ? 在此输入图像描述

Thanks.

Audiences have a 10 users threshold before showing data, maybe filtering also have a 10 users threshold ? Have you try launching your on 10 different device, or install-launch-uninstall-reinstall etc 10 times on one devices ?

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