Roadmap
Ten phases, built in order. Phase 1 is a complete product on its own — traffic, heatmaps and section analytics on a privacy-first core — and each later phase adds modules on top of the same tracker and storage. Everything is built. One last check is open: the Keywords view against a live Search Console connection.
Verified against the extension source on 2026-11-04.
Phase 1 · CoreDone
9/9The tracker, the collector and the storage everything else rides on. Privacy and consent are built in here, once, so no module can skip them.
- Extension scaffold — Done
manifest.php, the extension class and a settings screen under Unyson+ → Visitor Insights. Ships inactive by default. - Tables + migrations — Done
Pre-aggregated daily tables keyed by page, day and device, so storage grows with pages × days rather than with traffic. Versioned installer with
migrate(); tables are never dropped on deactivation. - Consent gate — Done
WP Consent API integration (
wp_has_consent, live reaction to consent changes), Global Privacy Control, an opt-out shortcode, and a Require consent everywhere switch. Decided in JavaScript so it works behind page caches. - Core tracker script — Done
Starts in idle time after consent, passive listeners, batches events and sends them with
sendBeacon/fetch(keepalive). Target: core + heatmaps ≤ 8 KB gzipped. - Collector endpoint — Done
A collector that skips the WordPress boot and appends to a per-minute buffer file, with a REST fallback switched on automatically when the direct endpoint is blocked.
- Endpoint protection — Done
No nonces (they break on cached pages). Instead: size and schema checks, an origin check, a rotating HMAC page token, rate limits, per-page daily caps and bot filtering.
- Roll-up + retention — Done
A one-minute job folds buffer files into the daily tables with
INSERT … ON DUPLICATE KEY UPDATE; reports also roll up when opened, so a stalled cron never shows stale data. Batched pruning by the retention setting. - Privacy tools — Done
Suggested privacy-policy text and WordPress personal-data export / erase hooks.
- Builder element IDs on the page — Done
On tracked pages only, sections, columns and elements carry their builder
unique_idasdata-fw-item-id, so every click is attributed to a named builder item.
Phase 1 · Traffic dashboardDone
3/3The everyday numbers, without cookies: enough for many sites to stop needing an outside analytics service.
- Admin screen — Done
Unyson+ → Visitor Insights, with a tab per module and date / device filters.
- Traffic reports — Done
Page views, unique visitors (a daily-rotating salted hash; IPs are never stored), top pages, referrers and UTM campaigns, devices, countries.
- Live view — Done
Visitors on the site in the last 5 minutes and the pages they are on.
Phase 1 · HeatmapsDone
3/3Click, scroll and attention maps per device, drawn over the live page. Clicks are stored relative to their builder element, so the map stays accurate at every screen width.
- Click, scroll + attention capture — Done
Element-relative click positions with page coordinates as a fallback, sticky / fixed elements flagged, maximum scroll depth, visible time per section.
- Heatmap viewer — Done
The live page in a same-origin frame at the chosen device width, with a canvas overlay: clicks, scroll reach, attention and an element ranking.
- Admin-bar fallback — Done
A Show heatmap toggle on the live page, for sites where a security plugin blocks framing.
Phase 1 · Section analyticsDone
3/3The part only a page builder can do: reach, attention and drop-off for every builder section.
- Section reach + attention — Done
How many visitors reach each section and how long it is visible, per device.
- Live Editor overlay — Done
A heat overlay mode in the Live Editor, next to wireframe and box-model.
- Builder badges — Done
Each item in the backend builder shows its share of clicks and its reach.
Phase 2 · Goals & conversionsDone
2/2Count what matters without writing code.
- Track any element as a goal — Done
A Track as goal switch in every element's Advanced tab.
- Automatic goals — Done
Form submissions, newsletter sign-ups, WooCommerce orders and short-link clicks, counted from events the other extensions already fire.
Phase 2 · FunnelsDone
1/1Step-by-step drop-off between pages and goals.
- Funnel builder + report — Done
Define steps (a page visited, an element clicked, a goal reached) and see the drop-off between each.
Phase 2 · Frustration & errorsDone
2/2Find the places where the site lets visitors down.
- Rage, dead and error clicks — Done
Rage: 3 or more clicks within 30 px and under 1 s apart. Dead: nothing on the page changes within 2.5 s. Error: a script error right after the click.
- Script errors + 404s — Done
JavaScript errors and missing pages, grouped and ranked.
Phase 2 · Real-visitor performanceDone
1/1Core Web Vitals from real visitors, per page and template — proof that an optimisation helped.
- LCP, INP and CLS collection + report — Done
Field data by device, with the 75th percentile shown the way search engines judge it.
Phase 3 · Form analyticsDone
1/1Which field makes visitors give up — without recording what they type.
- Field-level drop-off — Done
Starts, completions and the last field touched before abandoning.
Phase 3 · Site search insightsDone
1/1What visitors look for, and what they cannot find.
- Search terms + zero-result searches — Done
Top searches, searches with no results, and the page searched from.
Phase 3 · Section A/B testingDone
1/1Two versions of a section, served by the builder, with the winner decided by goals.
- Section variants + results — Done
An even split, a cache-safe variant choice made in the browser, and a result with its confidence.
Phase 3 · AI summaries & digestDone
2/2The numbers explained in plain words.
- Weekly email digest — Done
Traffic, top movers and new friction points.
- Ask the AI Assistant — Done
Questions such as why is nobody clicking the Pricing button? answered from the site's own data.
Phase 4 · Session recordingDone
2/2Optional replay of individual visits. Always opt-in consent, masked by default, sampled, short retention — never sent off the site.
- Consent-only recorder — Done
A separate script loaded only after consent; every input masked in the browser before anything is sent; checkout, account and login pages excluded.
- Player + controls — Done
Playback in wp-admin behind its own capability, per-session delete, 30-day default retention.
Phase 5 · Reach & polishDone
5/5Smaller pieces that make the numbers easier to use day to day: where visits come from, the headline figures on the dashboard, exports, and less manual cache-clearing.
- Traffic channels — Done
Every visit grouped as Direct, Search, Social, AI assistants, Email, Paid, Campaign or Referral, from its referrer and campaign tags.
- Dashboard widget — Done
The week at a glance on the WordPress dashboard: visits against last week, a seven-day sparkline, top pages and who is on the site now.
- CSV export — Done
Download pages, sources, goals and daily totals for any period.
- Automatic page-cache clearing — Done
When settings or an A/B test change, the common page caches are cleared so visitors get the new page.
- Mouse-movement maps — Done
Where the pointer lingers, as a heatmap mode — desktop only, sampled and binned in the browser, off by default.
Phase 6 · AnalysisDone
5/5Answers to the questions people ask once the data is coming in: compared with what, from which channel, and what changed after we did that.
- Compared with the previous period — Done
Every Overview figure and each page shows its change against the period before.
- Channel performance — Done
Per traffic channel: views, time on page, how many read half the page, goal completions and conversion rate — and a channel filter for the Pages tab.
- Annotations — Done
Mark a date on the chart — a redesign, a campaign, a price change — and see what changed after it.
- Recordings per page — Done
Open the recordings of a page straight from its heatmap and from the Pages tab.
- Alerts — Done
An email when something jumps: script errors, broken links or a sudden drop in traffic, compared with the usual.
Phase 7 · Deeper heatmapsDone
3/3Heatmaps that answer "for whom?" and travel outside the admin.
- Heatmaps by traffic channel — Done
Every heatmap mode filtered to the visits of one channel — what visitors from search click, how far social visitors scroll.
- Heatmap as an image — Done
Download the page with the current map drawn over it as a PNG, to share or put in a report.
- Shop orders and email, verified — Done
Order goals with their value checked on a WooCommerce site, and the weekly email and alerts checked end to end.
Phase 8 · Portability & navigationDone
2/2Move a whole Visitor Insights setup and its history between sites, and find every report from one sidebar.
- Import / Export — Done
One file with the setup (settings, goals, funnels, A/B tests, notes) and optionally the history, for all time or a recent period. Import adds to what is here or replaces it; pages are matched by address, so history follows a site to a new domain or folder. Visitor keys, secrets and recordings never leave the site.
- App menu — Done
The screens use the same sidebar frame as SEO, the CRM and Membership: grouped views instead of a row of thirteen tabs, and a menu of its own for people who may see the reports but not the Unyson+ menu.
Phase 9 · How visitors found youDone
8/8Answer "what did they search for, and where did they come from?" as fully as the search engines allow, and show each visit as a path from the page it entered on to the page or link it left by.
- Search keywords per landing page — Done
The words people searched before they arrived, for each page they landed on. Search engines no longer pass the search terms to the site they send visitors to, so the terms come from where they still exist: Google Search Console (through the connection the SEO extension already makes: queries, clicks, impressions and position per page), the search engines that still send a query in the referrer, campaign terms (utm_term) and the site's own search box, each labelled with where it came from.
- Referring pages, not just sites — Done
The exact page a visitor clicked from (the forum thread, the article, the AI assistant answer) where the browser sends it, grouped under its site, with the landing page each one brought people to.
- Entry and exit pages — Done
Which page each visit started on and which it ended on, with the bounce rate of each entry page.
- Visitor paths and recent activity — Done
A log of recent visits: when, from where (channel, referrer, keyword when known, country), on which device, and the pages in order. No cookies, nothing that says who the visitor is, and kept for a short, set number of days.
- Exit links and downloads — Done
Clicks on links that leave the site and on files (PDF, ZIP, documents), counted per link and per page.
- Returning visitors (with consent) — Done
New against returning visitors. Counting a return needs something remembered on the device, so it is measured only for visitors who gave statistics consent; everyone else is counted as today.
- Regions and cities — Done
Region and city next to country, from the CDN location headers or a location database kept on the site (the free DB-IP city database, downloaded from Settings, or a GeoLite2 file); no lookup service. Shown on the Overview and in each visit. The address is used for the lookup and then discarded, as now.
- Bot report — Done
How much of the traffic was automated and filtered out (search crawlers, AI crawlers, monitors and the rest), so the human share is visible rather than implied.
Phase 10 · From numbers to answersIn progress
8/9Make what Phase 9 collects easy to read and act on: a map, one page with everything about a page, filters and exports for the visit log, and short summaries that say what changed.
- Visitor map — Done
A world map of where visits came from: countries shaded by visits and cities as dots, for any period and channel. Drawn from a map outline shipped with the extension (public-domain data), so nothing is fetched from a map service.
- Everything about one page — Done
One view per page: its traffic and trend, the channels, keywords and referring pages that bring visitors to it, how often it is the entry or exit page, where visitors go next, its exit links and downloads, form and goal results, and links to its heatmap and recordings.
- Visit log filters and export — Done
Filter visitor paths by country or city, keyword, referring site, device, new or returning, and "left by a download / exit link"; search the log by page; download the filtered log as CSV.
- Where visitors go next — Done
For any page, the pages visitors open next and the ones they came from, drawn from the visit log, so dead ends and strong paths through the site show up.
- Search Console opportunities — Done
From the Search Console data: search terms climbing or falling against the period before, and pages shown on the second page of results (positions 8 to 20) that a better title or more content could lift, each linked to the page's SEO settings.
- "What brought them" in the weekly email and alerts — Done
The weekly email gains the top keywords, new referring pages, the cities that grew, and the bot share; an optional alert when a new site starts sending visitors.
- AI Assistant: where traffic came from — Done
Read-only AI Assistant abilities for keywords, referring pages, visitor paths, cities and bots, so questions like "where did this week's visitors come from?" or "which pages do search visitors leave from?" are answered from the site's own data.
- Spreadsheets on Import / Export — Done
Goals, funnels, chart notes and the daily rows behind traffic, sources and goal completions download as CSV and load back unchanged, so a list can be edited in a spreadsheet and history from another tool can be brought in.
- Checked under real conditions — In progress
Verified: consent withdrawal removes the returning-visitor note; a burst of 3,000 page views (about 840 a second) is accepted and folded in under 4 seconds; page tokens last 45 days, so pages a cache keeps for weeks are still counted; the Search Console request, token renewal, large results, empty results and every error were run through the real code against simulated responses. Still to check: the Keywords view against a site with a live Search Console connection.
How this page stays current
Status is not ticked by hand. src/data/visitor-insights-roadmap.json lists every task with a
detect block naming the files (and, where needed, code symbols) that make it real, and
scripts/gen-roadmap.mjs checks them against the extension's source tree:
| Result | Status |
|---|---|
| Every file and symbol found | Done |
| Some found, some missing | In progress |
| None found | Planned |
npm run roadmap:vi # scan and rewrite the JSON
npm run roadmap:vi -- --dry # report only, write nothing
npm run roadmap:vi -- --check # exit 1 if stale
The detect paths double as the extension's agreed file layout, decided before the code is
written. The same mechanism keeps the POS Sync roadmap honest.
Not on the roadmap
Stated plainly, so nobody waits for them:
- Identifying visitors or building personal profiles. Visitor Insights measures how a site is used, not who uses it.
- Advertising, retargeting or ad attribution. No data is shared with ad platforms.
- Looking up a visitor's IP address or company. Addresses are used for the country (and, from Phase 9, the city) and then discarded, so there is nothing to look up afterwards.
- Recovering search terms the search engine withheld. No analytics tool can: the major search engines stopped sending them years ago. Phase 9 shows the terms from the places that still have them, and says which is which.
- Sending data to a hosted service — ours or anyone else's. Self-hosted is the point.
- A second short-link report. Short-link clicks arrive as goals from the Short Links extension rather than being tracked twice.