Linux 软件免费装
Banner图

SFR Analytics

开发者 supportfromrichard
更新时间 2026年5月5日 01:22
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

privacy tracking statistics analytics pageviews

下载

0.6.0 0.5.0 0.6.1 0.7.0 0.7.1 0.7.2

详情介绍:

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 All dashboard sections are collapsible — show only what matters to you. Campaign Manager & UTM Link Builder Plan and track marketing campaigns without leaving WordPress: Smart Bot Detection Not all traffic is human. SFR Analytics filters out noise automatically: The dashboard shows you exactly how much traffic was filtered: total requests vs verified human visits. Privacy First IP & Country Filtering REST API A full set of authenticated REST API endpoints lets you access your analytics data programmatically: 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 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.

安装:

  1. Upload the sfr-analytics folder to /wp-content/plugins/, or install directly from the WordPress plugin screen.
  2. Activate the plugin through the Plugins screen.
  3. Database tables are created automatically on activation.
  4. Visit Analytics → Dashboard to see your data.
  5. If you manage multiple websites, install SFR Analytics Hub to view aggregated reporting in one dashboard.
That's it — tracking begins immediately for all published pages and posts.

屏幕截图:

  • **Traffic Over Time** — Interactive line chart with date presets (Today, 7 days, 30 days, 90 days) and custom ranges.
  • **Top Referring Sites** — See which domains are sending traffic to your site with visitor counts and percentage breakdown.
  • **Campaign Performance** — UTM campaign results with expandable source/medium breakdown per campaign.
  • **UTM Link Builder** — Visual tool to generate tracking URLs with page picker, preset sources/mediums, and saved links.
  • **Entry & Exit Pages** — See where visitors land and where they leave your site.
  • **Device, Browser & OS Breakdown** — Understand what technology your visitors use.
  • **Geographic Distribution** — Country-level visitor breakdown with chart and table.
  • **Settings** — Configure tracking, privacy, IP/country exclusions, data retention and more.

升级注意事项:

0.7.2 Fixes a fatal error on the dashboard when PHP mbstring is not installed (country flag emoji helper). 0.7.1 Fixes the Top Referring Sites percentage to correctly reflect referral visitors instead of referral views. 0.7.0 Adds the new Online Now dashboard panel with optional online-only auto-refresh controls. 0.6.1 Added companion links to SFR Analytics Hub (free on WordPress.org) for multi-site reporting. 0.5.0 Improved UTM Link Builder page picker with smarter filtering. Code quality improvements. 0.4.0 New Campaign Manager, UTM Link Builder, and additional dashboard sections including entry/exit pages, top referrers, and more REST API endpoints. 0.3.0 IP and country exclusions, JavaScript verification for accurate human traffic counts, and expanded dashboard with device, browser, OS and geographic breakdowns.

常见问题:

Does this plugin send data to external services?

No. All data is stored locally in your WordPress database. No external API calls are made for tracking.

Is this GDPR compliant?

Yes. The plugin stores only anonymous hashed identifiers — no IP addresses, names, emails or any personally identifiable information. It also supports Do Not Track headers and provides ready-made privacy policy text.

Does it use cookies?

No. Visitor and session identification is based on anonymised hashing of request headers, not cookies.

How does bot detection work?

Two layers: first, the User-Agent string is checked against 200+ known bot patterns. Second, a lightweight inline JavaScript verification confirms that the visitor is a real browser. Only verified pageviews appear in your dashboard stats.

Can I exclude my own visits?

Yes. Go to Analytics → Settings and click the "Ignore My IP" button, or manually add IP addresses and CIDR ranges.

What is the Campaign Manager?

A built-in tool to plan marketing campaigns and generate UTM-tagged URLs. When visitors arrive via those links, the campaign performance is tracked automatically and shown on your dashboard.

How does country detection work?

Country detection relies on CDN headers (e.g. Cloudflare's CF-IPCountry). If your site is not behind a CDN that provides country headers, the geographic section will show no data — but all other tracking works normally.

Can I control how long data is kept?

Yes. In Analytics → Settings, set the retention period from 30 days to 10 years. Old data is cleaned up automatically via a daily scheduled task, or you can trigger cleanup manually.

Does it work with caching plugins?

Yes. The tracking script runs client-side after the page loads, so it works correctly with page caching, CDN caching and server-side caching.

Does it slow down my site?

No. The only frontend output is a small inline JavaScript snippet (no external files). It uses navigator.sendBeacon for non-blocking requests and does not affect page load time.

Can I access analytics data programmatically?

Yes. The plugin provides a full REST API with 11 endpoints. Authenticate with WordPress Application Passwords (or any REST API authentication method) and you can retrieve any data shown on the dashboard. Ideal for custom dashboards, reporting tools, or external integrations.

Can I combine data from multiple sites?

Yes. Install SFR Analytics Hub on a central WordPress site, then connect each site running SFR Analytics using WordPress Application Passwords (administrator account required on each feeder site).

更新日志:

0.7.2 0.7.1 0.7.0 0.6.1 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0