🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
nanoconsent icon
Activement maintenu Testé avec WP 7.1 #85 in consent mode

nanoconsent

Cookie consent in 2,631 bytes. Blocks scripts before they load, speaks Google Consent Mode v2, and never contacts a server.

Installations actives<10Nouveau
Téléchargements · 30D409• 0% vs prév. 30j
Évaluation—0 avis
Score de santé64/100Bon
Téléchargements de tous les temps399Depuis novembre 2026
Support résolu—Aucun fil de discussion récent
A besoin deWP 6.2PHP 7.4+
Téléchargements · 7j12▼ -52% week over week
Notre verdict

Choix solide

nanoconsent is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 4 weeks ago, and scores 64/100 on our health check.

  • Développé activement — Dernière mise à jour il y a 4 semaines
  • Testé avec le dernier WordPress (7.1)
  • Petite base d'utilisateurs (<10 installations actives)
  • Très peu de critiques jusqu'à présent

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

3468102Nov 1Nov 15Nov 30
Hier2
Moyenne quotidienne (1 ans)14
Jour de pointe1362 Novembre 2026
12 Derniers mois409

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where nanoconsent stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
Mode consentement >100 2,147 Meilleurs plugins en mode consentement →
Bannière de biscuit >100 1,605 Meilleurs plugins de bannières de cookies →
consentement des cookies >100 1,826 Meilleurs plugins de consentement aux cookies →
GDPR >100 4,203 Meilleurs plugins RGPD →
intimité >100 10,000 Meilleurs plugins de confidentialité →

About nanoconsent

From the official readme · v0.1.3

Description

nanoconsent is a cookie consent banner that is 2,631 bytes gzipped in English — the whole thing, and under 2,750 bytes in every one of its eleven languages. Cookiebot’s stack is 113,994 bytes. The sizes are measured, not claimed, and the measurement script ships with the source.

Ce qu'il fait

  • Blocks known trackers before they load — Google Analytics, Meta Pixel, Hotjar, Clarity, LinkedIn, TikTok and others are marked to wait for consent before the page is sent to the browser. Only scripts it recognises by name; it never guesses, so it cannot break a form, a menu or a cart.
  • Holds YouTube, Vimeo, Google Maps, Facebook, Instagram, TikTok, Spotify and X embeds behind a small notice until marketing cookies are allowed. youtube-nocookie.com is not enough, and this handles it.
  • Sends all six Google Consent Mode v2 signals, denied by default, updated when the visitor decides. Basic mode by default; advanced mode (Google tags load with signals denied, for conversion modelling) is one checkbox.
  • Honours the Global Privacy Control signal — legally binding in twelve US states — records the refusal as proof, and shows “Opt-out signal honored” on the page, as California requires from 1 January 2026.
  • Accept and reject buttons are identical in size and colour. Rejecting is one click, on the first layer.
  • Stores every decision in your own database — time, choice, categories and text version. No IP address, no fingerprint. Export it as CSV; set a retention period or keep it forever.
  • Makes no network requests of its own. Not to us, not to anyone — not even before consent.
  • Accessible: a real dialog with a real heading, focus moves in and back out, Escape rejects, no keyboard trap, readable at 400 % zoom. Zero violations in axe-core against WCAG 2.2 AA on every state of the banner, and walked through with NVDA and Chrome by a person on 7 September 2026 — dialog announced on load, every control reachable and readable, focus returns after the choice.

What you see in the admin

  • A health check that scans your front page and shows every tracker with its status: waits for consent, or loads before it. It also checks that Consent Mode defaults are set before the first Google tag — the silent misconfiguration that makes reports look fine while consent is ignored.
  • Consent decisions per day, accepted-all rate, and what visitors allow per category.
  • A live preview that runs the real banner while you change settings: position, colours, radius. The font is always your theme’s own.
  • Finnish translation included.

What it is not

  • Not a certified Google CMP. Certification is required only for publishers selling ad space through AdSense, Ad Manager or AdMob.
  • Not legal advice. Compliance depends on how you configure it and what your site runs.

Code source

