dev-yakuza / dev-yakuza.github.io

8 stars 9 forks source link

https://dev-yakuza.posstree.com/ko/react-native/react-native-firebase-analytics/ #12

Open utterances-bot opened 3 years ago

utterances-bot commented 3 years ago

Firebase Analytics - react-native-firebase 라이브러리를 사용하여 좀 더 자세하게 앱을 분석해 보자

react-native-firebase 라이브러리를 사용하여 좀 더 자세하게 앱을 분석해 보자

https://dev-yakuza.posstree.com/ko/react-native/react-native-firebase-analytics/

dazzyjong commented 3 years ago

안녕하세요~개발할때 많은 도움 받고 있습니다! custom event 의 custom parameter를 추적하려고 Edit parameter reporting을 찾아보니 없어서 이것이 사라지고 custom definitions가 추가된것을 알게 되었습니다. 그러나 custom definition에 parameter를 추가하고 24시간이 지나도 해당 parameter가 dashboard에 추가되지 않습니다. 혹시 이와같은 문제를 겪으셨거나 해결하신 경험이 있는지 여쭤보고싶습니다. 감사합니다.

dev-yakuza commented 3 years ago

@dazzyjong 안녕하세요. 우선 블로그를 찾아주셔서 감사합니다. 공식 문서를 확인해 보니, 특별한 설정없이 custom events를 사용할 수 있는 것처럼 보입니다.

https://rnfirebase.io/analytics/usage#custom-events

제가 시도해보지 않아 정확한 답변이 어렵네요.ㅠㅠ

DebugView를 사용하시면 24시간 기다리지 않고, 거의 실시간으로 데이터를 확인할 수 있습니다.

https://firebase.google.com/docs/analytics/debugview

DebugView 환경을 구축하신 후, custom events를 사용해 보시면, 동작을 하는지 확인할 수 있지 않을까 싶습니다.

큰 도움이 되지 못한거 같아 죄송하네요. 혹시 해결하시면, 다른 분들을 위해 댓글로 해결하신 내용을 공유해주시면 정말 감사할거 같습니다. 잘부탁드립니다. 감사합니다.

dazzyjong commented 3 years ago

안녕하세요 firebase support 팀으로 부터 받은 응답을 공유드립니다! 제 문제도 아래로 해결 되었습니다!

Custom Dimensions refers to your text type parameters, while Custom Metrics refers to Number type parameters. Custom Dimensions displays the parameter values and count on how many events were associated with the parameter value (i.e. categories). On the other hand, Custom Metrics displays the average and sum of values passed to the parameter.

Upon checking, you've defined it the parameter as a Custom Dimension. If you're passing an incorrect data type, it is likely the reason why you're not seeing the parameter report card. I would recommend to define it as a Custom Metric instead of Custom Dimension if you're passing it as a Number type parameter.

dev-yakuza commented 3 years ago

@dazzyjong 공유 감사합니다! 이 댓글이 다른 분들께도 도움이 되었으면 좋겠습니다!