
內容簡介
ebrao_globe_statistics 外掛可記錄匿名的每日訪問量,並以互動式地球儀展示結果。此外掛提供多種自訂選項,讓使用者能夠輕鬆地查看來自不同國家的訪問統計。
【主要功能】
• 互動式旋轉地球儀,具拖曳控制
• 可自訂顏色、網格密度與旋轉速度
• 支援短碼屬性調整報告期間
• 獨立的統計數據,無需其他分析外掛
• 本地打包的可視化庫和地圖數據
外掛標籤
開發者團隊
原文外掛簡介
ebrao_globe_statistics records anonymous daily visit counts by country and displays the results on an interactive globe.
Features include:
Interactive rotating globe with drag controls.
Configurable colors, grid density, rotation speed, focus country, and flight paths.
Adjustable reporting period through shortcode attributes.
Standalone aggregate statistics with no dependency on another analytics plugin.
Locally bundled visualization libraries and map data.
The plugin stores only the date, a two-letter country code, and an aggregate counter. It does not store IP addresses. Country detection requires one of these server request headers:
CF-IPCountry (Cloudflare)
X-Country-Code
GEOIP_COUNTRY_CODE
Use [visitor_globe] to display the globe.
Optional shortcode attributes:
height: Globe height in pixels. The default is 540.
days: Number of recent calendar days to include. The default is 30.
Example:
[visitor_globe height="540" days="30"]
The plugin bundles D3, TopoJSON Client, and World Atlas data locally. It does not contact a third-party CDN when rendering the globe.
Third-party source code:
D3: https://github.com/d3/d3
TopoJSON Client: https://github.com/topojson/topojson-client
World Atlas: https://github.com/topojson/world-atlas
Privacy
The plugin does not send visitor data to the plugin author or any external service. It does not store IP addresses, user agents, URLs, or user identifiers. A request to the site’s own WordPress REST API increments an aggregate counter containing only the WordPress-site date and the country code supplied by the host. Logged-in users are excluded. Browser session storage is used to avoid duplicate counts during the same browser session.
