plugin-icon

Opti-Behavior – Analytics That Grows Your Business

Self-hosted heatmaps, click tracking, funnel analytics & real-time visitor insights. 100% local data. No third-party sharing.
Version
1.0.9
Active installations
10
Last updated
Feb 10, 2026
Opti-Behavior – Analytics That Grows Your Business

Opti-Behavior is the only WordPress analytics plugin that gives you Hotjar-level behavior analytics with complete data privacy — all from your own server.

See exactly how visitors interact with your website through powerful visual heatmaps, detailed click tracking, conversion funnels, and comprehensive real-time analytics. Unlike Hotjar, Microsoft Clarity, or Google Analytics, all your data stays on YOUR WordPress server. No cloud. No third-party access. No data sharing. Period.

Your Data, Your Server

Every other analytics tool sends your visitors’ data to external servers:

  • Microsoft Clarity is free, but Microsoft acts as an independent data controller and uses your visitors’ behavioral data for advertising purposes.
  • Hotjar sends all data to AWS Ireland — you have zero control over what happens with it.
  • Google Analytics uses your data for ad targeting across the web.
  • Lucky Orange, Crazy Egg, Mouseflow — your data lives on THEIR servers.

Opti-Behavior is different. Every click, scroll, and interaction is stored in YOUR WordPress database or file system. Your data never leaves your hosting. No DPA required. No cross-border transfer concerns. No cookie consent headaches.

Why Choose Opti-Behavior?

  • 100% Self-Hosted – All analytics data stored locally on your WordPress server
  • GDPR Compliant by Design – No cross-border data transfers, no third-party sharing
  • No Cookie Consent Needed – Session-based tracking without cookies
  • No Session Limits – Track every visitor, not just a sample (Hotjar free: 35/day, Mouseflow free: 500/month)
  • No Monthly Bills – One-time plugin, no per-session SaaS billing
  • Beautiful Visualizations – Modern UI with heatmaps, charts, and interactive maps
  • Lightweight – ~15KB minified JavaScript, loads asynchronously (lighter than Hotjar)
  • WordPress-Native – Built for WordPress from the ground up, not a script injection wrapper

Core Features (Free)

Visual Heatmaps

  • Click heatmaps with color-coded intensity visualization
  • Separate Mobile & Desktop heatmap tracking
  • Configurable tracking accuracy (High, Medium, Low)
  • Page-specific heatmap data with database or file-based storage

Real-Time Analytics Dashboard

  • Live visitor monitoring with real-time updates
  • 6 key metrics: Visitors, Sessions, Page Views, Avg Session Time, Avg Scroll Depth, Bounce Rate
  • Interactive world map with visitor locations (Leaflet + OpenStreetMap)
  • Top Pages, Top Engaged Users, Traffic Sources
  • New vs Returning Visitors breakdown
  • Device, Browser, OS, and Country analytics
  • Visited Directories with depth tracking
  • Flexible time periods: Today, Yesterday, 7 Days, 30 Days, Custom Range

Conversion Funnels

  • Custom funnel builder with multi-step tracking
  • Step-by-step conversion analysis with dropout rates
  • Device-specific and country-specific funnel filtering
  • Funnel status management (active/inactive)
  • Visual dropout visualization

Session & Visitor Tracking

  • Complete session tracking (duration, pages visited, entry/exit pages)
  • Visitor journey mapping across your site
  • Referrer and traffic source tracking
  • Outbound link click monitoring
  • Logged-in user identification

Bot Detection & Filtering

  • Automatic server-side bot identification
  • Search engine crawler detection (Google, Bing, Yahoo, etc.)
  • Separate bot visit tracking for transparency
  • Configurable filtering options

Scheduled Email Reports

  • Automated report delivery (Daily, Weekly, Monthly)
  • Configurable recipient lists
  • Report template selection
  • Test email functionality

AI-Powered Insights (Comming Soon)

  • AI analytics suggestions for optimization
  • Automated behavior pattern detection

User Intent Rules

  • Advanced behavior pattern analysis
  • Intent categorization system
  • Custom traffic classification rules

