Hopcount Click Tracking
Hopcount Click Tracking records how often visitors click the outbound and affiliate links in your posts and pages, and shows the totals in wp-admin. It does this without redirecting or cloaking anything: your links keep their real href. If you already use cloaked links on your own site (Redirection,
Hopcount Click Tracking records how often visitors click the outbound and affiliate links in your posts and pages, and shows the totals in wp-admin. It does this without redirecting or cloaking anything: your links keep their real href. If you already use cloaked links on your own site (Redirection, Pretty Links, ThirstyAffiliates, a server rule), those are followed and counted under their real destination too, best-effort.
What it stores
- Hourly click counts per link. That is the whole data model: no per-click rows, no IP addresses, no user agents, no referrers, no user IDs, no cookies.
- Which post each link appeared in, the destination URL and its host, and the link text (used as an automatic label).
There is nothing to anonymise and nothing to disclose in a privacy policy beyond “aggregate click counts are kept”.
How it works
- 01When a post renders, eligible outbound links get a short server-generated token attribute. Ordinary links to your own site (and any hosts you list as internal) are skipped. A same-site link that your site answers with an off-site redirect (a cloaked affiliate link) is treated as outbound and tracked under the redirect’s destination.
- 02A small deferred script (about 700 bytes compressed) sends a beacon to a REST endpoint when a link is activated, including middle-click and keyboard activation.
- 03The endpoint resolves the token and increments the hourly counter.
Because the token lives in the rendered HTML, the plugin keeps working behind WP Rocket, WP Super Cache, Cloudflare APO and similar full-page caches. Cached page views cost zero database queries; only the click itself reaches PHP.
Reporting
- Report screen with date presets or a custom range, host filter, one search box across post titles, destination URLs and labels, per-link or per-page totals, summary cards and CSV export.
- Labels screen to give any destination URL a friendly name.
- Dashboard widget with the top links for today, yesterday, 7, 30 or 90 days.