The banner is shipped minified, one file per language, as assets/nanoconsent.<lang>.min.js (en, fi, sv, da, no, de, nl, fr, es, it, pl). Its human-readable source is included as assets/nanoconsent.src.js (MIT) together with the texts in assets/nanoconsent.languages.json; each minified file is built from those two with esbuild and terser, nothing else.

Services externes

This plugin uses no external or third-party services. It makes no network requests of its own, on the front end or in the admin: no fonts, no CDN, no analytics, no licence check and no phoning home. Everything it needs ships inside the plugin folder. The only request the plugin makes is from your own server to your own front page (home_url) when the settings page runs its health check, to verify that the banner is in place and loads before any tracking script; nothing is sent anywhere else.

The banner is embedded in the page itself, so it never fetches a script from anywhere. The consent log is written to your own database. The Google Consent Mode v2 signals are pushed to the dataLayer on the visitor’s own page; the plugin does not contact Google, and any request that does reach Google comes from the Google tag your site already loads — which this plugin blocks until the visitor consents.

Installation

  1. Install and activate.
  2. Open nanoconsent → Overview. The health check shows what runs on your front page.
  3. Open nanoconsent → Settings to choose categories and language. The preview on the right is the real banner.

To gate a script by hand, give it two attributes: <script type="text/plain" data-nc="analytics" src="…">.

Journal de modifications

0.1.3

  • Every global name now uses the full nanoconsent prefix: the admin JavaScript object is nanoconsentAdmin, and the scan and export actions use nanoconsent_scan and nanoconsent_export.
  • CSV export no longer raises a deprecation notice on PHP 8.4 and later (fputcsv escape parameter).

0.1.2

  • WooCommerce order attribution (sbjs_* cookies) now waits for marketing consent. The plugin uses WooCommerce’s own consent switch (the same one its WP Consent API integration uses) instead of blocking the scripts, because order-attribution.js must load after sourcebuster.js. Consent given on the landing page keeps the original traffic source.
  • Config and banner are printed in one script tag. A page optimizer deferred the small config tag and left the banner alone, so the config ran after the banner and overwrote its API.
  • load_plugin_textdomain() is back: core only auto-loads translations from wp-content/languages/plugins/, so a self-installed package stayed in English. The Pro package ships its .mo files; the WordPress.org package does not.
  • Google Tag Manager printed as an inline snippet (gtm.start) is now gated like the gtm.js script tag.
  • Banner heading resets text-transform, letter-spacing and line-height so theme h2 rules do not restyle it. Embed placeholder text no longer overlaps inside containers with line-height 0.
  • Readme: documented the settings-page health check (a request from your server to your own front page).

0.1.1

  • Styles and scripts that are not order-critical now go through the enqueue system. The banner itself is printed with wp_print_inline_script_tag() at the very start of the head, because the Consent Mode defaults have to precede any Google tag.
  • The admin page no longer loads fonts from Google. It uses system fonts.
  • Translation files removed from the package; the directory serves them.
  • load_plugin_textdomain() removed, not needed since WordPress 4.6.
  • The output buffer used for script gating is now closed explicitly on shutdown.
  • Documented that the plugin uses no external services.

0.1.0

  • Première version.

Journal des modifications complet sur WordPress.org →

Captures d'écran

Overview: the health check scans your front page and shows which trackers wait for consent, next to the consent decisions of the last 30 days.
Overview: the health check scans your front page and shows which trackers wait for…
Settings: categories, language and position, with the real banner as a live preview.
Settings: categories, language and position, with the real banner as a live preview.
The banner on a site, here as a card in the corner. A bar across the bottom is the default.
The banner on a site, here as a card in the corner. A bar across the bottom is the…
"Choose" opens the categories. Only necessary cookies are on by default.
"Choose" opens the categories. Only necessary cookies are on by default.

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best nanoconsent alternatives

