From f088046d696d2a31bb680e8321de3ecb1e5b0005 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Wed, 18 Dec 2024 15:00:01 +0100 Subject: [PATCH 1/4] Add private clicks keys --- features/attribution-reporting.yml | 8 +++++++- features/attribution-reporting.yml.dist | 18 +++++++++++++----- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/features/attribution-reporting.yml b/features/attribution-reporting.yml index 2ef26df256e..9f10ad7bf2c 100644 --- a/features/attribution-reporting.yml +++ b/features/attribution-reporting.yml @@ -1,13 +1,19 @@ name: Attribution reporting description: The Attribution Reporting API measures when an ad click or view leads to a conversion, such as a purchase on an advertiser site. -spec: https://wicg.github.io/attribution-reporting-api/ +spec: + - https://wicg.github.io/attribution-reporting-api/ + - https://privacycg.github.io/private-click-measurement/ +status: + compute_from: api.HTMLAnchorElement.attributionSrc compat_features: + - api.HTMLAnchorElement.attributionSourceId - api.HTMLAnchorElement.attributionSrc - api.HTMLImageElement.attributionSrc - api.HTMLScriptElement.attributionSrc - api.Request.Request.init_attributionReporting_parameter - api.XMLHttpRequest.setAttributionReporting - api.fetch.init_attributionReporting_parameter + - html.elements.a.attributionsourceid - html.elements.a.attributionsrc - html.elements.iframe.allow.attribution-reporting - html.elements.img.attributionsrc diff --git a/features/attribution-reporting.yml.dist b/features/attribution-reporting.yml.dist index e773c6ef771..ab9644b5301 100644 --- a/features/attribution-reporting.yml.dist +++ b/features/attribution-reporting.yml.dist @@ -3,10 +3,7 @@ status: baseline: false - support: - chrome: "125" - chrome_android: "125" - edge: "125" + support: {} compat_features: # baseline: false # support: @@ -20,7 +17,6 @@ compat_features: - http.headers.Attribution-Reporting-Support - http.headers.Permissions-Policy.attribution-reporting - # ⬇️ Same status as overall feature ⬇️ # baseline: false # support: # chrome: "125" @@ -35,3 +31,15 @@ compat_features: - html.elements.a.attributionsrc - html.elements.img.attributionsrc - html.elements.script.attributionsrc + + # baseline: false + # support: + # safari: "14.1" + # safari_ios: "14.5" + - html.elements.a.attributionsourceid + + # baseline: false + # support: + # safari: "15.4" + # safari_ios: "15.4" + - api.HTMLAnchorElement.attributionSourceId From 2988ad5c45ababd66dc4237775628bbeb03521eb Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Wed, 18 Dec 2024 15:00:42 +0100 Subject: [PATCH 2/4] fix status --- features/attribution-reporting.yml.dist | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/features/attribution-reporting.yml.dist b/features/attribution-reporting.yml.dist index ab9644b5301..4b167f514dd 100644 --- a/features/attribution-reporting.yml.dist +++ b/features/attribution-reporting.yml.dist @@ -3,7 +3,10 @@ status: baseline: false - support: {} + support: + chrome: "125" + chrome_android: "125" + edge: "125" compat_features: # baseline: false # support: @@ -17,6 +20,7 @@ compat_features: - http.headers.Attribution-Reporting-Support - http.headers.Permissions-Policy.attribution-reporting + # ⬇️ Same status as overall feature ⬇️ # baseline: false # support: # chrome: "125" From cacb315634ed2b29b7a38f6685db276cc4638e4a Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Fri, 20 Dec 2024 14:19:34 +0100 Subject: [PATCH 3/4] move to feature --- features/attribution-reporting.yml | 8 +------- features/attribution-reporting.yml.dist | 12 ------------ features/private-click-measurement.yml | 6 ++++++ features/private-click-measurement.yml.dist | 21 +++++++++++++++++++++ 4 files changed, 28 insertions(+), 19 deletions(-) create mode 100644 features/private-click-measurement.yml create mode 100644 features/private-click-measurement.yml.dist diff --git a/features/attribution-reporting.yml b/features/attribution-reporting.yml index 7d1a900a3f4..ea556c85a1a 100644 --- a/features/attribution-reporting.yml +++ b/features/attribution-reporting.yml @@ -1,12 +1,7 @@ name: Attribution reporting description: The Attribution Reporting API measures when an ad click or view leads to a conversion, such as a purchase on an advertiser site. -spec: - - https://wicg.github.io/attribution-reporting-api/ - - https://privacycg.github.io/private-click-measurement/ -status: - compute_from: api.HTMLAnchorElement.attributionSrc +spec: https://wicg.github.io/attribution-reporting-api/ compat_features: - - api.HTMLAnchorElement.attributionSourceId - api.HTMLAnchorElement.attributionSrc - api.HTMLImageElement.attributionSrc - api.HTMLScriptElement.attributionSrc @@ -14,7 +9,6 @@ compat_features: - api.Window.open.features_parameter_attributionsrc - api.XMLHttpRequest.setAttributionReporting - api.fetch.init_attributionReporting_parameter - - html.elements.a.attributionsourceid - html.elements.a.attributionsrc - html.elements.iframe.allow.attribution-reporting - html.elements.img.attributionsrc diff --git a/features/attribution-reporting.yml.dist b/features/attribution-reporting.yml.dist index 5b24046a981..c89d9ec54ea 100644 --- a/features/attribution-reporting.yml.dist +++ b/features/attribution-reporting.yml.dist @@ -36,15 +36,3 @@ compat_features: - html.elements.a.attributionsrc - html.elements.img.attributionsrc - html.elements.script.attributionsrc - - # baseline: false - # support: - # safari: "14.1" - # safari_ios: "14.5" - - html.elements.a.attributionsourceid - - # baseline: false - # support: - # safari: "15.4" - # safari_ios: "15.4" - - api.HTMLAnchorElement.attributionSourceId diff --git a/features/private-click-measurement.yml b/features/private-click-measurement.yml new file mode 100644 index 00000000000..9e6b71ef169 --- /dev/null +++ b/features/private-click-measurement.yml @@ -0,0 +1,6 @@ +name: Private click measurement +description: Private Click Measurement, or PCM, is an API for measuring ad clicks across websites. +spec: https://privacycg.github.io/private-click-measurement/ +compat_features: + - api.HTMLAnchorElement.attributionSourceId + - html.elements.a.attributionsourceid diff --git a/features/private-click-measurement.yml.dist b/features/private-click-measurement.yml.dist new file mode 100644 index 00000000000..407283297f4 --- /dev/null +++ b/features/private-click-measurement.yml.dist @@ -0,0 +1,21 @@ +# Generated from: private-click-measurement.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + safari: "15.4" + safari_ios: "15.4" +compat_features: + # baseline: false + # support: + # safari: "14.1" + # safari_ios: "14.5" + - html.elements.a.attributionsourceid + + # ⬇️ Same status as overall feature ⬇️ + # baseline: false + # support: + # safari: "15.4" + # safari_ios: "15.4" + - api.HTMLAnchorElement.attributionSourceId From a4e7f8a0b649eb0d33680f4a4f134ce9b1b83cae Mon Sep 17 00:00:00 2001 From: Dietrich Ayala <50103+autonome@users.noreply.github.com> Date: Tue, 7 Jan 2025 18:51:49 -0500 Subject: [PATCH 4/4] Update features/private-click-measurement.yml Co-authored-by: Daniel D. Beck --- features/private-click-measurement.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/private-click-measurement.yml b/features/private-click-measurement.yml index 9e6b71ef169..cecc15f5512 100644 --- a/features/private-click-measurement.yml +++ b/features/private-click-measurement.yml @@ -1,5 +1,5 @@ name: Private click measurement -description: Private Click Measurement, or PCM, is an API for measuring ad clicks across websites. +description: The `attributionsourceid` and `attributiondestination` attributes for `` elements measure clicks across websites without associating a click to a specific session. Not to be confused with attribution reporting. Also known as PCM. spec: https://privacycg.github.io/private-click-measurement/ compat_features: - api.HTMLAnchorElement.attributionSourceId