[WordPress] 外掛分享: Website Analytics by YEB

WordPress 外掛 Website Analytics by YEB 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Website Analytics by YEB」是 2025-09-08 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2026-02-07,距離現在已有 18 天。
  • 外掛最低要求 WordPress 6.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 8.0 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

yebto |

外掛標籤

analytics | pageviews | statistics | website analytics |

內容簡介

總結:WordPress 的 Google Analytics 替代方案,提供乾淨統計數據、互動、驗證機器人、UTM、GeoIP、CSV匯出。強調保護隱私。

問題與答案:
1. 這個 WordPress 插件提供了哪些主要功能?
- 答:提供一覽表的KPIs、互動(session)功能、內容洞察、獲客資訊、受眾分析、技術資訊、機器人驗證、網路資訊、CSV匯出等功能。
2. 人們為什麼選擇這個插件?
- 答:因為它提供清晰專注的報告,沒有繁瑣的選單,並且具有可操作的篩選功能,可以自由啟用更多詳細的資訊。
3. 如何設定此插件的額外功能?
- 答:您可以在https://yeb.to註冊並創建API金鑰,然後在WordPress中開啟Analytics(YEB),粘貼您的金鑰,切換您想要的額外功能。直到您添加金鑰並打開功能為止,不會向YEB發送任何資料。
4. 如何使用此插件?
- 答:進入Analytics(YEB)→儀表板查看報告,使用標籤深入研究概況、互動、內容、獲客、受眾、技術、機器人和網路等項目。點擊“匯出CSV”以下載當前查看的資料。
5. 這個插件還提供了什麼快捷方式?如何使用它?
- 答:這個插件提供了短代碼(public mini-stats),您可以在任何地方(頁面、文章、小工具、網站編輯器)顯示小型的、公開的計數器。舉例來說,使用[waby_visits_stats]可顯示整個網站過去7天的訪問數。

原文外掛簡介

Google Analytics alternative for WordPress: clean stats, interactions, verified bots, UTM, GeoIP, CSV export. Privacy-first.
What you get

At-a-glance KPIs: pageviews, sessions, unique visitors, pages per session.
Interactions (sessions): session explorer with landing, referrer, per-session timeline (page history), avg. load, distinct pages, pageviews, expand/collapse.
Content insights: top URLs, titles, post IDs.
Acquisition: referrers (root domains) and UTM (source/medium/campaign).
Audience: countries, regions, cities, languages, common screen sizes.
Tech: device type, OS, browser.
Bots (with verification): separate verified search engine hits (Google, Bing, etc.).
Networks: major networks/ISPs and their CIDR ranges.
CSV export: exports exactly what your current filters show.
SPA-friendly & IPv6-ready.

Why people choose it

Clear and calm: focused reports, no maze of menus.
Actionable filters: time window, path, title, country/city, referrer, device, OS, browser, language, UTM, bot type.
You stay in control: richer info (city, device brand/model, verified bot checks) is optional — enable only what you want.

Setup (optional extras)
Want richer details like city/region, device brand/model, or verified bot checks?

Sign in at https://yeb.to and create an API key (free test credits).
In WordPress, open Analytics (YEB) → Settings, paste your key.
Toggle the extras you want (Geo, Network/ASN, Device details, Bot verification).

Nothing is sent to YEB until you add a key and turn on a feature — you choose.
Usage

Go to Analytics (YEB) → Dashboard for your reports.
Use the tabs to dive into Overview, Interactions, Content, Acquisition, Audience, Tech, Bots, Networks.
Click Export CSV to download exactly what you’re viewing.

Shortcode (public mini-stats)
Show small, public counters anywhere (pages, posts, widgets, site editor).
Basic:
`
[waby_visits_stats] ; whole site, last 7 days
[waby_visits_stats period=”30d”] ; whole site, last 30 days
[waby_visits_stats period=”1d” bots=”only”] ; bots only, yesterday
[waby_visits_stats page=”/pricing”] ; just /pricing page, last 7 days
`

Auto-detect current page:
`
[waby_visits_stats current_page]
`

If page="" isn’t provided, current_page uses the current request path.
Show exactly what you want:
`
[waby_visits_stats show=”visits”] ; only total visits (pageviews)
[waby_visits_stats show=”uniques”] ; only unique visitors
[waby_visits_stats show=”both”] ; both (default)
`

