Deliver P2A metrics to the same endpoint at P3A #20478
Labels
closed/wontfix
OS/Android
Fixes related to Android browser functionality
OS/Desktop
QA/Yes
release-notes/exclude
Description
We introduced a temporary "P2A" metrics endpoint to measure ad interaction opportunities. This overloads the normal P3A usage data reporting mechanism with some additional privacy protections to handle this level 3 data:
These techniques are generally applicable; it would be easier to treat them as an optional step applied to some P3A measurements instead of using a separate back-end. The creation of the new json reporting endpoint in #15967 is a good opportunity to start sending both metric streams to the same endpoint url, simplifying the client-side by more effectively making the current P2A metrics a variety of P3A data.
Proposed Design
Starting with the switch to json-formatted messages, we'd simple start reporting
Brave.P2A.*
measurements to the same endpoint url as all other P3A messages.Initially we could continue to set the
X-Brave-P2A
andX-Brave-P3A
variant headers to mark the difference, but the back-end should eventually sort based on the metric name alone.We would need to verify that the p3a json endpoint proxy strips the client IP address so our organization cannot associate it with any particular submission.
The text was updated successfully, but these errors were encountered: