This message was deleted.
# ask-questions
w
This message was deleted.
f
How long has it been?
a
A few days
f
huh
a
Also been looking on the RealTime view in Google Analytics still nothing unfortunately
f
looks like the code is executing correctly - but perhaps that endpoint is failing?
the fetch?
a
When logging the response I get a 204 status code
f
huh
no experiment_view events? we usually call it experiment_view*ed*
doesn't matter, just want to make sure you're checking for the right event
a
No nothing there, also queried in BigQuery for it, but I didn't find it
f
can you just use curl or postman or something to send an event and see if you can see it in GA4?
I wonder if there is something not right with that call
a
The response I am getting:
Copy code
{
  "validationMessages": []
}
When using CURL:
Copy code
curl -X POST "<https://www.google-analytics.com/debug/mp/collect?measurement_id=G-XXX&api_secret=XXXXXXXX>" \
-H "Content-Type: application/json" \
-d '{
  "client_id": "123456.7890123456",
  "events": [{
    "name": "experiment_viewed",
    "params": {
      "experiment_id": "test-experiment",
      "variation_id": "A"
    }
  }]
}'
Without the '/debug' I get no response and no error or anything
Copy code
curl -X POST "<https://www.google-analytics.com/mp/collect?measurement_id=G-XXX&api_secret=XXXXXXXX>" \
-H "Content-Type: application/json" \
-d '{
  "client_id": "123456.7890123456",
  "events": [{
    "name": "experiment_viewed",
    "params": {
      "experiment_id": "test-experiment",
      "variation_id": "A"
    }
  }]
}'
@fresh-football-47124 got any insights on what I could do?
f
does that event show up in GA4?
100 Views