How to get the measurementId from the Firebase config?

前端 未结 1 1076
小蘑菇
小蘑菇 2021-01-22 07:59

To play with Google Analytics for Web based projects on Firebase we need to use either the Firebase reserved URLs or to copy/update the Firebase config object as the do

相关标签:
1条回答
  • 2021-01-22 08:04

    In fact the firebase setup:web is not printing the measurementId. But if you refer to Firebase CLI reference you can see that this command is deprecated:

    Deprecated. Instead, use apps:sdkconfig and specify web as the platform argument.

    You should now use the firebase apps:sdkconfig. From that command you'll have the measurementId.

    0 讨论(0)
提交回复
热议问题