Live Visitor Monitor – Real-Time Visitor Monitoring with Smart IP Blocking

By Seventh Sky

10+ active installationsVersion 1.0.2

Monitor live visitors on your WordPress site with a real-time world map, visitor list, and IP blocking capabilities.

Description

Live Visitor Monitor provides real-time tracking and visualization of visitors on your WordPress site. See where your visitors are coming from on an interactive world map.

Core Monitoring and Privacy:

  • Tracking health panel with last successful ping, tracking/geolocation errors, and cleanup schedule.
  • Live visitor search, country/device/activity filters, pagination, and uncapped live/recent totals for the selected filters. Map markers show the displayed page of results.
  • URL query and fragment redaction (on by default), location precision, remote-service switch, and optional account association.
  • Administrator, role, path wildcard, IP/CIDR, and non-production exclusions.
  • Blocking allowlist, temporary blocks with expiry, self-block protection, and paginated block search.
  • Storage usage estimate, retention preview, cleanup batches, anonymous privacy deletion, and uninstall data preference.
  • WordPress privacy export/erasure for visits explicitly associated with a tracked account.
  • Separate session identifiers and deduplicated pageview history, with automatic database upgrades.
  • Trusted reverse-proxy configuration and IPv4/IPv6 anonymization.
  • Vertical settings navigation for General, Privacy & Consent, Geolocation, Tracking Exclusions, Blocking & Proxies, and Data Management. Each section saves independently.

Consent Integration:

Enable Require Tracking Consent and connect your consent manager. With consent required, no ping, location request, or session-storage access occurs before consent. Revocation stops subsequent tracking and removes the session-storage identifier. This is an integration hook, not a consent banner or legal-compliance guarantee.

Key Features:

  • Real-time World Map – Visualize visitor locations on an interactive map with live markers
  • Live Visitor List – See active visitors with IP addresses, countries, cities, and pages visited in a sidebar
  • IP Blocking – Instantly block unwanted IP addresses from accessing your site with a dedicated Blocklist page
  • Geolocation – Automatic country, region, and city detection using IP geolocation (API or local database)
  • Auto-refresh – Dashboard updates every 5 seconds to show the latest visitors
  • Statistics Overlay – Real-time stats box showing online and active visitor counts
  • Comprehensive Settings – Full control over tracking, geolocation, privacy, and data management
  • Privacy Controls – Includes suggested privacy-policy content, consent integration, and IP anonymization options
  • Flexible Maintenance – Configure retention, record limits, cleanup, privacy deletion, and data preservation on uninstall

How It Works:

The plugin automatically tracks visitors. Visitor data (IP address, current page, referrer) is sent to WordPress via AJAX and stored in the database. Geolocation data can be fetched from a compatible local MMDB database you supply, external IP geolocation APIs, or browser-provided coordinates when visitors allow location access. Results are cached for 1 hour to reduce API calls. Core includes the database reader; the bundled City database is supplied separately with licensed Pro.

Sessions and pageviews are stored separately to avoid counting repeated presence pings as pageviews. A session represents browser activity, not a guaranteed unique person. The visitor list continues working when the live map is disabled.

Live Visitor Monitor Pro

Need deeper reporting, bot controls, and local database features? Upgrade to Live Visitor Monitor Pro

Pro Features:

  • Bot Detection – Detect suspicious automated traffic and common crawler patterns
  • AI Bot Detection – Identify common AI crawler and model-training bot signatures
  • Cautious Auto-Blocking – Optionally auto-block high-confidence unwanted bots while allowing known helpful crawlers
  • Bundled Local MMDB Database – Use the heavier local geolocation database only when Pro is installed and licensed
  • Advanced Analytics Dashboard – KPI cards, traffic graphics, daily visit trends, top pages, top referrers, top countries, unique IPs, and active visitor reporting
  • Dashboard Widgets – Show quick analytics summaries on the WordPress dashboard and Live Monitor dashboard
  • Visitor Log – Search visitor history by IP, location, page, referrer, and user agent
  • Visitor Log Retention Controls – Configure how many logs to keep, how long to keep them, rows per page, cleanup, and delete-all maintenance
  • Report Comparisons – Date ranges up to 365 days, preceding-period comparisons, and country/device/campaign/source/medium/bot filters
  • Visitor Journeys – Review entry referrers, page history, estimated engagement, and goal/commerce outcomes
  • Campaigns & Goals – Optional five-field UTM attribution and exact-page-path, successful-event, or download-link-click goals, deduplicated per goal/session
  • WooCommerce Attribution – Optional product, cart, checkout, paid-order, and refund reporting with signed 15-minute attribution cookies and separate currency totals
  • Reports & Alerts – Optional daily/weekly email summaries and traffic, conversion-rate, or missing-tracking alerts by email and/or aggregate HTTPS webhook
  • Bot Evidence Logs – Searchable detection logs, observation mode, AI purpose classifications, cached Googlebot/Bingbot IP-range verification, and optional temporary enforcement
  • Exports & API – Filtered aggregate CSV/JSON exports and an optional authenticated, read-only reporting API
  • Access & Presets – Selected-role report access, reusable settings presets, and multisite summaries/preset application
  • GeoIP Updates – Optional manual/weekly updates from an authorized HTTPS City MMDB/MMDB.gz source, with validation, previous-file preservation, and update status

