Repository navigation
Insightistic 4.6.0
·
36 commits
to main
since this release
Insightistic 4.6.0 — Cloudflare joins the one-key connector sync
One license key, one connect: the daily connector sync now pushes Cloudflare edge analytics alongside GA4, Search Console, and PageSpeed, all pulled with keys that live only in the plugin settings. The license key remains the only Insightistic credential a site ever exchanges — no second Google or Cloudflare connect in the app.
What's new
- Cloudflare edge analytics over the license connector. Sites with a Zone ID + API token in Settings → Cloudflare forward daily edge rows (requests, bandwidth, cache ratio, geo, threats, 4xx/5xx, firewall actions, bot user agents) to the Insightistic app during the daily sync. The dashboard's edge page fills from the same tables the platform's nightly sync uses — one converged row per day, never duplicates, and the Integrations page shows "connected via WordPress plugin".
- Plan-gated datasets degrade gracefully. If the zone's Cloudflare plan does not expose firewall or bot analytics, the push still delivers the daily traffic rows and the app renders its "not available on this plan" states instead of erroring. Bot classification stays platform-side, so the crawler taxonomy (AI crawler / search bot / known SEO crawler) lives in one place.
Security
- Legacy credential auto-migration. Encrypted values still stored in the pre-3.3.0 format are now re-encrypted into the authenticated v1 format (per-record salt + HKDF + encrypt-then-MAC) automatically the first time the plugin reads them after upgrading — no settings re-save needed. The weak legacy decrypt path is reachable for at most one read per credential.
Upgrade notes
- Requires the Insightistic SaaS at release
b66a470or later for the Cloudflare ingestion endpoint (POST /api/connector/v1/sync/cloudflare/daily). Older platforms simply don't receive the new push; everything else keeps working. - No settings changes required. Existing GA4 / Search Console / PageSpeed / Cloudflare keys keep working exactly where they are.
- To activate Cloudflare in the app dashboard: Settings → Cloudflare → paste Zone ID + API token (Zone: Analytics: Read), then run or wait for the daily sync.
Verification
- 7/7 local test suites (including 20 new Cloudflare-sync assertions and lazy-migration regression tests); CI green on PHP 8.0/8.2/8.3 (lint, PHPCS, PHPCompatibility, assets, POT freshness, version contract).
- End-to-end on production: signed-route auth enforced, ingestion → dashboard read path covered by platform feature tests (
ConnectorCloudflareSyncTest).
Full Changelog: insightistic-4.5.2...insightistic-4.6.0