Data Export & Management

  • CSV export of all analytics data
  • Data retention controls with auto-cleanup
  • Smart cleanup tools for database optimization
  • Complete data deletion on uninstall (optional)

Privacy & Security

  • IP anonymization (optional)
  • No cookies required (session-based tracking)
  • No third-party data sharing
  • Consent management integration support
  • WordPress nonce verification on all forms
  • Prepared SQL statements throughout
  • WP_Filesystem API for file operations

Multilingual Admin

  • English (default)
  • French (fr_FR)
  • German (de_DE)
  • Spanish (es_ES)
  • Portuguese (pt_BR)
  • Italian (it_IT)

Pro Features (Upgrade)

Take your analytics further with Opti-Behavior Pro:

  • Session Recordings – Watch real user sessions with full playback, encryption, and privacy controls
  • Error Tracking – Capture JavaScript errors, network errors, and Core Web Vitals (LCP, FID, CLS, INP, FCP)
  • Friction Detection – Automatic rage click and dead click identification
  • Broken Link Detection – Find and fix broken links across your site
  • User Journey Analytics – Beautiful Sankey diagram visualization of visitor paths
  • Form Analytics – Field-level interaction tracking (time spent, errors, refills, abandonment)
  • Advanced Heatmap Filtering – Filter by country, browser, device, and date range
  • Priority Support – Get help when you need it

All Pro features are also 100% self-hosted with local data storage.

Learn more about Opti-Behavior Pro

How Opti-Behavior Compares

Click Heatmaps Opti-Behavior: Yes | Hotjar: Yes | MS Clarity: Yes | Matomo: EUR 199/yr plugin

Conversion Funnels Opti-Behavior: Yes | Hotjar: No (Scale only) | MS Clarity: No | Matomo: EUR 99/yr plugin

Real-time Dashboard Opti-Behavior: Yes | Hotjar: No | MS Clarity: Yes | Matomo: Yes

Bot Detection Opti-Behavior: Yes | Hotjar: No | MS Clarity: No | Matomo: Partial

Scheduled Reports Opti-Behavior: Yes | Hotjar: No | MS Clarity: No | Matomo: Yes

AI Insights Opti-Behavior: Yes | Hotjar: $213+/mo | MS Clarity: Yes | Matomo: No

Self-Hosted Data Opti-Behavior: Yes | Hotjar: No | MS Clarity: No | Matomo: Yes

No Data Sharing Opti-Behavior: Yes | Hotjar: Yes | MS Clarity: No (Microsoft) | Matomo: Yes

Session Limits Opti-Behavior: None | Hotjar: 35/day | MS Clarity: Unlimited* | Matomo: None

Monthly Cost Opti-Behavior: $0 | Hotjar: $0-$213+ | MS Clarity: $0* | Matomo: $0 + paid plugins

*Microsoft Clarity is free but Microsoft uses your visitors’ data as an independent data controller, including for advertising purposes.

Perfect For

  • Privacy-Conscious Website Owners – Keep all visitor data on your own server
  • EU-Based Businesses – Self-hosted means no cross-border data transfer concerns
  • E-commerce Stores – Optimize checkout flows and product pages without sharing customer data
  • Agencies – Provide clients with analytics without per-site SaaS subscriptions
  • Healthcare, Finance & Legal Sites – Meet strict data handling requirements with self-hosted analytics
  • Content Publishers – Understand reader engagement without third-party tracking
  • WooCommerce Stores – Track cart behavior, analyze product pages, optimize conversions
  • Small Businesses – Enterprise-grade analytics without enterprise pricing

How It Works

  1. Install & Activate – One-click installation, starts tracking immediately
  2. View Your Dashboard – Real-time visitor activity with key metrics
  3. Analyze Heatmaps – See where visitors click on every page
  4. Build Funnels – Track conversion paths and find drop-off points
  5. Export & Optimize – Download reports and make data-driven improvements

