Settings

Theme

Google (and others) please implement link analytics with "ping" or "sendBeacon"

medium.com

6 points by sirk390 2 years ago · 7 comments

Reader

JohnFen 2 years ago

> the links don’t redirect to the external site, but to an internal redirection link?

Yes, which is why I broke the habit of just clicking on links years ago and switched to copy/pasting the link text to extract the real URL instead.

The existence of the ping attribute and "sendBeacon" are why I won't stop copy/pasting links even if they stop including those redirects.

LorenDB 2 years ago

The best part of these methods is that they are (likely, from a layman's perspective) easier for a concerned user to block.

  • rwiggins 2 years ago

    Best/worst. I worked at an e-learning company that, thanks to ancient e-learning standards, really tried hard to figure out when a user is leaving a web-page to handle session exits gracefully.

    sendBeacon was dead on arrival, for that purpose at least; iirc it's blocked by most ad blockers. (Or was, who knows with Manifest v3.)

    Similarly we're unlikely to see sendBeacon truly replace tracking redirects, unfortunately. This isn't an area where tech firms are happy to see fine user controls.

  • chocolatkey 2 years ago

    Wheb I implemented an in-house analytics system, I had to revert to using a normal fetch request, as by default any usage of the beacon API was blocked. I don't think it really makes a difference for big providers with well-known blacklisted domains, but for custom implementations, it does

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection