DEV Community

Vijay SRJ
Vijay SRJ

Posted on

How to track website link clicks in HTML5?

A single HTML attribute can be used to track website clicks . No JavaScript needed . Wrote about the “ping” attribute introduced in HTML5. Does anyone use it?
https://fullstackdeveloper.guru/2020/10/01/how-to-track-your-website-link-clicks-using-a-single-html-attribute/

Top comments (1)

Collapse
 
yellow1912 profile image
yellow1912

Interesting. Normally we already use a javascript library with much more tracking support though. I definitely see using a natively supported feature as a bonus.