-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Milestone
Description
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:
GoogleAnalyticsConfig()
.setHttpUrl("http://www.google-analytics.com/debug/collect")
// ...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.
Metadata
Metadata
Assignees
Labels
No labels