You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but then the http response from the server is mapped to GoogleAnalyticsResponse, that only keeps the status code and the request params. So atm it is impossible to check the response payload and thus validating the hit.
A really easy modification to the code would be just adding a field to GoogleAnalyticsResponse containing the original org.apache.http.HttpResponse.
The text was updated successfully, but these errors were encountered:
Added setHitDebug config flag. If sets, it sends the requests to debug url (which can be set as well but has defaults). Either way, GAResposne will return httpResponse which has body.
Also added model classes so you can deserialize from json into objects at .hitdebug package. Deserialization itself is not part of the library to avoid the dependency.
Is now available a new endpoint to validate the Google Analytics Measurement Protocol requests:
https://developers.google.com/analytics/devguides/collection/protocol/v1/validating-hits.
In the
GoogleAnalyticsConfig
one can set the http url, eg:but then the http response from the server is mapped to
GoogleAnalyticsResponse
, that only keeps the status code and the request params. So atm it is impossible to check the response payload and thus validating the hit.A really easy modification to the code would be just adding a field to
GoogleAnalyticsResponse
containing the originalorg.apache.http.HttpResponse
.The text was updated successfully, but these errors were encountered: