[WordPress] 外掛分享: Hopcount Click Tracking

首頁 › 外掛目錄 › Hopcount Click Tracking
WordPress 外掛 Hopcount Click Tracking 的封面圖片
全新外掛
安裝啟用
—
尚無評分
17 天前
最後更新
—
問題解決
WordPress 6.5+ PHP 8.0+ v1.3.2 上架:2026-09-10

內容簡介

Hopcount Click Tracking 外掛能夠記錄訪客點擊您文章及頁面中的外部和聯盟連結的次數,並在 wp-admin 中顯示統計數據。此外掛不會重定向或隱藏連結,確保連結保持其真實的 href。

【主要功能】
• 記錄每個連結的每小時點擊次數
• 支援不重定向的真實連結追蹤
• 提供報告篩選和自訂日期範圍
• 儀表板小工具顯示熱門連結
• 內建層級濫用保護機制

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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, 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

When 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.
A 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.
The 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.
Status screen showing schema, cron and rate-limiter health.

Operations

Bounded retention: hourly rows older than the configured window (default 24 months) are pruned daily.
Layered abuse protection: the endpoint is POST-only and token-validated, an optional built-in per-IP limiter runs on your persistent object cache, and the documentation recommends a CDN or WAF rate-limiting rule.
Uninstall keeps your data unless you opt in to deletion.
Two filters let you grant report and label access to editors or authors.

Compared with redirect-based link plugins
Redirect or “cloaking” plugins route every click through your server and typically store one row per click. This plugin keeps links as real hrefs, records aggregates only, and adds no PHP work to cached page views.

延伸相關外掛

文章
Filter
Mastodon