Skip to Content
Platform.Ontology

Hyperlink ping attribute

A link attribute that makes the browser send a POST to extra URLs when the link is clicked.

Used to track youTracking across apps and sitesAfter leavingWeb browsersAfter you leave the site

In one line

Can tell extra web addresses when you click a link, without you noticing

A link attribute that makes the browser send a POST to extra URLs when the link is clicked.

Lets a site or ad network count clicks without a redirect or script. Body is the text PING, with Ping-From and Ping-To headers. Firefox ships it disabled by default, and blockers and Brave drop it.

What it can and can't do

What the user does: You click a link that has a ping address attached

It can

  • Send a small message to extra addresses the moment you click
  • Report which link you clicked and which page you were on
  • Work even when the link opens a new page right away

It cannot

  • Run unless you click that specific link
  • See what you do after the click on the next site
  • Work in Firefox by default, where it is switched off
  • Show a prompt or any sign that it happened

How it differs between platforms: Chrome, Edge, Safari and Samsung Internet send it. Firefox has it turned off by default.

Browser support

BrowserStatusFirst versionReleasedNote
ChromeSupported122011-06-07None
EdgeSupported172018-04-30None
FirefoxBehind a flagNot availableNot listedOff by default, browser.send_pings
SafariSupported62012-07-25None
Safari on iPhoneSupported62012-09-10None
Chrome on AndroidSupported182012-06-27None
Samsung InternetSupported1.02013-04-27None

How a site asks for it

API<a href=... ping="https://track.example/">
Browser compat keyshtml.elements.a.ping
How access is grantednone
What the user seesNone
Needs a secure context (HTTPS)No
Needs a user gestureNo
How long it lastsFire and forget on click
How to take it backClear site data, browser privacy settings
Inside an iframeNot listed

Data you get

What comes back: Ping POST
Shape: event
How often: per click

No individual data fields. The signal is the access itself.

Technical limits

  • Only on link clicks, not on form submit
  • Disabled by default in Firefox
  • Cookies for the ping origin are sent
  • No response readable

The story

What it is

A link tag that makes the browser quietly tell another address when you click the link.

For you

You click a link and go where you expected. You do not see that a tiny note was sent to a counting server as you left. It only happens in browsers that allow it, and Firefox keeps it off by default.

For makers

It lets a site count clicks with no redirect and no script, so the link feels fast. Search and ad systems like it for outbound click counts. It is easy for blockers to drop, so makers trust it less than scripts.

Where you see it

TypeExampleApps
adsYou click a sponsored result and the browser pings the ad system to count the click, while you go straight to the advertiser page.Google Search
analyticsA news site counts how many readers click out to a partner article without adding any slow redirect.None named
shoppingA coupon site counts clicks to each store link so it can bill stores for traffic.RetailMeNot
socialA forum counts outbound clicks on shared links to show which posts send people away.Reddit
gamesA game portal counts clicks on Play now links to partner game sites, so it can pay a revenue share.CrazyGames, Poki
securityA security team can spot odd ping targets in a page, which is a sign a link is being used for hidden counting.None named

Risks

  • Silent click counting
  • Not blockable by the person without a setting

What the platform says

  • Mozilla: a ping attribute. Developer docs describe ping as a list of addresses that get a short POST when a link is followed.

Good uses and abuse

Legitimate uses

  • Click counting without redirects

Known abuse

  • Hidden click tracking

Scores

ScoreValueMeaning
Sensitivity3 of 5How revealing the data is
Utility2 of 5How useful it is to honest apps
Friction0 of 5How much the user has to do
Fingerprint bitsNot ratedRough identifying entropy, when known

History

  • 2011-06, Chrome 12: Shipped
  • 2013-01, Safari 6: Shipped in Safari
  • navigator.sendBeacon. Can send a small report that the browser delivers even as you leave the page

Sources

How well checked: Based on official documentation.

On this page