About this plugin
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.