Flux Analytics

3 min read

On this page

A privacy-first analytics plugin for WordPress: visitors, pages, sources, a donation funnel, visitor journeys, referral links and a live view. Data stays in your own database, and AI assistants can read it over MCP.

Features

Statistics

Six headline cards: visitors, views, sessions, pages per visitor, average session duration and bounce rate, each compared with the previous period.

Date ranges (today, 7/30/90 days, months, years, custom), a daily chart and a Live panel that refreshes every 5 seconds.

World map and country list. The country comes from the browser’s time zone, never from the IP.

Pages (click one for its own chart), referring sites, channels (search, social, AI assistants, email, ads, campaigns, referral links), device, browser, OS, language, UTM campaigns, 404 pages and CSV export.

Visitor type filter on every screen: everyone, outside visitors only, logged-in users, or a single role.

Donation funnel

Default steps: site entry → donation page → checkout page → started the form → clicked “Place order” → donation completed. The checkout events are sent automatically on classic and block checkout.

Break the funnel down by channel, referring site, referral code, role or country.

Visual funnel editor: up to 5 funnels × 10 steps; each step is a page, an event or the site entry. Drag to reorder, pick pages and events from suggestions.

Journeys

A step-by-step flow from the entry page (2 to 6 steps): how many visits each box has and what share ended there.

Most common paths with their share, change from the previous period and goal rate; filter by start page, end page or goal.

“Group pages” folds sub-pages such as /news/… into one box.

Referral links

Create a named link (?r=ayse) in one click. The visitor gets a 30-day first-party cookie holding only the code, so later pages, later days and the donation are credited to it.

Per link: visitors, sessions, pages per session, average duration, the furthest funnel step reached, and donations (count and amount). Click a row to filter the whole screen to that link.

Events

Tracked automatically: outbound links, file downloads, phone, email and WhatsApp clicks, site search, and paid WooCommerce donations (type and amount, once per order).

Your own events: data-flxan-event=”name” on any element, flxan.track() in JavaScript or flxan_track_event() in PHP.

Around WordPress

Four dashboard widgets: live visitors, visitors, traffic sources and referrals, donation funnel.

A “Views” column in the post and page lists, the page’s view count in the admin bar, and two shortcodes: [flx_analiz_populer] (most read posts) and [flx_analiz_sayac] (view counter).

Imports historical data from Koko Analytics without touching its tables.

Registers its checks in System Check (Flux Speed) and its flxan_view capability in Flux Roles.

Requirements

WordPress 6.4+, PHP 7.4+. WooCommerce is optional (needed only for donation events).

First steps

Open Site Analytics › Settings once. The fast collection endpoint is tested automatically; if it doesn’t work, the plugin falls back to REST on its own.

Visit the site from a browser where you are not logged in. The visit shows up under Site Analytics › Statistics within a few minutes.

Check the funnel steps under Settings › Funnels (fix the donation page path if it isn’t /bagis/).

Using LiteSpeed? No extra setting is needed; after changing settings run Purge All.

Coming from Koko Analytics? Settings › Data › Import Koko Analytics data, then remove Koko.

Updated yesterday