Limited supportUse with care and provide a fallback when broad support matters.

Overview

The attributionsourceid and attributiondestination attributes for <a> elements measure clicks across websites without associating a click to a specific session. Not to be confused with attribution reporting. Also known as PCM. It is most useful when native HTML semantics or browser capabilities can replace custom implementation work.

Browser support

Feature Desktop Mobile
Chrome
Edge
Firefox
Safari
Chrome Android
Safari iOS
15.4
15.4
HTML attribute
attributionsourceid
Experimental
14.1
14.5
1+Supported (version) Not supported Has note Sub-feature descriptions sourced from MDN Web Docs (CC BY-SA 2.5)
Notes 2 item(s)
Removed
  • This feature was removed in a later browser version (15.4)
Implementation note
  • Previously available under a different name: attributionsourceid (14.1)
Notes 2 item(s)
Removed
  • This feature was removed in a later browser version (15.4)
Implementation note
  • Previously available under a different name: attributionsourceid (14.5)

Syntax

HTML
<a href="https://shop.example.com"
  attributionsourceid="42"
  attributeon="https://shop.example.com">
  Advertisement link
</a>

Use cases

  • Use Private click measurement

    Use Private click measurement when standard HTML needs a more specific platform feature, semantic signal, or browser capability.

  • Handle edge cases

    Apply Private click measurement to solve a focused requirement without redesigning the whole page architecture.

Cautions

  • Test Private click measurement in your target browsers and input environments before depending on it as a primary behavior.
  • Provide a fallback path or acceptable degradation strategy when support is still limited.

Accessibility

  • Make sure Private click measurement supports the intended task without making the page harder to perceive, understand, or operate.

Powered by web-features