New campaign, goal, commerce, delivery, API, and managed-update options are off by default and need configuration. Tracking follows Core consent and exclusions. Report history depends on retained records; engagement is an estimate, download clicks do not prove completed transfers, and attributed revenue is not an accounting ledger. Reports/alerts and automatic updates depend on WP-Cron; mailer acceptance does not confirm inbox delivery.

External Resources

This plugin uses Leaflet.js & the following external resources:

DB-IP City Lite: This local MMDB database performs offline IP geolocation when available. The Lite database is licensed under Creative Commons Attribution 4.0 International License. Core can read a compatible City database you supply; licensed Pro supplies a bundled database and optional managed updates. Review your database provider’s license and attribution requirements.

ipwho.is and ip-api.com: These services receive visitor IP addresses for geolocation (country, region, city, coordinates) when external geolocation is enabled and no local/custom database result is available. The built-in sequence uses HTTPS ipwho.is, followed by the HTTP ip-api.com fallback. Results are cached for one hour to reduce API calls; provider terms and usage limits still apply.

OpenStreetMap Nominatim: This service receives browser-provided coordinates for reverse geocoding when browser location is enabled and visitors allow access. Results are cached for one hour. Review its usage policy.

OpenStreetMap: This service provides world map tiles for the dashboard and is used only when the live map is enabled. Tile requests expose the dashboard browser’s IP address and normal request metadata to the provider. Review its tile usage policy and privacy policy. Disable Live Map to avoid tile requests while retaining the visitor list.

Custom API: If configured, your chosen geolocation endpoint receives visitor IP addresses. Review that provider’s terms and privacy practices.

Note: External IP lookups and reverse geocoding can be avoided by disabling External Services in Geolocation settings. Use a compatible local MMDB database for offline lookup if desired. Map tiles are controlled separately by Live Map. The plugin will still track visitors, but location accuracy depends on the available source. Optional Pro licensing, delivery, crawler verification, and database updates introduce separate add-on connections when used.

Installation

Install directly from WordPress Repository:

  1. Go to Plugins > Add New in your WordPress dashboard and search for Live Visitor Monitor.
  2. Click Install Now, then Activate.
  3. Navigate to Live Monitor in the admin menu to access the dashboard.
  4. Configure your preferences in Live Monitor > Settings, including tracking, geolocation, and privacy options.
  5. For premium features, install and activate the separate Pro add-on, then activate your key in Live Monitor > Settings > License and configure the desired Pro sections.

FAQ

How often does the map update?

The dashboard automatically refreshes every 5 seconds to show the latest active visitors. You can also manually refresh using the refresh button.

What defines an “active” visitor?

Visitors show as live while their browser is actively pinging the site, with a live window of approximately 20 seconds. After leaving, they remain visible for up to 15 minutes so recent traffic is still easy to review. Background tabs, consent choices, and connectivity can affect presence.

How does IP blocking work?

When you block an IP address, the plugin checks requests reaching WordPress and prevents access with a 403 error. Blocked IPs are stored in the database and can be permanent or expire automatically. Allowlisted addresses take precedence. Full-page caches/CDNs may serve requests before WordPress runs; use enforcement at that layer when needed.

Is geolocation data accurate?

Geolocation accuracy depends on the IP geolocation source, VPN/proxy use, and your location-precision settings. Country-level data is generally more reliable than city-level data. The plugin caches results for 1 hour to reduce API calls. A compatible local City database avoids remote IP lookups but does not guarantee exact locations.

What external services does this plugin use?

See the “External Resources” section above for complete details. The plugin uses:
* ipwho.is / ip-api.com – For optional external IP geolocation lookups
* OpenStreetMap Nominatim – For optional browser-coordinate reverse geocoding
* OpenStreetMap – For optional dashboard map tiles
* Custom API – Your optional configured geolocation provider

Turn off External Services and Live Map to avoid these remote requests. The plugin will continue to track visitors using a local database or without location data or map visualization.

Does this work with caching plugins?

The tracking script runs in the browser and sends WordPress AJAX requests, so it can work with caching plugins. Keep the tracker and AJAX endpoint accessible through caching, optimization, consent, and security rules. Test as a logged-out visitor; delayed scripts or cached configuration can affect collection. Full-page caching can bypass WordPress-level IP blocking.

What data is collected?

Depending on your settings, the plugin collects: IP address, session identifier, country, region, city, latitude/longitude, current page URL, referrer URL, user agent/device, timestamps, and pageviews. This data is stored in your WordPress database. Account association is optional and off by default. URL query/fragment redaction is on by default. External lookups receive IP addresses or permitted browser coordinates only when enabled. Review the privacy settings and update your site’s privacy notice for your configuration.

How does caching work?

Geolocation results are cached using WordPress transients for 1 hour. This means:
* Successful cached IP lookups can be reused without another provider request
* Cached results are served without external requests
* Cached entries expire after 1 hour
* This reduces API usage and improves performance, but provider usage limits still apply

What database tables are created?

The plugin creates three database tables on activation and upgrades them automatically:
* wp_lvmon8s_visitors – Stores visitor session tracking data (IP, location, page, time, etc.)
* wp_lvmon8s_blocked – Stores blocked IP addresses and optional expiry dates
* wp_lvmon8s_pageviews – Stores deduplicated pageview history linked to sessions

Your site’s actual WordPress table prefix replaces wp_. These tables are removed on uninstall when Delete Data on Uninstall is enabled. Disable that setting to preserve them for reinstallation. Deactivation preserves stored data. Pro manages its additional analytics/event/bot tables separately.

Can I exclude certain user roles from tracking?

Yes. Settings > Tracking Exclusions supports role exclusions, administrator exclusions, all logged-in users, paths, IP/CIDR ranges, and non-production environments. Check these exclusions when testing in Local.

What happens when I disable data collection?

When data collection is disabled:
* No new Core visitor tracking occurs
* No new Core tracking data is stored in the database
* The tracking script is not injected into pages
* Previously stored records remain until retention, deletion, or maintenance removes them

How do I set up a local GeoIP database?

  1. Obtain a compatible GeoLite2-City.mmdb or dbip-city-lite.mmdb database under the provider’s license.
  2. Upload the file to: wp-content/uploads/lvmon8s-geoip/GeoLite2-City.mmdb or wp-content/uploads/lvmon8s-geoip/dbip-city-lite.mmdb.
  3. Enable “Use Local GeoIP Database” in Settings > Geolocation.
  4. Disable External Services if you want to prevent remote lookup fallbacks.

Note: Core includes the MMDB reader; no separate WordPress-root Composer installation is required. Pro can supply a bundled database and optional managed updates.

Where are the Pro settings and license page?

Go to Live Monitor > Settings and select the desired section in the left navigation. Core displays informational upgrade previews for Pro sections. The installed add-on supplies actual controls and the License tab at Settings > License. Premium feature processing and license management remain in the separate add-on.

How long is visitor data kept?

Core defaults to 30-day retention and a 5,000-record limit for each session/pageview table. Configure these in Settings > Data Management. Hourly WP-Cron cleanup uses bounded batches and may take multiple runs. Active Pro supplies its saved retention limits even when its license is inactive; deactivated Pro leaves Core using its own limits. Clear-all and privacy-deletion tools are available for manual maintenance. Visitor erasure does not remove separate security block rules; Pro bot logs follow their retention policy.

Screenshots

Changelog

1.0.2

  • Added session identifiers and separate deduplicated pageview history with automatic in-place database upgrades.
  • Fixed geolocation switches, made precise browser location opt-in, and enforced tracking exclusions on the server.
  • Added trusted-proxy configuration and correct IPv4/IPv6 anonymization.
  • Added tracking health timestamps, geolocation failure reporting, and cleanup status.
  • Added URL query/fragment redaction, location precision, external-service controls, and consent integration.
  • Added administrator, role, path, IP/CIDR, and non-production tracking exclusions.
  • Added live visitor search, country/device/activity filters, pagination, device labels, and independent live/recent totals; fixed list refresh when the map is disabled.
  • Added temporary block expiry, allowlist protection, self-block prevention, and searchable paginated block management.
  • Added storage estimates, cleanup previews and manual batches, configurable record limits, automatic retention independent of licensing, and uninstall preservation.
  • Added WordPress privacy policy content, account-linked data export/erasure, and preview-confirmed anonymous record deletion.
  • Added consent-aware tracker extension hooks and generic data-erasure, cleanup, clear-all, retention, GeoIP-path, and cache-refresh hooks for add-ons.

1.0.1

  • Updated WordPress compatibility to 7.0.
  • Fixed live visitor timing so active visitors show as live and recently-left visitors remain visible for 15 minutes.
  • Added blinking live markers on the map for visitors currently viewing the site.
  • Added browser location support and reverse geocoding for more accurate live map markers when visitors allow geolocation.
  • Added click-to-zoom behavior for Active Visitors and replaced visible IP text with country/location details.
  • Added browser-side IP location fallback for local/private IP environments.

1.0.0

  • Initial release with real-time visitor tracking