DEV Community

Discussion on: Embedded visit counter doesn't work here. Any Idea why?

Collapse
 
tobiassn profile image
Tobias SN

The way most stat counters like that work is that they count the amount of times the specific path is being requested. Since dev.to caches images, when someone visits the post, its CDN gets the request, not the original place the image is from. So basically, to the stat counter, almost nobody has visited your post. The one time the path was requested was when dev.to was getting the “image” for caching.

Collapse
 
justhere profile image
yas

Yeah, I was wondering why no one ever used it.