[WordPress] 外掛分享: SFR Analytics

首頁 › 外掛目錄 › SFR Analytics
WordPress 外掛 SFR Analytics 的封面圖片
20+
安裝啟用
—
尚無評分
45 天前
最後更新
100%
問題解決
WordPress 6.0+ PHP 7.4+ v1.1.2 上架:2026-02-16

內容簡介

SFR Analytics 是一款自我托管的 WordPress 分析外掛,所有訪客數據儲存在自己的資料庫中,無需依賴第三方服務,保障訪客隱私。此外掛提供清晰的網站流量分析,並可透過 SFR Analytics Hub 整合多個 WordPress 網站的數據。

【主要功能】
• 自我托管數據,無需第三方服務
• 提供清晰的流量指標與比較
• 支援多網站數據整合功能
• 可視化的互動式流量圖表
• 訪客來源與推薦網站分析
• 實時在線訪客計數

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「SFR Analytics」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

SFR Analytics is a self-hosted analytics plugin for WordPress. All visitor data is stored in your own database — nothing is sent to third-party services. No cookies, no external scripts, no tracking pixels.
Get a clear picture of your site’s traffic without compromising your visitors’ privacy.
Need a central multi-site dashboard? Use the free SFR Analytics Hub plugin to aggregate analytics from multiple WordPress sites.
What’s new in 1.1

Database usage in Settings — see table size, bot vs human rows, and reclaim unused MySQL space
Shorter bot retention — keep verified visits for months or years; bots can expire in days
Top Referring Sites — group Facebook, Reddit and Pinterest hosts, show every referring domain, and spot AI referrers (ChatGPT, Perplexity, Claude, and similar) at a glance
On-site vs Direct — clicks between pages on your own site are no longer counted as Direct for new visits

Dashboard at a Glance

Views, Visitors, Sessions — core metrics with period-over-period comparison
Bounce Rate & Pages per Session — engagement indicators
Traffic Over Time — interactive line chart with date range presets
Top Content — your most viewed posts and pages
Traffic Sources — where your visitors are coming from
Top Referring Sites — individual domains sending you traffic, with optional grouping for Facebook, Reddit and Pinterest, and a chat icon for AI assistants
Entry & Exit Pages — first and last pages in each visit
Device Types — desktop, mobile and tablet breakdown
Browsers & Operating Systems — which browsers and OS your visitors use
Geographic Distribution — visitor countries (only available if using a CDN like Cloudflare that provides country headers; all other tracking works without a CDN)
Campaign Performance — UTM campaign results with source/medium drill-down
Online Now — on-demand live visitor count with optional online-only auto-refresh in the dashboard

All dashboard sections are collapsible — show only what matters to you.
Campaign Manager & UTM Link Builder
Plan and track marketing campaigns without leaving WordPress:

Create campaigns with notes and track their performance over time
Build UTM links with a visual tool — pick a page, choose source/medium/campaign, and get a ready-to-use URL
Smart page picker — search across all your content types with post type and category filtering
Preset sources and mediums — common options (Facebook, Google, newsletter, etc.) with clear descriptions
Save generated links for quick reference and reuse
Custom sources and mediums — add your own and they’re saved for next time
Auto-lowercase campaign names to prevent data fragmentation

Smart Bot Detection
Not all traffic is human. SFR Analytics filters out noise automatically:

200+ known bot patterns — search engines, AI crawlers, SEO tools, monitoring bots, headless browsers, security scanners and more
JavaScript verification — a lightweight inline script confirms real browser execution, so bots that don’t run JavaScript are never counted
Missing header detection — flags requests without User-Agent or Accept-Language headers
Filterable patterns — add your own via the sfran_bot_patterns filter

The dashboard shows you exactly how much traffic was filtered: total requests vs verified human visits.
Privacy First

No cookies — visitor identification uses anonymous hashed fingerprints
No PII stored — IP addresses are hashed (SHA-256), never stored in plain text
Optional IP anonymisation — strip the last octet before hashing
Do Not Track support — respects the browser DNT header when enabled
Local storage only — your data never leaves your server
Configurable retention — keep verified visits for 30 to 3,650 days; bots and unverified requests can expire much sooner
Database usage in Settings — see table size, what takes the space, and reclaim unused MySQL overhead
GDPR-ready privacy text — copy-paste paragraph for your privacy policy

IP & Country Filtering

Exclude specific IP addresses or CIDR ranges (e.g. 192.168.1.0/24)
One-click “Ignore My IP” button
Exclude entire countries by country code
Exclude logged-in users by role (administrators, editors, etc.)

REST API
A full set of authenticated REST API endpoints lets you access your analytics data programmatically:

/sfran/v1/summary — overview stats with optional comparison
/sfran/v1/top-content — most viewed content with pagination
/sfran/v1/traffic-sources — referrer breakdown
/sfran/v1/time-series — daily views/visitors/sessions
/sfran/v1/campaigns — campaign performance
/sfran/v1/entry-pages and /sfran/v1/exit-pages
/sfran/v1/referrers — top referring domains
/sfran/v1/devices, /sfran/v1/browsers, /sfran/v1/geographic
/sfran/v1/online-now — current active visitor count for the last N minutes (default 5)

All endpoints require authentication (WordPress Application Passwords or other REST API auth) and the manage_options capability. Use these to build custom dashboards, export data, or integrate with other tools.
Performance

Batch processing — pageviews are buffered and written in batches, reducing database load
Indexed tables — optimised queries for fast dashboard rendering
Lightweight frontend — a single inline verification script, no external files loaded for visitors
No impact on page speed — tracking uses navigator.sendBeacon (non-blocking)

Works with SFR Analytics Hub
SFR Analytics collects data on each individual site.
For cross-site reporting, install the free SFR Analytics Hub on your main site.
With SFR Analytics Hub, you can also view live online visitors across all connected sites from one central dashboard.
The WordPress.org Hub edition supports up to 3 connected sites.
Need more than 3 sites with the same workflow? See SFR Analytics Hub Pro.

延伸相關外掛

文章
Filter
Mastodon