privacycg / private-click-measurement

Private Click Measurement
https://privacycg.github.io/private-click-measurement/
196 stars 8 forks source link

Relation of attributiondestination to href #85

Closed ekr closed 2 years ago

ekr commented 2 years ago

Suppose we have an tag with both attributiondestination destination and href what is the behavior of the click? Is href ignored by supporting browsers?

johnwilander commented 2 years ago

attributiondestination is for the destination landing site whereas href can take the user to an interstitial. PCM will only accept click measurement data if the user indeed did land on attributiondestination.

ekr commented 2 years ago

Are there any restrictions on href at all? Suppose the I have

<a href="example.com/go-to-example.org" attributiondestination="example.org">

Is that valid as long as example.com redirects?

johnwilander commented 2 years ago

Are there any restrictions on href at all? Suppose the I have

<a href="example.com/go-to-example.org" attributiondestination="example.org">

Is that valid as long as example.com redirects?

By spec, yes.

ekr commented 2 years ago

Thank you.