Tous les plugins en mode consentement →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 Tarteaucitron.io – Bannière de cookies et gestion du consentement du RGPD Tarteaucitron.io – Bannière de cookies et gestion du consentement du RGPD GDPR cookie banner with 50+ themes, automatic service detection, Google Consent Mode v2 and… par Amauri 10K+ ★★★★★★★★★★ 4.5 (13) il y a 4 jours 72
2 Choix de cookies (pour la loi européenne sur les cookies et le RGPD) Choix de cookies (pour la loi européenne sur les cookies et le RGPD) Demandez au cookie le consentement par catégorie et bloquez les scripts, vidéos et cartes de tiers jusqu'à ce que… par overclk 9K+ ★★★★★★★★★★ 4.5 (35) Il y a 2 semaines 87
3 GAINWP Google Intégration analytique pour WP GAINWP Google Intégration analytique pour WP Google Analytics 4 pour WordPress qui suit les résultats : prospects, inscriptions et valeurs d'objectifs… par tomdude 7K+ ★★★★★★★★★★ 4.8 (126) il y a 1 mois 84
4 Balise de site globale WP Balise de site globale WP Installez une balise Google et affichez des rapports utiles Google 4 dans WordPress avec un… par DigitalApps 7K+ ★★★★★★★★★★ 5 (2) Il y a 3 mois 75
5 Conformité au RGPD et consentement aux cookies Conformité au RGPD et consentement aux cookies Bannière de consentement aux cookies et outils du RGPD : cases à cocher de consentement, accès aux données et demandes d'effacement… par calculateur hypothécaire 4K+ ★★★★★★★★★★ 2.7 (10) il y a 1 mois 71
6 Gestionnaire de suivi et de consentement - WP Full Picture Gestionnaire de suivi et de consentement - WP Full Picture Configurez les outils de gestion du consentement et de suivi en quelques minutes au lieu de quelques jours. Intégrations avec… Par Krzysztof Planeta 3K+ ★★★★★★★★★★ 5 (21) il y a 1 semaine 92
7 Tag Pilot gratuit – Google Intégration du Tag Manager pour WooCommerce Tag pilote gratuit Plugin GTM complet pour WooCommerce (mode de consentement V2 et côté serveur). Prêt pour GA4 et FB… par tag concierge 1K+ ★★★★★★★★★★ 5 (8) il y a 5 mois 67
8 Gestionnaire de balises simples Google Analytics Gestionnaire de balises simples Google Analytics Ajoute Google Analytics GA4 et Google Tag Manager par Miguel Fuentes 1K+ ★★★★★★★★★★ Aucun avis il y a 5 mois 55
9 Cookie Dough – GDPR Cookie Consent Banner & Google Consent Mode v2 Cookie Dough GDPR / RGPD cookie banner that truly blocks trackers until consent. CNIL-ready, Google… par ludwig vous 400+ ★★★★★★★★★★ 5 (2) il y a 5 jours 77
10 Bannière du mode consentement Bannière du mode consentement Bannière légère (~ 3 Ko) de consentement/cookies compatible avec le mode de consentement Google (GTM & Google… par tag concierge 400+ ★★★★★★★★★★ 3.3 (4) il y a 12 mois 44

FAQ

nanoconsent: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is nanoconsent free?

Yes. nanoconsent is free to download and use from the official WordPress.org plugin directory.

Is nanoconsent safe to use in 2026?

nanoconsent is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 4 weeks ago, and scores 64/100 on our health check.

How many websites use nanoconsent?

nanoconsent is active on <10 WordPress websites and has been downloaded 399 times since it launched in November 2026. It was downloaded 409 times in the last 30 days.

Does nanoconsent work with WordPress 7.1?

Yes. The developer has tested nanoconsent up to WordPress 7.1.5, the latest release. It requires WordPress 6.2 or newer.

What PHP version does nanoconsent need?

nanoconsent requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was nanoconsent last updated?

The latest version, 0.1.3, was released on November 2, 2026 (4 weeks ago).

Who makes nanoconsent?

nanoconsent is developed and maintained by Sebastian Rantala.

What are the best alternatives to nanoconsent?

The most popular alternatives to nanoconsent are tarteaucitron.io (10K+ installs), Cookie Choices (for EU Cook… (9K+ installs) and GAinWP Google Analytics Int… (7K+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir