[WordPress] 外掛分享: SFR Analytics

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

內容簡介

SFR Analytics 是一款自我託管的 WordPress 分析外掛,所有訪客數據均儲存在您的資料庫中,不會傳送至第三方服務,確保訪客隱私不受侵犯。透過此外掛,您可以清楚了解網站流量及使用者行為。

【主要功能】
• 追蹤核心指標:瀏覽量、訪客數、會話數
• 互動式流量趨勢圖:可選日期範圍
• 內容表現分析:最受歡迎的文章與頁面
• 來源分析:訪客來自何處
• 行動裝置與瀏覽器統計:使用者設備與瀏覽器類型
• 活躍訪客即時統計:隨時查看在線人數

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.7.1) 或搜尋安裝

① 下載 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.
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
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 — automatically delete data after 30 to 3,650 days
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
Apply Filters
Mastodon