Attribution-Reporting-Eligible header
{{non-standard_header}}
The HTTP Attribution-Reporting-Eligible {{Glossary("request header")}}header indicates that the corresponding response is eligible to register an attribution source or trigger.
This header is never set manually and is instead sent by the browser in response to various HTML element or JavaScript request settings. Depending on the allowed registrations specified in the Attribution-Reporting-Eligible value, the server is expected to respond with either an {{HTTPHeader("Attribution-Reporting-Register-Source")}}Source or {{HTTPHeader("Attribution-Reporting-Register-Trigger")}}Trigger header to complete the registration of an attribution source or trigger, respectively.
See the Attribution Reporting API for more details.
| Header type | |
|---|---|
| No |
Syntax
Attribution-Reporting-Eligible: <allowed-registrations>
Directives
<allowed-registrations>- : A structured-header dictionary representing the registrations allowed in the corresponding response. Possible keys are:
event-source- : An event-based attribution source can be registered.
navigation-source- : A navigation-based attribution source can be registered.
trigger- : An attribution trigger can be registered.
- : A structured-header dictionary representing the registrations allowed in the corresponding response. Possible keys are:
Every response in a redirect chain can register at most one source or one trigger.
Examples
Attribution-Reporting-Eligible: trigger
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}