Enable Private Click Tracking, Attribution Reporting API and Ping on `a` tags
See original GitHub issueDescription
As the web is transitioning to becoming more private, new technologies are emerging to enable private click tracking and click attribution. This is done with attributes on a
link tags. Unfortunately, implementing these private click tracking methods invalidates AMP pages.
Please consider enabling the following attributes on a
tags:
impressiondata
conversiondestination
impressionexpiry
reportingorigin
attributionsourceid
attributeon
ping
Alternatives Considered
None, as adding the attributes renders the AMP pages invalid.
Additional Context
Private Click Measurement spec Attribution Reporting API spec
This was initially brought up in #34449 , I just started implementing a proof of concept today and saw the page becoming invalid.

Issue Analytics
- State:
- Created 2 years ago
- Comments:17 (15 by maintainers)
Top Results From Across the Web
Attribution Reporting - Chrome Developers
Attribution Reporting. An API to measure when an ad click or view leads to a conversion, such as a purchase on an advertiser...
Read more >Multiple Impression Registrations on Existing Tracking Pings
Support for 3rd party trackers: 3rd party trackers can only register impressions on click tracking pings. Currently there is no mechanism ...
Read more >Manage user privacy | Tags - Google Developers
Open your Google Analytics 4 configuration tag for editing. Click Fields to Set. Click Add Row. For Field Name, enter allow_google_signals, and for...
Read more >Private Click Measurement: Conversion Fraud Prevention and ...
This enables merchant websites to sign unlinkable tokens and get proof in the attribution report that it was triggered by a trustworthy ...
Read more >Documentation / Using Podsights
Podsights is a reporting and attribution platform for podcast advertising. ... The Main Pixel Script is required to start tracking activity on your...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
On the
ping
attribute, it’s also part of the WhatWG html specification.https://html.spec.whatwg.org/multipage/links.html
Making it valid, and potentially ensuring it’s a valid space-separated token list of https urls seems like a good idea.
(hi there, Chrome web DevRel here, I’m working on this API, chiming in as @alanorozco pinged me)
ping
is not part of Chrome’s Attribution Reporting spec (maybe it’s part of other specs). It looks like it’s not part of WebKit’s latest PCM spec, either (see spec). You should be able to safely ignore it for Attribution Reporting support.attributeon
has been deprecated in favor ofattributiondestination
. I can confirm with certainty thatattributiondestination
is the correct attribute for Chrome. WebKit’s spec seems to be usingattributiondestination
as well.attributionsourceid
. It looks like Chrome is usingattributionsourceeventid
and WebKitattributionsourceid
. I’ll explore why these are different and whether they ned to be aligned, but if possible in the meantime it may make sense to support both attributes.