You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 25, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 25, 2026. It is now read-only.
Hey,
We are attempting to integrate attribution reporting for our API clients.
This means that we don't have any code on the page and only return click-links for the account to implement on their page.
Is the mandatory for the registration of a "attribution source"?
Is it enough for us to respond with the correct header on the request (Attribution-Reporting-Register-Source)?
Thanks
An HTTP response is eligible to register triggers without opt-in, but in order to register sources, the request has to be considered eligible, which can be achieved with one of the following:
<a attributionsrc>: can register navigation sources
<img attributionsrc>: can register event sources or triggers
<script attributionsrc>: can register event sources or triggers
open(..., ..., 'attributionsrc'): can register navigation sources
fetch(..., {attributionReporting: {eventSourceEligible: true, triggerEligible: false}}): can register some combination of event sources depending on the given options
An eligible request will contain an Attribution-Reporting-Eligible header indicating which types of registrations the response can produce, if any.
Activity
apasel422 commentedon Nov 21, 2024
An HTTP response is eligible to register triggers without opt-in, but in order to register sources, the request has to be considered eligible, which can be achieved with one of the following:
<a attributionsrc>: can register navigation sources<img attributionsrc>: can register event sources or triggers<script attributionsrc>: can register event sources or triggersopen(..., ..., 'attributionsrc'): can register navigation sourcesfetch(..., {attributionReporting: {eventSourceEligible: true, triggerEligible: false}}): can register some combination of event sources depending on the given optionsAn eligible request will contain an
Attribution-Reporting-Eligibleheader indicating which types of registrations the response can produce, if any.danieldansker commentedon Nov 25, 2024
Thanks, @apasel422,
I'm not sure if any of these solutions would work for us. Here’s our use case:
I couldn’t determine from the documentation whether the
fetchcan help us registering navigation-source.apasel422 commentedon Dec 2, 2024
fetchisn't capable of registering navigation sources, no.apasel422 commentedon Dec 5, 2024
Feel free to re-open if you have further questions.