Repository navigation
Insightistic 4.4.1 — GA4 Data Fix + Gradient Gauges
·
68 commits
to main
since this release
Insightistic 4.4.1 — GA4 data fix + animated gradient gauges
🔧 Fixed — Dashboard KPI cards & email digests showed N/A
Root cause: The GA4 Data API returns data differently when date ranges carry names (current/previous): rows come back keyed by a dateRange dimension instead of the totals array the parser expected. Result: overview KPIs (Sessions, Users, Pageviews, Revenue, Transactions, Bounce Rate) rendered as N/A everywhere — dashboard cards AND scheduled email digests — while channel/page tables silently mixed current + previous periods into duplicated rows.
get_overview()now parses both response shapes (rows-by-dateRange and legacy totals), restoring real numbers with true period-over-period changes.get_traffic_channels(),get_top_pages(),get_countries()now filter rows to the current period and map previous-period values correctly (the old code read ametricValues[3]index that never existed, so change % was always wrong).
Verified live: Sessions +40.2% period-over-period renders instead of N/A; duplicated "Organic Search / Direct" rows are gone; email digests now carry real KPIs.
✨ New — Animated red → green score gauges
- All score gauges (PageSpeed Performance / SEO / Accessibility / Best Practices, AI Readiness, and dashboard PSI rings) now render an animated SVG ring that fills through a red → amber → green gradient as the score climbs, with counting numbers, pop-in animation and hover glow.
- Accessibility: animations respect
prefers-reduced-motion.
🎨 New — Addons page polish
- Addon cards get a gradient border glow on hover and a green enabled-state tint; toggles use a green→cyan gradient when on.
🏠 Housekeeping
- Version bump 4.4.0 → 4.4.1 (busts asset caches).
Full Changelog: insightistic-4.4.0...insightistic-4.4.1