Back to Content

Attribution-Reporting-Eligible header

files/en-us/web/http/reference/headers/attribution-reporting-eligible/index.md

latest2.2 KB
Original Source

{{deprecated_header}}

The HTTP Attribution-Reporting-Eligible {{Glossary("request 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")}} or {{HTTPHeader("Attribution-Reporting-Register-Trigger")}} header to complete the registration of an attribution source or trigger, respectively.

See the Attribution Reporting API for more details.

<table class="properties"> <tbody> <tr> <th scope="row">Header type</th> <td>{{Glossary("Request header")}}</td> </tr> <tr> <th scope="row">{{Glossary("Forbidden request header")}}</th> <td>No</td> </tr> </tbody> </table>

Syntax

http
Attribution-Reporting-Eligible: <allowed-registrations>

Directives

Every response in a redirect chain can register at most one source or one trigger.

Examples

http
Attribution-Reporting-Eligible: trigger

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{HTTPHeader("Attribution-Reporting-Register-Source")}}
  • {{HTTPHeader("Attribution-Reporting-Register-Trigger")}}
  • Attribution Reporting API