WooCommerce WooCommerce

DataFirefly Live Counters

Animated counters that survive full-page caching

Display your store stats, social followers and homegrown KPIs as animated counters on the front. Architected to stay accurate even when your site is served from a full-page cache.

At a glance
  • WooCommerce counters (customers, orders, items, countries, years…)
  • Social: Facebook & Instagram via API, others as manual entry
  • Custom KPI counters with icon, prefix, suffix and goal
  • Automatic goal bars and trend indicator (▲/▼ %)
  • Cache-immune: structure is cacheable, numbers stream from REST
WooCommerce HPOS WP 6.7+ Polylang/WPML EAA-ready
  • 30-day refund
  • 12 months updates
  • 24h support
www.datafirefly.com/en/
DataFirefly Live Counters — WordPress plugin
v1.1.1 · updated 2026-05-28
What it does

The short version.

01

Numbers never freeze

The grid (icons + labels) is rendered server-side and cacheable. The numbers are empty at render time and filled by a non-cached REST route: LiteSpeed and WP Rocket can no longer freeze the value.

02

Time windows per counter

For each store counter: all-time, this year, this month, or last 30 days. Per-counter choice, SQL filtered on GMT columns, HPOS-aware.

03

Goals and trend

Set a goal: a progress bar animates with the number. A ▲ or ▼ X % chip appears automatically, computed on a 7-day rolling window by default.

04

Built for multilingual sites

Ships with FR/EN/ES/DE/IT ready to go. Number formatting localized client-side (Intl.NumberFormat), labels Polylang/WPML-aware.

The long version

Everything you'd want to know before you install.

A detailed look at how DataFirefly Live Counters works, why we built it the way we did, and the thinking behind the features above.

§ 01

The problem this plugin solves

When your site sits behind a full-page cache (LiteSpeed, WP Rocket, NGINX micro-cache), every counter rendered in PHP is frozen at the value captured when the page was cached. Visitors see the same customer count or follower number for hours. DataFirefly Live Counters fixes this by separating what should be cached (structure, icons, labels) from what shouldn't (the numbers).

§ 02

How it's built

The shortcode, block and widget render an empty grid server-side — fully cacheable. On the fly, a vanilla script calls a dedicated REST endpoint that returns values from a transient cache, itself pre-warmed by Action Scheduler. Cache miss on the visitor side? The last good value is served instantly and a refresh is queued in the background (stale-while-revalidate). No heavy SQL query ever runs during a visit.

§ 03

Counters available

Store side: customers served, orders processed, items sold, products shipped, products in catalog, customer reviews, countries shipped to, years in business. Social side: Facebook and Instagram pulled via Meta Graph API v19, TikTok, X, LinkedIn and YouTube as manual entry. KPI side: fully custom counters with icon, prefix, suffix, goal and free value — perfect for “500 partners,” “12,000 hours of support” or “98% satisfaction.”

§ 04

Who it's for

WooCommerce stores that want stronger social proof on the homepage, on product pages or in the footer. WordPress sites without WooCommerce: social and KPI counters work fully. Agencies that prefer extending via PHP filters over duplicating another plugin.