Bot filter:
– bots="exclude" (default) — show human traffic and unverified bot-like traffic treated as human
– bots="only" — bot traffic only
– bots="include" — include everything
Labels, layout & CSS hooks (for custom styling):
`
[waby_visits_stats
current_page
show=”both”
label_visits=”Views”
label_uniques=”Visitors”
layout=”inline” ; inline | stack
sep=” • ”
wrap_tag=”div” ; div | span | p
item_tag=”span” ; span | div
wrapper_class=”stats stats–mini”
item_class=”stats__item”
label_class=”stats__label”
value_class=”stats__value”
]
``

All attributes:
– period: 1d, 7d (default), 30d
– page: limit to a path (e.g. /pricing)
– current_page: presence-only flag to use the current URL path
– bots: exclude (default), only, include
– show: visits, uniques, both (default)
– label_visits (default Visits), label_uniques (default Unique)
– layout: inline (default) or stack
– sep: separator when layout="inline" (default |)
– wrap_tag: div (default), span, p
– item_tag: span (default), div
– wrapper_class, item_class, label_class, value_class: extra CSS classes
Styling the shortcode
Paste this CSS into Appearance → Customize → Additional CSS (or your theme stylesheet):
`css
/* YEB Visits – public stats */
.yeb-visits-stats {
display: inline-flex;
gap: .75rem;
align-items: baseline;
font: 500 14px/1.3 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}
.yeb-visits-stats.yeb–layout-stack {
display: inline-grid;
gap: .35rem;
}
.yeb-visits-stats .yeb-metric {
display: inline-flex;
gap: .35rem;
align-items: baseline;
white-space: nowrap;
}
.yeb-visits-stats .yeb-metric__label { opacity: .7; }
.yeb-visits-stats .yeb-metric__value { font-weight: 700; }
.yeb-visits-stats .yeb-sep { opacity: .35; }

Privacy, Cookies & Data Flow
You choose which extras to enable (location, device details, bot verification). IPs are stored in a way that groups them by network (not exact address). You can limit how often extras are called and how much data is kept.
External Service & Data Flow (Guideline 6)
This plugin can optionally call the YEB API to enrich your local analytics. Nothing is sent to YEB until you add an API key in Analytics (YEB) → Settings and enable the related toggle.
Endpoints (HTTPS):

