Attribution-Reporting-Eligible header
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental:This is anexperimental technology
Check theBrowser compatibility table carefully before using this in production.
The HTTPAttribution-Reporting-Eligiblerequest 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 theAttribution-Reporting-Eligible value, the server is expected to respond with either anAttribution-Reporting-Register-Source orAttribution-Reporting-Register-Trigger header to complete the registration of an attribution source or trigger, respectively.
See theAttribution Reporting API for more details.
| Header type | Request header |
|---|---|
| Forbidden request header | No |
In this article
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-sourceAnevent-based attribution source can be registered.
navigation-sourceAnavigation-based attribution source can be registered.
triggerAnattribution trigger can be registered.
Every response in a redirect chain can register at most one source or one trigger.
Examples
Attribution-Reporting-Eligible: triggerSpecifications
| Specification |
|---|
| Attribution Reporting> # attribution-reporting-eligible> |