I send a POST request to
https://ssl.google-analytics.com/collect.
In the response I got,
The http_code is 200
'post_body' => 'v=1&tid=UA-XXXXXX-Y&cid=1012039301.1415754711&t=event&ec=UserFlow&ea=change_profile_photo'
'url' => 'https://ssl.google-analytics.com/collect'
The response was a gif.
Now, of different properties running the same code, only one has the issue where the event is not received by GA. The debug function shows that it's a valid request and a direct get request with this content on my browser records a hit on GA too.
Any ideas what I'm doing wrong or what I should look into next?
Thanks!