constcurrentTimestamp=Date.now();constpriority=-currentTimestamp;res.set("Attribution-Reporting-Register-Source",JSON.stringify({// … all usual fields for that headerpriority:`${priority}`}));
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2022-12-15 UTC。"],[[["The Attribution Reporting API defaults to last-touch attribution, but you can prioritize specific sources or triggers to change this behavior."],["Source-side priorities allow you to prioritize specific clicks or views across both event-level and aggregatable reports by setting higher priority values in the source registration header."],["For event-level reports, trigger-side priorities enable you to prioritize specific conversions, ensuring reports for important events are received even if the attribution limit is reached."],["The browser compares report priorities and replaces lower-priority reports with higher-priority ones to manage the report limits for a given source."],["Setting priorities for sources and triggers allows advertisers to receive the most relevant attribution data within the API's constraints."]]],["The Attribution Reporting API can be configured to prioritize specific sources or conversions. This is done by adding a `priority` key to the source or trigger registration header. Higher `priority` values take precedence. For sources, this determines which source event is attributed to a conversion, overriding the default last-touch model. For triggers, it determines which conversions are reported when the maximum number of reports is reached, allowing for prioritizing important conversions, like purchases, over less significant ones.\n"]]