DEV Community

Vijay SRJ
Vijay SRJ

Posted on

2

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.

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay