Site Reach

Curious about how many people connect with this site? Site reach tells the story. It reflects the number of visitors who explore our content.

Site Reach

Curious about how many people connect with this site? Site reach tells the story. It reflects the number of live and past visitors who explore our content, helping us understand the breadth of our audience and the impact we’re making. Whether you’re here for insights, updates, or inspiration, your visit contributes to the reach that drives this platform forward.

Live & Past Visitor Map
Live Visitors: 0·Last Updated: –Live VisitorsPast Visitors

A live world map of where visitors are – pulsating green dots for people here right now, blue dots for the places visitors came from over the past three months. The shaded half is night right now; its soft yellow lights are large cities, not visitors.

Currently Visited Pages

Loading…

See who’s reading the site right now – the pages people have been on in the last few minutes. The list refreshes on its own every minute.

Past Visited Pages

Loading…

The most-visited pages over the past three months. Each visitor counts once per page per day (reflecting real interest rather than repeat refreshes).

The Backdrop

👁️ Views: 794 today / 3,701,842 total

👍 Likes: 78 today / 576,664 total

👎 Dislikes: 1 today / 5,878 total

The code running this Live Visitor Map was audited by both Claude.ai as well as chatGPT and below are their final verdicts.

Github Logo

🎯 What The Code Does

Backend Tracking

  • Tracks every visitor on every page of website
  • Captures: IP address, geolocation (city, country, coordinates), page URL, browser, timestamp → IPs are anonymized before being stored
  • Uses free ip-api.com service for geolocation (cached for 30 days per IP)
  • Stores data in MySQL database
  • Auto-cleanup: Deletes old records (runs daily)

Frontend Display

  • Interactive world map with day / night shading, twilight and city lights
  • Updates every 60 seconds; pauses while the tab is in the background
  • Tap a dot: Live visitors show city, country, page, browser and time; Past places show city, country, number of visitors and last visit
  • Real-time stats: Live visitor count, last update time
  • Table of currently visited pages with visitor counts

👤 User Experience (UX)

Visitors being tracked

  • Zero impact – invisible tracking
  • One first-party cookie to recognise returning visitors – no third-party cookies
  • No added page load: Tracking runs in the background after the page has loaded

User viewing the Map

  • Beautiful, interactive visualization
  • Can zoom / pan freely without interruption
  • See roughly where visitors are (city level) and what they’re reading
  • Auto-updates every 60 seconds in the background
  • Mobile-friendly, responsive design

⚡ Performance Impact

Loading Speed

Pages WITHOUT shortcode:

  • No measurable impact: The geolocation lookup and the database write happen in a background request after the page has loaded

Pages WITH shortcode (map page)

  • Concerns this current page only
  • Map drawn as inline SVG: About 22 KB compressed, part of the page itself – no external libraries, no map tiles, no third-party requests
  • Updates every 60 seconds: One cached request, typically 10–20 KB compressed
  • No first-paint delay: The map appears with the page; day / night is drawn right after
  • Subsequent updates: Imperceptible

Database Impact

  • Low traffic (<1,000 visits / day): ✅ Zero concerns
  • Medium traffic (1,000-10,000 visits / day): ✅ Fine with current optimization
  • High traffic (>10,000 visits / day): ⚠️ Monitor table size
    • About 6,000 visitor rows and 8,000 page-view rows (90 days) – a few MB. Map data is built at most once a minute, no matter how many people are watching
    • Consider upgrading to dedicated geolocation service (reduces API calls)

Memory / CPU

  • Minimal – one background database write per visit
  • Map data is cached on the server and shared by all viewers
  • Daily cleanup removes everything older than 90 days

🔒 Privacy & Compliance

GDPR / Privacy Considerations

  • ✅ One first-party cookie, no third-party cookies
  • ✅ Anonymization of IPs implemented
  • ✅ Only the anonymised IP is stored for the city lookup
  • ✅ Data retention policy (90 days)
  • ✅ Purpose: Analytics / security
  • ✅ Added to privacy policy in Site Policies

🏆 Code Quality

Strengths:

  • ✅ Clean, well-structured PHP / JavaScript
  • ✅ Proper WordPress hooks and AJAX
  • ✅ SQL injection protection (prepared statements)
  • ✅ Error handling and fallbacks
  • ✅ No debug code in production
  • ✅ Efficient queries with proper indexes
  • ✅ Auto-cleanup prevents bloat
  • ✅ Responsive, modern UI

📊 Final Verdict

AspectRatingNotes
Functionality⭐⭐⭐⭐⭐Does exactly what it promises; No more, no less
Performance⭐⭐⭐⭐⭐Minimal impact for most sites
UX⭐⭐⭐⭐⭐Beautiful, intuitive, non-intrusive, responsive
Code Quality⭐⭐⭐⭐⭐Production-ready, optimized
Scalability⭐⭐⭐⭐⭐Good up to 10k visits / day; Fine with current optimization
Privacy⭐⭐⭐⭐⭐No cookies, IP (anonymized) storage server side only

🎉 Bottom Line

You’ve built a professional, feature-rich visitor tracking system that rivals paid services like Clustrmaps or Revolvermaps. It’s lean, fast, robust, and ready for real-world use. The user experience is excellent and the performance impact is minimal for most WordPress sites. Well done! Ship it! 🚀