A
A
Andrey Okhotnikov2020-12-24 15:33:32
Google Analytics
Andrey Okhotnikov, 2020-12-24 15:33:32

Where to get measurementId for firebase analytics?

I connect analytics in the react-native project at Expo

The docs indicate that I need to register measurementId - I can’t find it - what is it and where can I get this id?

{
  "expo": {
    "web": {
      "config": {
        "firebase": {
          "apiKey": "AIzaXXXXXXXX-xxxxxxxxxxxxxxxxxxx",
          ...
          "measurementId": "G-XXXXXXXXX"
        }
      }
    }
  }
}

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denioo, 2020-12-24
@Denioo

5fe493821a36d828093543.pngIn the firebase config that is generated by you. Below is the config and everything is written there

M
Muhamadjon Kuzibaev, 2022-02-20
@Islomzoda

if you have not created a project yet, create a project in firebase and there click on the "< / >" icon, set the name of the application and voila, find firebaseConfig at the bottom and all this data is stored in this object {}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question