| Installation requirements |
Paste a <script> snippet into the page or template. The platform must allow custom JavaScript, which many free website-builder plans don’t. |
Paste an <img> tag, Markdown image or BBCode [img]. The platform only needs to allow external images. |
| Pageview counting |
The script runs on each page load and can add a cache-busting value to its request, so repeat views are usually recorded. It can also count navigation in single-page apps. |
Counts each image request that reaches the counter server. Cached or proxied copies aren’t counted, and duplicate loads may be counted twice. |
| Referrer information |
Can read the current page address and document.referrer, the page the visitor came from, subject to the referring site’s policy. |
Only receives the Referer header of the image request. Modern browsers usually send just the origin cross-site, e.g. https://example.com/ without the path, and proxies often send none. |
| Browser and screen information |
Can read screen size, viewport, language and time zone, if the service chooses to collect them. |
Limited to request headers: user-agent string, accepted languages and IP address. There’s no way to learn screen size. |
| Compatibility |
Self-hosted sites, static hosts and platforms that permit scripts. Blocked on many free builder plans, forums and profile pages. |
Very broad: forums, profiles, restrictive builders and Markdown pages. Fails where external images are stripped, rehosted or blocked. |
| Image caching |
Mostly not an issue: the script controls its request and can make each one unique. |
The main weakness. The counter server can send no-cache headers, but browsers, CDNs and image proxies don’t always respect them. |
| Limitations |
Doesn’t count visitors with JavaScript disabled or blocked by content blockers, or pages whose Content Security Policy forbids third-party scripts. |
Doesn’t count visitors whose images are blocked or served from a cache. It can’t tell people from bots well, and estimating unique visitors is harder. |