Trafficle
Privacy-first, self-hosted analytics. No third-party trackers: visitor data is stored in your own database and never leaves your server.
Solid choice
Trafficle is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 4 days ago, and scores 64/100 on our health check.
- Actively developed β last update 4 days ago
- Tested with the latest WordPress (7.1)
- Small user base (<10 active installs)
- Very few reviews so far
- Needs PHP 8.1 or newer
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release β each site that auto-updates counts as a download.
Rankings
Where Trafficle stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| analytics | >100 |
| insights | >100 |
| privacy | >100 |
| statistics | >100 |
| tracking | >100 |
About Trafficle
From the official readme Β· v1.7.0Description
Trafficle is a lightweight, privacy-first analytics plugin that stores all visitor data in your own WordPress database. There are no third-party servers, no trackers, and (by default) zero external network requests.
Features
- Pageviews & Visitors with a date-range picker (Today / 7 / 30 / 90 days / 12 months / custom). Daily aggregates keep long ranges fast and available after raw data expires.
- Real-time active visitors and the pages they are on.
- Top Pages, Referrers, Devices, Browsers, Operating Systems and Countries.
- Returning visitors and weekly retention cohorts (opt-in, cookie mode).
- Goals & Conversions β define a URL or event goal and measure conversion rate.
- Conversion funnels β chain existing goals into an ordered multi-step path and see drop-off per step. Reuses recorded conversions (no extra tracking).
- Custom Events API β
window.Trafficle.track('event_name', value)for button clicks, form submissions, outbound links and more. - UTM / Campaign attribution β source, medium, campaign, term and content reporting.
- Landing & exit pages, bounce rate and average time on page.
- Geo β uses the Cloudflare
CF-IPCountryheader automatically, or an optional MaxMind GeoLite2 database for non-Cloudflare sites. - CSV export of every report.
- Configurable data retention. Full IP addresses are never stored; the visitor log shows a truncated address only. Query strings are stripped from stored URLs.
- First-party cookie for accurate visitor counts, with a cookieless mode for strict privacy.
- Bot & crawler detection β search engines, AI crawlers (GPTBot, ClaudeBot, CCBot, PerplexityBotβ¦), social bots, SEO tools, uptime monitors and scrapers are tagged automatically and logged server-side (most crawlers never run JavaScript). Optional reverse-DNS verification runs after the response is sent.
- Visitor Log β filterable, paginated table of individual visits with a per-visit detail drawer. Bots are badged by type; no raw IPs or user-agent strings are stored.
- Engagement & scroll depth β per-page scroll-depth % and engaged-session rate, captured without cookies or external calls.
- Core Web Vitals β LCP, CLS, INP and TTFB collected via the Performance API, rated against Google’s good / needs-work / poor thresholds.
- User Flow β the top page-to-page navigation paths, derived from each visit’s ordered pageviews (no extra client capture).
- Content intelligence β top posts, authors, categories and content types.
- Outbound, affiliate and download clicks captured automatically (host + path hash only).
- Anomaly alerts β optional daily email when human, bot or AI-crawler traffic leaves its normal range.
- Google Search Console import (optional) β connect your own Google Cloud OAuth client to see the queries behind your organic traffic. Data is fetched to and stored on your server.
- Click heatmaps (optional, off by default) β coarse, aggregated click positions per page and device; never element text, inputs or session replay.
- WooCommerce β purchases attributed to the visit that checked out, with revenue stored only as a bucket.
- Dashboard filters β click any page, channel, referrer, country, device, campaign or goal to filter the whole dashboard; stack filters and bookmark the result.
- Compare to the previous period β dashed comparison lines on the chart and a change badge on every KPI and list row.
- Chart notes β posts published, plugin/theme/WordPress updates and traffic alerts are marked on the chart automatically; add your own notes too.
- Content screen β content decay (pages losing traffic), Search Console queries just off page one, on-site search terms (and searches with no results), broken links visitors hit, and form submissions.
- Stats inside WordPress β a Views column in post lists, a 30-day stats box in the editor, today’s views in the admin bar and a dashboard widget.
- Form tracking β successful submissions from WPForms, Contact Form 7, Gravity Forms and Fluent Forms are counted automatically and can become goals in one click. No field values are read.
- AI crawler control β allow, disallow (robots.txt) or block (403) each AI crawler, with a “block AI training, allow AI search” preset and a check for crawlers that ignore robots.txt.
- A/B experiments β test content variants, split URLs or custom JavaScript against any goal, with uplift, p-value and a clear verdict. Cache-friendly and consent-aware.
- Email reports β weekly or monthly summaries to several recipients, plus JSON export of any (filtered) dashboard view.
- Share links and roles β read-only dashboard links for clients (optionally expiring), and report access for roles such as Editor.
- Import history β bring daily totals and top pages from Koko Analytics, WP Statistics, Independent Analytics, Jetpack Stats or a CSV/Google Analytics 4 export.
- WordPress Abilities API β read-only analytics abilities for AI assistants and MCP clients on your own site (WordPress 6.9+).
- Multisite network view β compare visitors, pageviews and top pages across all sites in Network Admin.
Privacy
- All data is stored on your own server.
- Visit ids are random UUIDs; no emails, names or full IP addresses are stored.
- Visitors can view, download or delete their own data, or opt out, with the
[trafficle_privacy]shortcode. Admins can export / erase by visitor ID. - Trafficle can wait for explicit analytics consent before tracking when you enable the built-in consent gate in Settings.
- The optional MaxMind database is downloaded once with your license key and queried locally β no runtime external calls.
External services
Trafficle works fully offline by default. The following optional features make network requests only after an administrator enables them.
MaxMind GeoLite2 (optional country detection)
Used to map visitor IP addresses to countries on sites that are not behind Cloudflare. When you enter a GeoLite2 license key in Trafficle β Settings, the plugin downloads the GeoLite2-Country database from download.maxmind.com once, then refreshes it monthly. The request sends only your MaxMind license key. All lookups then happen locally on your server; visitor IPs are never sent to MaxMind.
- Terms of use: https://www.maxmind.com/en/geolite2/eula
- Privacy policy: https://www.maxmind.com/en/privacy-policy
Google Search Console (optional keyword import)
Used to show the search queries that bring visitors to your site. Only active after you add your own Google Cloud OAuth client and click “Connect” under Trafficle β Search Console. The plugin then contacts:
accounts.google.comβ to let you sign in and grant read-only Search Console access (your browser is redirected there).oauth2.googleapis.comβ to exchange and refresh the access token (sends your OAuth client ID, client secret and the authorization/refresh token), and to revoke it when you disconnect.www.googleapis.com/webmasters/v3β to download daily query/page statistics for your site (sends your site URL and a date range), on a daily schedule while connected.
No visitor data is sent to Google.
- Google Terms of Service: https://policies.google.com/terms
- Google API Services User Data Policy: https://developers.google.com/terms/api-services-user-data-policy
- Google Privacy Policy: https://policies.google.com/privacy
Jetpack Stats import (optional)
Only when Jetpack is installed and connected and an administrator clicks Import next to Jetpack Stats in Trafficle β Settings β Import history. Trafficle then uses Jetpack’s own API classes to ask WordPress.com for your site’s daily views, visitors and top posts for the chosen period. The request goes through your site’s existing Jetpack connection. Nothing is sent otherwise; all other importers read only your own database.
- WordPress.com Terms of Service: https://wordpress.com/tos/
- Automattic Privacy Policy: https://automattic.com/privacy/
Reverse-DNS crawler verification (optional)
Off by default. When “Verify search engines” is enabled, Trafficle checks requests whose user agent claims to be a known crawler (for example Googlebot) with a reverse DNS lookup of the request IP, followed by a forward lookup of the returned hostname. The lookups use your server’s configured DNS resolver (usually run by your hosting provider), so that resolver receives the claimed crawler’s IP address. The result is cached for a day per IP. No other data is sent and no third-party API is involved.
Third-party libraries
- Chart.js v4.6.1 (MIT) β bundled minified as
assets/vendor/chart.umd.min.js. Unminified source: https://github.com/chartjs/Chart.js/tree/v4.6.1 - MaxMind DB Reader for PHP v1.15.0 (Apache-2.0) β bundled in
includes/vendor/MaxMind.
Installation
- Upload the
trafficlefolder to/wp-content/plugins/. - Activate the plugin through the “Plugins” screen.
- Visit Trafficle in the admin menu.
Changelog
Dashboard filters and period comparison, chart notes, a Content screen, stats in post lists and the editor, form tracking, AI crawler control, A/B experiments, email reports, share links, history import and redesigned Goals and Funnels pages.
1.7.0
- New: Dashboard filters β click any page, channel, referrer, domain, country, device, browser, OS, campaign or goal to filter every card; filters stack, show as removable chips and live in the URL.
- New: Compare to the previous period β dashed comparison lines on the chart, change on every KPI (including bounce rate and time on page) and a change badge on each list row.
- New: Chart notes β automatic markers for published posts, plugin/theme/WordPress updates, activations, theme switches and traffic alerts, plus your own notes.
- New: Content screen β content decay (last 28 days vs the 28 before), Search Console queries ranking 4.5β15, on-site search terms with “no results” flags, 404s with the page that linked to them, and form submissions.
- New: Stats inside WordPress β Views column in post lists, editor stats box (views, visitors, time, scroll, channels, sparkline), admin-bar counter and a dashboard widget, each linking to a dashboard filtered to that post.
- New: Automatic form tracking for WPForms, Contact Form 7, Gravity Forms and Fluent Forms. Event goals can now target one value, e.g. form_submit:wpforms:12 for a single form; “Make this a goal” pre-fills the goal form.
- New: Crawlers screen β Allow / Disallow (robots.txt) / Block (403) per crawler, presets, live robots.txt preview and an “ignores robots.txt” check.
- New: A/B experiments β content (shortcode), split-URL and JavaScript experiments against any goal, with conversion rate, uplift, p-value, chance to beat the original and a verdict.
- New: Email reports β weekly or monthly, up to 10 recipients, with changes vs the previous period, goals and decaying content; “send a test now”.
- New: JSON export of the current dashboard view (filters included).
- New: Read-only share links (optionally expiring, revocable) and report access for other roles.
- New: Import history from Koko Analytics, WP Statistics, Independent Analytics, Jetpack Stats or CSV (Google Analytics 4 / generic), with undo.
- New: WordPress Abilities API support (6.9+) β read-only analytics abilities for AI assistants and MCP clients on your own site.
- New: Multisite Network Admin page comparing all sites.
- Redesigned Goals page: date range, conversion KPIs, goal templates, a live “Test a URL” matcher, copyable event snippets, filtering, and goal editing (previously delete-and-recreate only).
- Redesigned Funnels page: step builder with add/remove/reorder, per-funnel cards with step-by-step drop-off and the biggest leak highlighted.
- Consistent header and section tabs across every Trafficle screen; Settings and Visitor Log use the dashboard card style.
- Dashboard goals and funnel cards use the new bar and funnel visuals.
- Admin CSS/JS are versioned by file time so browsers never serve stale assets after an update.
1.6.0
- Renamed from VisitLens to Trafficle. Existing tables and settings (from VisitLens or VisitRadar) are carried over automatically; reactivate the plugin after updating.
- Fix: every page load wrote two pageview rows (load + leave), doubling pageviews, hiding bounces and adding self-loops to User Flow. The leave beacon now updates the original row; existing data is merged by a background migration.
- Fix: with the default “Humans” scope the dashboard showed 0 visits (SQL alias error in scoped totals).
- Fix: with the consent gate off, the tracker still waited for consent and recorded nothing (stringified settings flags).
- Fix: returning-visitor flag was never set; now measured via an opt-in long-lived visitor cookie, with weekly cohorts.
- Fix: URL goals used substring matching (a goal of “/a” matched most URLs) and fired on every refresh. New pattern rules (exact path, wildcard, path segment, full URL); reports count unique converting visits; conversion rate uses all visits.
- Fix: Bing and DuckDuckGo were counted as both Organic Search and AI Search; channel matching is now by domain boundary (box.com is no longer x.com).
- Fix: AI crawlers became “human” when “Count AI crawlers as bots” was off (setting removed β crawlers are always bots).
- Fix: WooCommerce purchases were attributed to whoever completed the order (admin or payment webhook); the visit is now captured at checkout.
- Fix: the rate limit keyed on REMOTE_ADDR throttled entire sites behind a proxy; it now uses the resolved client IP and the object cache when available.
- Fix: Core Web Vitals ignored the selected date range; realtime missed visitors mid-session; popular posts and public stats used local time against GMT data.
- Privacy: full IPs are no longer stored (existing rows truncated); query strings are stripped from stored URLs; visitor self-service shortcode and admin data requests; opt-out cookie; consent revoke API.
- New: server-side crawler logging, deferred reverse-DNS verification, daily rollups with 90-day and 12-month ranges, anomaly alerts, category / content-type reports, Search Console import, click heatmaps.
- Dev: PHPUnit suite, WordPress integration suite, PHPCS (security rules), PHPStan, CI on PHP 8.1β8.4 with SHA-pinned actions (replacing a typo-squatted setup action).
1.5.0
- Conversion funnels: define an ordered sequence of existing goals (minimum two steps) and measure visitors, drop-off, and completion rate.
- New Funnels admin page (create / edit / delete) using the same capability and nonce patterns as Goals.
- Dashboard Conversion Funnel card plus
GET /trafficle/v1/funnel(id, range, scope). - Schema:
funnelsandfunnel_stepstables (DB version 1.4.0). Existing installs are upgraded viadbDelta; reporting reusesconversionsandvisits(no new ingest path).
1.4.0
- Public open-source release prep: added GitHub-ready README, GPL license file, and CI lint workflow.
- Sanitized repository metadata/docs for public release while keeping plugin behavior unchanged.
1.3.3
- Fixed
ip_displaypersistence so new visit-log rows retain the anonymized display IP. - Added safer handling for Cloudflare / trusted-proxy client IP detection.
- Improved dashboard and visitor-log rendering for country/IP display.
- Added multisite activation support and more complete uninstall cleanup.
1.2.1
- Security & privacy hardening pass (independent Claude Opus code review):
- Fixed critical bug: fresh installs recorded zero pageviews because the six Phase-1 columns (scroll_depth, engaged, lcp, cls, inp, ttfb) were missing from the install-time
pageviewsschema. - Rate limiting now keys on REMOTE_ADDR; CF-Connecting-IP / X-Forwarded-For are trusted only from known Cloudflare ranges or a configured trusted-proxy list (throttle-bypass closed).
- Cookieless visitor id now honors IP anonymization and rotates daily (no cross-day tracking).
- CSV export sanitized against spreadsheet formula injection.
- Bot/Human scope filter now applied consistently across all breakdown reports.
- Removed unused stored IP hash (data minimization); added opt-in uninstall data erasure and referrer query-string stripping.
- Fixed timezone handling, comparison-delta scope, views/visitors series double-counting, visit-insert race (UNIQUE KEY + INSERT IGNORE), and live-dashboard query load. Numerous low-severity correctness/UI fixes.
- Fixed critical bug: fresh installs recorded zero pageviews because the six Phase-1 columns (scroll_depth, engaged, lcp, cls, inp, ttfb) were missing from the install-time
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own β no account needed.
Best Trafficle alternatives
All analytics plugins βFAQ
Trafficle: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Trafficle free?
Yes. Trafficle is free to download and use from the official WordPress.org plugin directory.
Is Trafficle safe to use in 2026?
Trafficle is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 4 days ago, and scores 64/100 on our health check.
How many websites use Trafficle?
Trafficle is active on <10 WordPress websites and has been downloaded 126 times since it launched in November 2026. It was downloaded 142 times in the last 30 days.
Does Trafficle work with WordPress 7.1?
Yes. The developer has tested Trafficle up to WordPress 7.1.5, the latest release. It requires WordPress 6.2 or newer.
What PHP version does Trafficle need?
Trafficle requires PHP 8.1 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Trafficle last updated?
The latest version, 1.7.0, was released on November 29, 2026 (4 days ago).
Who makes Trafficle?
Trafficle is developed and maintained by lavluda.
What are the best alternatives to Trafficle?
The most popular alternatives to Trafficle are Site Kit by Google (5M+ installs), MonsterInsights (2M+ installs) and WP Statistics (500K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
