Stats4U
Add a free visitor counter to WordPress with a block, shortcode, or automatic placement. Works with supported consent tools.
Escolha sólida
Stats4U is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 5 days ago, and scores 64/100 on our health check.
- Desenvolvido ativamente — última atualização 5 dias atrás
- Testado com as últimas WordPress (7.1)
- Base de usuários pequenas (<10 instalações ativas)
- Muito poucos comentários até agora
Como ele se acumula?
Lado a lado em instalações, atualizações, avaliações e suporteDownloads diários
Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.
Rankings
Where Stats4U stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| consentimento | >100 |
| Counter | >100 |
| Hit Counter | >100 |
| statistics | >100 |
| visitor counter | >100 |
About Stats4U
From the official readme · v1.9.0Descrição
Add a free visitor counter to your WordPress site with the Stats4U block,
the [stats4u] shortcode, or automatic placement below your footer. The
plugin loads the official Stats4U script with the design and settings you
choose. See the Stats4U WordPress setup guide.
- Paste what you copied. Paste the code you got on stats4u.net – HTML,
BBCode, Markdown, the script code or just the image address – or only the
counter number. Design, colors, size and every other setting you chose there
come along. No counter yet? One button takes you to the free creator on
stats4u.net, and a button at its end brings the code back. - Placed right, with any theme. Below your theme’s footer (the default),
inside it, at the end of the page, below posts and pages, or fixed in a
corner – on all pages, only on the front page or only on single posts and
pages. Or place it yourself with the block “Stats4U counter” or the
shortcode[stats4u]. - Consent built in. Choose your consent tool and the counter loads only
after the visitor agreed. Supported: Axeptio, Borlabs Cookie 3, CCM19,
Civic Cookie Control, Complianz, consented.eu, consentmanager, Cookie
Compliance (Hu-manity.co), Cookie Information, Cookie-Script, CookieAdmin,
Cookiebot, CookieConsent 3, CookieFirst, CookieHub, CookieYes (also legacy
mode), Didomi, GDPR Cookie Compliance (Moove), iubenda, Klaro!, OneTrust /
CookiePro, Osano, Real Cookie Banner, Termly, Usercentrics and the WP
Consent API – or any tool that blocks scripts, with your own attributes. - Statistics worth reading. Every count carries the page and where the
visitor came from; on top come time on page, scroll depth and who is online
right now. You read it all on stats4u.net. - Light. The script is 12.6 kB over the wire (Brotli, measured on
2026-09-26) and cached for an hour; each page view adds the counter image
(about half a kilobyte) and one tiny settings request. - No cookie. The script sets none and stores nothing on the device.
- No account. Your counter number is all you need.
- Size, language, dark mode, what to count. Sharp at any size for the
modern designs; the words in the counter in the language of your choice or
of each page; light, dark or following the device; every page view or
unique visitors.
A ready-made paragraph for your privacy policy is at
https://www.stats4u.net/privacy-embed – tailored to your counter number, in
19 languages.
The words in the counter come in 19 languages – the same as on stats4u.net.
The settings page is written in English and ready for translation on
translate.wordpress.org; WordPress installs the translation for your language
by itself once it is there.
Serviços externos
This plugin loads the script of Stats4U (https://www.stats4u.net/), the
visitor counter service it is made for. Without it, the plugin does nothing.
Optional WooCommerce reporting is off by default. It is switched on in two
places: in the Stats4U owner settings, where you create a shop secret, and under
Settings > Stats4U shop, where you enter the counter number and that secret.
Only then does your WordPress server itself send data to Stats4U: a POST over
HTTPS to https://www.stats4u.net/index.php?action=insights_sale&s4uid=<counter number>,
signed with your shop secret. It contains the paid and the refunded amount in
minor currency units, the currency, the time of payment and a keyed
(pseudonymous) order reference – an HMAC of your site address and the order ID.
No customer fields and no product details are sent. A report is sent:
- when WooCommerce marks an order as paid (
woocommerce_payment_complete,
usually during the customer’s checkout or the payment provider’s
confirmation), - when the status of an order changes to processing or completed – also when
you change it in the admin area, - when an order is refunded,
- when a failed report is retried through WP-Cron (up to eight times, from
2 minutes to 6 hours apart; WP-Cron runs during any request to your site), - when you click “Retry failed reports” on the Stats4U shop page.
Only orders paid within the last 400 days are sent. Switching reporting on does
not send earlier orders in bulk; an order paid before that is sent only if one
of the events above happens to it later. Duplicate reports are safe. Stats4U
accepts EUR, PLN, USD, GBP, CHF, CZK, SEK, HUF and RON; an order in another
currency, or with an amount that cannot be read, is not sent and is listed on
the Stats4U shop page instead. Failed reports show a notice for administrators
on the Dashboard, the plugin list, the Stats4U settings page and the order
screens; it can be hidden and comes back only when another report fails.
Deactivating the plugin removes pending retries.
Contact and download categories and successful form submits are counted by the
Stats4U script (s4u.js) in the visitor’s browser, not by the plugin; the plugin
has no code for them. They are switched on in your counter’s owner settings on
stats4u.net. For Contact Form 7 the script waits for its wpcf7mailsent event;
other forms must call s4u.formSuccess() after successful server processing.
A submit alone never counts as a successful form. No form values or contact
addresses are sent.
What is sent and when:
- On every page view of your site that shows the counter, the visitor’s
browser loadshttps://www.stats4u.net/s4u.js(cached for up to an hour).
The script then:- loads the counter image from
https://www.stats4u.net/index.php
(action=pic) with the counter number, the design settings, the address
of the page, the address the visitor came from (referrer), the language
of the page and a random number against caching. Stats4U counts the
visit from this request. - asks once per page for the counter’s own settings (
action=cfg: does it
refresh itself, count clicks, have a public statistics page) – with the
counter number only. - when the visitor leaves the page or switches away from it, sends how
many seconds the page was visible, how far down it was scrolled (in
percent), the page address and – for a page that was loaded normally –
its load time (action=puls). Stats4U sorts these into ranges and adds
them up per day. - while the page is visible, sends the counter number once a minute, at
most 120 times (action=ping), for the “online now” figure. This counts
nothing. - sends an event (
action=event) when a visitor clicks an element you
marked withdata-s4u-event– or, only if you switched this on for your
counter on stats4u.net, any link. The event name is the link’s target,
shortened to its host or path. - only if you switched these categories on for your counter on
stats4u.net: an event (action=event) when a visitor clicks a contact or
download link, or after a form was sent successfully (see above). Form
values and contact addresses are not sent. - only if the code you pasted contains
data-screen="1"(a choice in the
creator on stats4u.net): the screen size, the window size and the pixel
ratio, sent together with the time on page.
Like any request to another server, these carry the visitor’s IP address
and the browser’s user agent. No cookie is set and nothing is stored on the
visitor’s device. If you chose a consent tool, none of this happens before
the visitor agreed.
- loads the counter image from
- On the plugin’s settings page and in the block editor, your own browser
loads a preview image of the counter, marked “display only” (rl=1) so that
it is not counted. - If you click “Create a free counter on stats4u.net”, your browser opens
stats4u.net with the address of this settings page as a parameter
(wpback), so that a button at the end of the creator can bring the code
back. That address is only used for that button. - If you click “Request a new counter number”, your browser asks
https://www.stats4u.net/index.php (action=wpneu) for a free counter
number, sending only the language of your admin area. Nothing is created
there until the counter is first seen on your site. - If you send feedback from the settings page, your browser sends your
message tohttps://www.stats4u.net/index.php(action=wpfeedback),
together with the plugin version and the language of your admin area – plus
your email address if you enter one, and your site address and counter
number only if you tick the box for them. The message is stored so that it
can be answered, and stats4u.net forwards it, with the details you entered,
to its operator through Telegram (terms: https://telegram.org/tos, privacy:
https://telegram.org/privacy). Neither the plugin nor your browser contacts
Telegram. Nothing is sent before you click “Send feedback”. - Your WordPress server contacts stats4u.net only with WooCommerce reporting
switched on, as described above (paid, completed or refunded orders, WP-Cron
retries, “Retry failed reports”). Without it, every request listed here comes
from a browser.
The Stats4U script links the counter to its statistics page,
https://www.stats4u.net/live/ – as on every site that uses
the code from stats4u.net. This link comes from the service, not from the
plugin. A counter that is set to “not public” on stats4u.net links to the
Stats4U home page, https://www.stats4u.net, instead.
The service is provided by LW IT Solutions Company Lukas Wójcik, Łódź, Poland:
- Terms of use: https://www.stats4u.net/terms
- Privacy policy: https://www.stats4u.net/privacy
- Paragraph for your own privacy policy: https://www.stats4u.net/privacy-embed
Instalação
- Instale e ative o plugin.
- Open Settings -> Stats4U and choose the wizard – or the custom
configuration, if you prefer all settings at once. - Paste the code you got on stats4u.net, click “Create a free counter on
stats4u.net” (its last step brings the code back), or request a new
counter number right there. - Save. The counter appears below your theme’s footer; change the place, the
look and the consent tool any time.
Log de Changes
Live previews for placement and consent, unsaved-changes markers, retry timeline and an example report on the shop page. No change to what is sent. Your settings are kept.
1.9.0
- Placement: a live preview of the page in which the counter glides to the
chosen place and alignment, with the kinds of pages it appears on. - Consent: a diagram of what happens on a visit – with a consent tool, what
happens on accept and on decline, and a warning when a required ID is missing. - Custom configuration: a dot in the menu for every section with unsaved
changes, “Discard changes” (asks first) and a check mark after saving. - Shop page: the automatic retries of each failed report as a row of dots
with the time of the next attempt. - Shop page: an example report, line by line, explaining every field, and what
never appears in a report. - Select fields no longer put their arrow right next to the text.
- Readme: a shorter summary, a link to the Stats4U WordPress setup guide and
clearer screenshot captions.
1.8.0
- Shop page rebuilt as cards: a status badge, tiles for reporting, shop secret,
failed reports and orders not sent, a switch for reporting and a diagram of
exactly what a report contains (and what it never contains). - Failed and not-sent orders are listed as tables with links to the orders;
clearing the list asks for confirmation in a dialog of the plugin. - Settings page: an overview of where the counter is shown, when it loads and
what it counts; a dot in the menu when the consent settings need attention. - Copy buttons for the shortcode and the PHP template line, a loading
indicator for “Request a new counter number” (which asks before replacing an
existing number) and a character counter for feedback. - If the preview image cannot be loaded, the settings page and the block show
a short note instead of a broken image; the block without a counter shows a
placeholder with a link to the settings. - No change to what is sent, when or where.
1.7.2
- Readme and settings texts describe exactly what shop reporting sends, when
and to which address, and which events come from the Stats4U script rather
than from the plugin. Shop input is sanitized where it is read. - The notice about failed shop reports appears only on the Dashboard, the
plugin list, the Stats4U settings page and the order screens, and can be
hidden. Orders in an unsupported currency are listed on the shop page
instead of being treated as failed reports. - Order meta keys use the prefix
_stats4u_; values stored by 1.7.0 and 1.7.1
are kept and moved. Uninstalling also removes this order meta, deactivating
removes pending retries. - The settings page script is a separate, readable file (admin.js); the large
banner on the settings page is replaced by one line.
1.7.1
- Tested with WordPress 7.2.
- The Stats4U counter block uses block API version 3, so the post editor
keeps running in its iframe (no deprecation notice in the browser console).
1.7.0
- Optional WooCommerce reporting (off by default, Settings > Stats4U shop):
confirmed payments and refunds are sent to Stats4U with amount, currency
and a keyed order reference, signed with your shop secret. No customer
fields or product details. Failed reports retry up to eight times. - Uninstalling also removes the shop settings and pending retries.
1.6.0
- Every value is escaped right where it is printed. The counter below or
inside your theme’s footer is now put in place by an output buffer
callback; the plugin no longer prints the page itself. - Error messages about a pasted code are escaped.
- The settings page remembers “wizard” or “custom configuration” only when
you choose it on the page itself. - Translations now come from translate.wordpress.org instead of files bundled
with the plugin.
Para desenvolvedores
Este é o seu plugin? Mostre os números.
Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.
Best Stats4U alternatives
All consent plugins →FAQ
Stats4U: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: WordPress.org
Is Stats4U free?
Yes. Stats4U is free to download and use from the official WordPress.org plugin directory.
Is Stats4U safe to use in 2026?
Stats4U is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 5 days ago, and scores 64/100 on our health check.
How many websites use Stats4U?
Stats4U is active on <10 WordPress websites and has been downloaded 468 times since it launched in September 2026. It was downloaded 307 times in the last 30 days.
Does Stats4U work with WordPress 7.1?
Yes. The developer has tested Stats4U up to WordPress 7.2, the latest release. It requires WordPress 5.8 or newer.
What PHP version does Stats4U need?
Stats4U requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Stats4U last updated?
The latest version, 1.9.0, was released on November 27, 2026 (5 days ago).
Who makes Stats4U?
Stats4U is developed and maintained by lwitsolutions.
What are the best alternatives to Stats4U?
The most popular alternatives to Stats4U are CookieAdmin (400K+ installs), WP Consent API (300K+ installs) and TermsFeed AutoTerms: Privac… (70K+ installs).
Alimentado por PageForge
Um modelo e uma planilha. Uma página real para cada pesquisa.
PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.
- CSV e XLSX, mais Google Sheets em Profissional e Empresarial
- Seu próprio título, URL, SEO campos e esquema para cada página
- Funciona com o editor de blocos, Elementor, Divi e Avada
- Gratuito em WordPress.org, sem cartão de crédito