Technical Highlights

  • WordPress Coding Standards compliant
  • Secure by design: prepared SQL statements, nonce verification, capability checks
  • ~15KB minified JavaScript with async loading
  • File-based storage option for high-traffic sites
  • Batch processing for efficient event handling
  • Pre-aggregated daily statistics for fast dashboard loading
  • Smart database indexing for optimized queries
  • Multisite compatible
  • REST API ready with hooks and filters
  • Compatible with all major caching plugins (WP Super Cache, W3 Total Cache, WP Rocket)
  • Works with all page builders (Elementor, Divi, Beaver Builder, WPBakery, Gutenberg)

External Services

This plugin may connect to external services in limited circumstances:

IP Geolocation (ip-api.com)

Purpose: Provides geographic location data (country, city, timezone) for visitor analytics and map visualization.

When Used: Only when a visitor’s location cannot be determined from CloudFlare headers. If CloudFlare is active, no external calls are made.

Data Sent: Only the visitor’s IP address. No personally identifiable information is transmitted.

Caching: Results are cached for 1 hour to minimize API requests.

Privacy: * Service: https://ip-api.com/ * Terms & Privacy: https://ip-api.com/docs/legal * Note: ip-api.com may log IP addresses. Review their privacy policy for details.

OpenStreetMap Tiles

Purpose: Displays the interactive visitor location map in your WordPress admin dashboard. When Used: Only when YOU (the admin) view the real-time visitor map. Not used on the frontend. Data Sent: Your browser makes direct requests to OpenStreetMap tile servers (standard HTTP headers only).

Privacy: * Service: https://www.openstreetmap.org/ * Tile Policy: https://operations.osmfoundation.org/policies/tiles/ * Privacy Policy: https://wiki.osmfoundation.org/wiki/Privacy_Policy

Important Note: All analytics data is stored locally on your WordPress server. The services above are only used for optional geographic features and map visualization.

Privacy Policy

Opti-Behavior collects user interaction data to provide analytics insights. This data includes:

  • Page URLs and titles
  • Click coordinates and target elements
  • Mouse movement patterns
  • Scroll depth
  • Session timestamps
  • Referrer URLs
  • Browser and device information
  • IP addresses (can be anonymized)
  • Approximate location based on browser timezone (client-side only, no external services)

Data Storage: All analytics data is stored locally in your WordPress database or file system. No data is sent to external analytics servers.

External Services: This plugin may make API calls to ip-api.com for IP geolocation when CloudFlare headers are not available. Only the visitor’s IP address is sent to this service. See the “External Services” section above for complete details.

No Third-Party Data Sharing: Unlike cloud-based analytics tools, Opti-Behavior does not share, sell, or transfer your visitors’ data to any third party. You are the sole data controller.

User Rights: You have full control over data retention and deletion. Users can request data deletion at any time.

When using this plugin, ensure your site’s privacy policy discloses: * What data is being collected * How long it is retained * Who has access to it * How users can request deletion * That data is stored locally and not shared with third parties

Third-Party Libraries

This plugin bundles the following open-source libraries:

Chart.js

  • Version: 4.4.0
  • License: MIT License
  • Homepage: https://www.chartjs.org/
  • Used for: Rendering analytics charts and graphs

Leaflet

  • Version: 1.9.4
  • License: BSD 2-Clause License
  • Homepage: https://leafletjs.com/
  • Used for: Real-time visitor map visualization

heatmap.js

  • Version: 2.0.5
  • License: MIT License
  • Homepage: https://www.patrick-wied.at/static/heatmapjs/
  • Used for: Generating visual heatmaps of user interactions

Lucide

  • Version: 0.554.0
  • License: ISC License
  • Homepage: https://lucide.dev/
  • Used for: Icon library for the admin interface

All bundled libraries use GPL-compatible licenses (MIT, BSD 2-Clause, and ISC) and are included locally within the plugin. See THIRD-PARTY-LICENSES.txt in the plugin directory for full license texts.

Credits

Developed by OptiUser

Freeon Business plan
Tested up to
WordPress 6.9.1
This plugin is available for download for your site.