[null,null,[],[[["Learn how to register ad clicks and views as attribution sources for conversion measurement in Attribution Reporting API."],["Source registration involves initiating a request using HTML elements like `\u003ca\u003e`, `\u003cimg\u003e`, `\u003cscript\u003e` or JavaScript methods, followed by a server response containing the `Attribution-Reporting-Register-Source` header with reporting configurations."],["This header allows specification of contextual data, conversion destination, and parameters like `source_event_id`, `destination`, `expiry`, and `priority` to manage attribution data."],["`attributionsrc` attribute in HTML or the `attributionReporting` option in JavaScript are key for signaling source registration eligibility and triggering the process."],["This guide details the steps and code examples for click and view registration to enable accurate attribution of conversions to their respective sources."]]],["To attribute ad clicks and views, register sources using HTML elements (`\u003ca\u003e`, `\u003cimg\u003e`, `\u003cscript\u003e`) or JavaScript calls (`fetch`, `XMLHttpRequest`, `window.open`). Initiate source registration by making a request, including `attributionsrc` (required for HTML, optional for others) or `attributionReporting` (required for JS calls). Complete registration by responding to the request with the `Attribution-Reporting-Register-Source` header, specifying source details like `source_event_id` and `destination`. This process differs slightly between clicks (navigation source) and views (event source).\n"]]