admin管理员组

文章数量:1404927

I am trying to hit this curl but not getting events on firebase console. Below is curl example, I have verified creds as well. Same creds when used in mobile is working but not from server or with CURL method.

curl --location ';api_secret=hashAPISecret&debug_mode=1' \
--header 'Content-Type: application/json' \
--data '{
    "client_id": "1876543456789",
    "events": [
      {
        "name": "rom_purchase",
        "params": {
          "useid": "1234567890",
          "order_id": "17c7fb4b2af67324a089713a",
          "plan_id": "176a79f6b3dbfcb365a50a09",
          "plan_name": "2 month",
          "price": 200,
          "status": "SUCCESS",
          "timestamp": "2025-03-05T07:20:43.880Z"
        }
      }
    ]
  }'

Response:

{
  "validationMessages": [ ]
}

I used debug mode as well, but seems that its not helping me to see event on firebase console.

Can anyone help me with this? What is something I am dong wrong?

本文标签: firebaseGoogle Analytics Api is not logging event if hit from server or via CURLStack Overflow