GeoIP: {base}/country, {base}/city, {base}/asn (default base: https://api.yeb.to/v1/geoip)
Device analyze: {endpoint} (default: https://api.yeb.to/v1/device-analyze)
Bot verification: {base} or {base}/{vendor} (default base: https://api.yeb.to/v1/bot/detect/detect)

What is sent and when:

GeoIP Country — IP address; only if API key set and “Country” enabled (purpose: country lookup)
GeoIP City/Region — IP address; only if API key set and “Region & City” enabled (purpose: city/region)
ASN/Network — IP address; only if API key set and “ASN & Network” enabled (purpose: ASN/CIDR)
Device analyze — User-Agent; only if API key set and “Parse user-agent strings” enabled (purpose: browser/OS/device parsing, bot type)
Bot verification — IP + User-Agent; only if API key set and “Bot-Detect” enabled and UA looks like a bot (purpose: verify known crawlers)

All requests use HTTPS. The plugin stores analytics locally; enrichment results are cached locally.
YEB policies:

Privacy Policy: https://yeb.to/privacy
Terms of Service: https://yeb.to/terms

Cookies
Two first-party cookies (pseudonymous GUIDs):

yeb_sid — session id, 30 minutes; groups pageviews into sessions.
yeb_vid — visitor id, 1 year; counts returning unique visitors.

Consent & Opt-Out (Guidelines 7 & 9)
By default, the beacon loads for visitors (logged-in admins excluded unless you enable Track logged-in admins). If your jurisdiction or policy requires consent before placing analytics cookies, gate the beacon with your consent tool.
Example (dequeue until consent):
`php

/**
* Stop the YEB beacon until a custom consent flag is set.
* Replace the condition with your CMP’s check.
*/
add_action(‘wp_enqueue_scripts’, function () {
$consent_given = isset($_COOKIE[‘my_consent_flag’]) && $_COOKIE[‘my_consent_flag’] === ‘yes’;
if ( ! $consent_given ) {
wp_dequeue_script(‘waby-visits-beacon’);
wp_deregister_script(‘waby-visits-beacon’);
}
}, 100);
`
Public REST Endpoint
The plugin exposes an intentionally public ingest endpoint used by the front-end beacon:
`

POST /wp-json/waby/v1/visit
Alias: POST /wp-json/yeb/v1/visit
`
It accepts sanitized visit metadata (URL, path, referrer, UTM, screen, language, etc.) and stores it in your site’s database. It does not expose private data or modify content.
Data Retention & IP Handling

A salted hash of the visitor IP is stored to group traffic by network.
The raw IP is not stored by default. If you enable Store raw IP (packed), it is retained only for the number of days you set (default 7 days) and is visible to admins only.
During enrichment, the raw IP may be encrypted temporarily and then cleared automatically once enrichment is done or after a short fallback window.
You can limit daily external calls and sampling in Analytics (YEB) → Settings.

Uninstall

If you enable Delete all data on uninstall in settings, uninstalling the plugin will remove its custom tables and options.
Leave it off if you want to keep your analytics data.

Filters & Extensibility

waby_visits_stats_output — filter the final HTML of the public stats shortcode.
waby_visits_cache_ttl — filter select-query cache TTL (seconds) used by the dashboard and shortcode.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Website Analytics by YEB」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | 1.0.1 | trunk |

延伸相關外掛(你可能也想知道)

  • GA Google Analytics – Connect Google Analytics to WordPress 》t connects your WordPress website to Google Analytics. It supports Universal Analytics (analytics.js), Global Site Tag (gtag.js), and Google Analyt...。
  • Post Views Counter 》Post Views Counter 讓您能使用這個簡單、快速且易於使用的外掛程式來顯示文章、頁面或自訂文章類型已被檢視的次數。, 欲了解更多資訊,請瀏覽 dFactory 的外...。
  • Burst Statistics – Privacy-Friendly Analytics for WordPress 》使用 Really Simple Plugins 的 Burst Statistics,可以獲得訪客行為的詳細洞察。這是一個隱私友好的分析儀表板。, 功能, , 基本指標:瀏覽量、訪客人數、會...。
  • Statify 》Statify 提供了一個簡單明瞭且節省空間的網站瀏覽次數查詢功能。它是隱私友好的,因為它既不使用 Cookies,也不使用第三方。, 一個互動圖表後面會顯示參照來...。
  • Matomo Analytics – Ethical Stats. Powerful Insights. 》已經使用 Matomo On-Premise 或 Matomo Cloud 的使用者?您需要使用 WP-Matomo 外掛而非此外掛。, 對於所有想要以更輕鬆的方式獲取顧客洞察資訊以發展自己的...。
  • Independent Analytics – Google Analytics Alternative for WordPress 》nge to see data for a specific time period., If you're looking for a Google Analytics alternative that's easy to use, privacy-friendly, and fully i...。
  • SlimStat Analytics 》追蹤回訪客戶和註冊用戶,監控 JavaScript 事件,偵測入侵,分析電子郵件廣告活動。已有成千上萬的 WordPress 網站在使用它。, 主要功能, , 即時訪問日誌:測...。
  • StatCounter – Free Real Time Visitor Stats 》官方 StatCounter WordPress 外掛為您的 WordPress 網誌帶來所有有力的 StatCounter 功能。, 包括但不限於以下功能:, , 隱形計數器選項, 可配置計數器, 可配...。
  • Analyticator 》檢查最新的 WordPress 優惠,適用於您的網站。, Google Analyticator 讓您輕鬆在 WordPress 儀表板中查看 Google Analytics 數據。這樣就不需要編輯您的佈景...。
  • Connect Matomo (WP-Matomo, WP-Piwik) 》如果您尚未使用Matomo On-Premise、Matomo Cloud或自己的Matomo實例,請使用 Matomo for WordPress 外掛。, 此外掛程式使用 Matomo API 在 WordPress 儀表板...。
  • Koko Analytics – Privacy Friendly Statistics for WordPress 》Koko Analytics 是一款針對 WordPress 的隱私友好型分析外掛程式。它不使用任何外部服務,所以您的訪客資料永遠不會與任何第三方公司分享。, 此外,它不會收...。
  • Visitor Traffic Real Time Statistics 》Visitor Traffic Real Time Statistics是一款WordPress的統計數據外掛,可顯示WordPress網站的統計數據和流量。從總體統計到特定的訪問者分析,該外掛可以幫...。
  • Search Meter 》如果您的博客有一個搜尋方塊,Search Meter 外掛會自動紀錄人們正在搜尋什麼,以及他們是否找到了他們想要的答案。Search Meter 的管理介面會顯示近幾天、週...。
  • Statify – Extended Evaluation 》這個外掛程式評估了使用隱私友好的Statify外掛所收集的數據。Statify僅儲存每個頁面瀏覽的日期、引薦人和目標網址。, 這個外掛程式根據以下標準進行評估:, ,...。
  • WassUp Real Time Analytics 》WassUp 是一個 WordPress 外掛,可提供準確、即時的統計資料,並提供大量詳細的時間序列資訊、可自訂追蹤、即時檢視、訪客和頁面瀏覽次數、熱門統計、圖表、I...。

文章
Filter
Apply Filters
Mastodon