Skip to content

Consider advertising implementation-defined parameters in JS and HTTP #328

@apasel422

Description

@apasel422

Originally posted by @apasel422 in #280 (comment)

The specification relies on a number of implementation-defined parameters, the most notable of which is the set of allowed aggregation services. That set can be retrieved via JavaScript (navigator.attribution.aggregationServices), but is not automatically accessible to the HTTP API being added in #280.

We could consider exposing it, and potentially other implementation-defined parameters, in HTTP, similar to Client Hints.

For example, a response could include:

Accept-CH: Sec-CH-Attribution-Aggregation-Services

and then receive in the future:

Sec-CH-Attribution-Aggregation-Services: "https://aggregator.example/dap";p=dap-15-histogram, "https://other-aggregator.example/foo";p=tee-00

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions