• Alexander

    6 January 2023 at 2:21 pm

    I’m sorry but your question is missing the actual PHP source code you’re referring to. For me to be able to guide you properly, it would be necessary to include the code you’re working with. That being said, HTTP status code 204 indicates that the server has successfully processed the request and there is no additional content to send in the response payload body. This might suggest that your curl command is working as expected, but your server might not be providing any feedback because the Google Analytics Measurement Protocol doesn’t always provide explicit confirmation that an event has been logged. Make sure you provide the PHP source code for exact guidance.