Mignuti Consent: help & documentation
Opt-in consent banner: no third-party request before consent.
Installing in WordPress #
Requirements: WordPress 6.4 or newer, PHP 8.1 or newer.
- Upload the folder
mignuti-consentto/wp-content/plugins/. - Activate the plugin under "Plugins".
- Adjust texts, colours and categories under Settings → Mignuti Consent.
- Run the site scan in the Scan tab and take over the services it finds.
- Add the cookie table to your privacy policy (see Cookie table).
By default the plugin replaces Gravatar profile pictures with a local image and removes the WordPress emoji script, which loads images from WordPress.org. Both can be switched off.
Installing in TYPO3 #
Requirements: TYPO3 11.5 to 14.3, PHP 8.1 or newer.
With Composer:
composer require mignuti/typo3-consentvendor/bin/typo3 extension:setup(or only this extension's tables:vendor/bin/typo3 mignuti-consent:setup)
Without Composer: Admin Tools → Extensions → "Upload Extension" with the ZIP file.
- TYPO3 11.5: works with the default setting.
- TYPO3 12.4 and 13.4: first switch off "Install extensions automatically after download from TER or file upload", then activate the extension and run "Analyze Database Structure".
Then either:
- Site set (TYPO3 13.4 and 14): Site Management → Sites → edit site → "Sets for this Site" → add "Mignuti Consent (cookie banner)". Settings under Site Management → Settings, category "Mignuti Consent".
- or static template (TYPO3 11 and 12, or 13 with a TypoScript record on the root page): include "Mignuti Consent (cookie banner)". Settings in the Constant Editor, category "Mignuti Consent".
If your PAGE object is not called page, copy page.headerData.1704 and page.footerData.1704 from Configuration/TypoScript/setup.typoscript to your object.
Editors only see the backend module when it is granted in their backend group.
Installing in Shopware 6 #
Requirements: Shopware 6.5, 6.6 or 6.7, PHP 8.1 or newer.
- Upload the ZIP file under Extensions → My extensions → "Upload extension", install and activate it.
- Configure per sales channel: categories, colour, layout and, if needed, the mapping of single cookies (line
cookie:category). - Texts under Settings → Snippets, prefix
mignutiConsent.(German and English included). - The banner links privacy policy and imprint automatically from Settings → Basic information. You can enter your own URLs instead.
- Under Settings → Extensions → Mignuti Consent → "Site scan & import", check and take over the services.
The plugin replaces the Shopware cookie bar but does not switch off its cookie consent. After every decision it sets or removes the Shopware cookies just like the built-in bar. Other extensions that ask for them keep working.
If the shop cannot reach its own public address (Docker, proxy), set for example MIGNUTI_CONSENT_SCAN_CONNECT_TO=127.0.0.1:80 in .env.
Installing in JTL-Shop 5 #
Requirements: JTL-Shop 5.8 with PHP 8.3. Older versions are not supported.
- Upload and install the ZIP file in the plugin manager.
- Keep the JTL consent manager switched on (Settings → Privacy). Otherwise many plugins load their services without consent. The "Proof" tab warns when it is off.
- Plugin → Settings: categories, colour, layout, banner text. All other texts in the Texts tab. The plugin maps new entries of the JTL consent manager itself; override with a line
id:category. - Tab "Site scan & import": start the scan, take over the services found, then put
[mignuti_consent_table]into your privacy policy. - The banner links privacy policy and imprint automatically (JTL special pages).
- In the first days, look at "Unclassified cookies" in the Proof tab and assign them.
If the shop cannot reach its own URL (Docker, proxy), set MIGNUTI_CONSENT_SCAN_CONNECT_TO as an environment variable or constant in includes/config.JTL-Shop.ini.php, for example to 127.0.0.1:80.
Installing on any website (standalone) #
The standalone package runs on Contao, OXID, Gambio, Kirby, Craft CMS, Statamic, Webflow, static HTML and more. Plain web space is enough for the banner. Only the optional consent log needs PHP 8.1+.
- Upload the folder
mignuti-consentto your web space, for example to/mignuti-consent/. - Add to the
<head>of the shared layout, as early as possible and before Google Tag Manager, gtag.js or UET:consent-mode.min.js(synchronous), the JSON block#mignuti-consent-configandmignuti-consent.min.jswithdefer. The easiest way is to create the code withgenerator.htmlfrom the package. - Mark everything that may only load with consent: scripts with
type="text/plain"anddata-mignuti-consent="statistics", iframes withdata-mignuti-srcinstead ofsrc. - Add a link for withdrawal, for example in the footer:
<a href="#consent-settings">Privacy settings</a>.
Important: Only data-mignuti-src reliably prevents the request. iframes with a normal src are replaced too, but the browser has usually requested them already.
System notes:
- Contao 5: folder to
public/mignuti-consent/, code under page layout → "Additional<head>tags". - OXID 7 (Twig): folder to
source/mignuti-consent/, code right after<head>inlayout/base.html.twigof a child theme. Wrap the JSON block in{% verbatim %}…{% endverbatim %}. - Gambio, OXID 6 (Smarty): wrap the JSON block in
{literal}…{/literal}. - Kirby, Craft CMS, Statamic, Hugo, Eleventy: in the main layout inside
<head>.
Consent log (optional): copy server/config.sample.php to server/config.php, set site, secret and admin_password_hash. Block the folder server/data/ from the web (Apache: .htaccess with a suitable AllowOverride, nginx: location ^~ /mignuti-consent/server/data/ { deny all; }). Test: …/server/data/consent.sqlite must answer 403 or 404. Then set endpoint in the configuration.
Settings: categories, texts, links #
Categories: necessary is always active. Depending on the platform there are preferences, statistics and marketing (TYPO3, Shopware, JTL, standalone) or statistics, marketing and external media (WordPress). Every optional category can be switched off. A category that is switched off always counts as rejected.
Texts: every visible text can be changed, in German and English. Empty or unchanged fields follow the site language.
Links: privacy policy and imprint are linked in the banner, the dialog and the placeholders. On Shopware no banner appears on these two pages, so visitors can read them first.
Lifetime of the consent cookie: 365 days by default (TYPO3 lifetimeDays, standalone days, 1–730 each), 180 days in WordPress.
TYPO3: settings under plugin.tx_mignuticonsent.* or in the site settings. Order: settings.yaml → constants → defaults. Flush the caches after editing settings.yaml by hand.
First layer: by default "Reject" stands equal next to "Accept". TYPO3 lets you change this (rejectOnFirstLayer). Only do so on the explicit instruction of the operator, because rejecting should be as easy as accepting.
Blocking content and placeholders #
Automatic: iframes of YouTube, Vimeo and Google Maps are replaced by a 2-click placeholder. "Load video" loads it only this once, "Always load" gives consent for the category. The placeholder names the provider and links to the content on the provider's site ("Watch on YouTube"). iframes inserted later by scripts get a placeholder too.
WordPress additionally: pasted YouTube and Vimeo links, optionally X and Instagram posts including their scripts, experimentally Google Fonts, Gravatar and known third-party scripts in the content.
Own markup (TYPO3, standalone, also usable in shops):
- Scripts:
<script type="text/plain" data-mignuti-consent="statistics">…</script> - iframes:
<iframe data-mignuti-src="https://www.youtube-nocookie.com/embed/…" data-mignuti-consent="marketing" title="…"></iframe> - Show or hide content: classes
mig-consent-optin-marketingandmig-consent-optout-marketing - Several categories:
data-mignuti-consent="statistics, marketing"(all must be granted)
Released scripts run in document order. If consent is withdrawn for a category whose scripts already ran, the page reloads.
Compatibility mode: templates written for widespread banner markup (data-cookieconsent, data-cookieblock-src, classes cookieconsent-optin-…) keep working. Only marked elements are blocked.
Services, cookies and the "Details" tab #
The dialog has three tabs: Consent, Details and About cookies. "Details" lists the services per category with provider, purpose, privacy link, third country and their cookies and storage items (name, type, duration, purpose).
- Catalog: more than 120 services, for example Google Tag Manager, Google Analytics 4, Google Ads, Google Maps, YouTube, Vimeo, Meta Pixel, LinkedIn Insight Tag, HubSpot, Matomo, Microsoft Clarity, Hotjar. The data comes from the providers' public documentation. Where a provider states no duration, it says "per provider" with a link.
- Override the category: in TYPO3 and standalone with
key:category, for examplegtm:marketing. In WordPress, Shopware and JTL by selection in the backend. - Own services: in the backend (WordPress), as JSON or YAML in
customServices(TYPO3, standalone) or "Own services" (Shopware). - The details are only loaded when the dialog opens. They do not slow down the page load.
Check the list against your own tag setup. A tag manager container can load further services.
Site scan #
The site scan shows which services your pages really load.
- It fetches up to 40 pages of your own site (start page, menus, newest pages; in shops also categories and products) and detects catalog services by their hosts and typical code.
- Other third-party hosts are listed for you to check.
- Take over the services found with their category in one click. Result also as CSV.
- Only your own host is requested, without redirects to other domains. The requests carry a signed header so the blocker leaves the HTML untouched. Nothing is sent to Mignuti or third parties.
Where: WordPress: Settings → Mignuti Consent → Scan. TYPO3: backend module → Site scan or vendor/bin/typo3 mignuti-consent:scan. Shopware: "Site scan & import" or bin/console mignuti-consent:scan. JTL: tab "Site scan & import". Standalone: admin page or node mignuti-consent/cli/scan.mjs https://www.example.com.
TYPO3 with a mail report: scheduler task "Execute console commands" with mignuti-consent:scan and the option mail, for example monthly.
The scan sees the HTML. Services that a tag manager loads later have to be added by hand.
Switching from another consent tool #
The import takes over services, cookies and categories from widespread consent solutions. The available sources depend on the platform and are shown in the import area of the backend.
- Known services become catalog services, everything else becomes an "own service" with cookie names, duration and purpose.
- Optionally the import takes over banner title, text and accent colour.
- You see a preview with a selection first, then it is written.
- The other tool's data is never changed or deleted. Remove it only after you have checked the result.
With the compatibility mode (see Blocking content) existing banner markup in your templates keeps working.
Consent log #
Every decision (accept, reject, save selection, API) is stored as one row.
Stored: time, random consent ID (also in the cookie and visible to the visitor in the dialog), settings version, chosen categories, action, language, page path without query string. In Shopware also the sales channel.
Not stored: IP address, user agent, referrer, user ID. For the rate limit an HMAC of IP and hour is kept as a counter for at most one hour. In WordPress you can optionally store IP and user agent as a keyed hash; this is off by default.
Hash chain: every row stores the SHA-256 hash of its predecessor. "Verify chain" shows whether rows were changed, inserted or deleted later. This is tamper detection, not a cryptographic proof. Export the CSV regularly to a separate archive.
Retention: 3 years by default (TYPO3 logRetentionDays = 1095, Shopware, JTL), 365 days in WordPress. Rows are deleted automatically afterwards.
Access requests: visitors see their consent ID in the dialog. In the backend you search for this ID and export the entries (WordPress as JSON, otherwise CSV). TYPO3: vendor/bin/typo3 mignuti-consent:show <consent-id>.
Withdrawal and asking again #
Withdrawal: after the first decision a "Privacy" button appears at the bottom left. It opens the dialog. Any link to #consent-settings opens the dialog too, in TYPO3 also elements with data-mignuti-consent-open or the class mig-consent-open. WordPress has the shortcode [mignuti_consent_settings] and a block. If you have a link in the footer, you can switch the floating button off.
Ask everyone again: after adding services or changing texts, raise the settings version (TYPO3 configVersion, standalone version). Every visitor then sees the banner again. In TYPO3 the button "Ask all visitors again" on the overview tab does this.
Google Consent Mode v2 and Microsoft UET #
You only need Google Consent Mode v2 with Google Analytics, Google Ads or Google Tag Manager.
consent defaultwith everything "denied" (security_storage"granted") comes before every other script in<head>.- Returning visitors get the
updatein the same snippet, before GTM. - Every decision is followed by an
update.
Mapping: statistics → analytics_storage. Marketing → ad_storage, ad_user_data, ad_personalization. Preferences → functionality_storage, personalization_storage.
In WordPress the option is off by default. The default is read from the cookie in the browser, so a page cache never delivers someone else's consent.
Microsoft UET Consent Mode (optional): ad_storage starts as "denied" and then follows the marketing choice.
Content Security Policy #
Mignuti Consent only loads files from your own server.
- TYPO3 12.3+: the extension adds the hash of the Consent Mode snippet to
script-srcitself. Tested with an enforced frontend CSP in 13.4 and 14.3. - Shopware and JTL:
script-src 'self' 'sha256-3XIeMbN9SwrP7RA4tr/O8te9DzDKMpndmrF5Jcg+uVM='for the Consent Mode snippet,style-src 'unsafe-inline'for the critical CSS (Shopware and NOVA need it anyway),connect-src 'self'. - Standalone:
script-src 'self'andstyle-src 'self'are enough. No inline scripts needed. - All:
frame-srcmust allow the providers you release, for examplehttps://www.youtube-nocookie.com https://player.vimeo.com https://www.google.com.
Released third-party inline scripts (GTM, LinkedIn, Meta) need their own entries in your CSP, just as without a consent tool.
For developers: JavaScript API and hooks #
JavaScript (all platforms):
MignutiConsent.has('statistics')– true or falseMignutiConsent.getState()– choice, decision, ID, versionMignutiConsent.open(),.acceptAll(),.denyAll(),.set('marketing', true)- Event
mignuti:consent:changedondocument
WordPress: PHP filter mignuti/consent/has for server-side decisions, mignuti/consent/blockable_hosts and mignuti/consent/blockable_script_embeds to extend the blocker, mignuti/consent/ci for theme colours. Mignuti Video, Social and Maps ask the plugin whether content may load.
JTL: the decision is mirrored into the JTL consent manager and can be queried server-side with $consentManager->hasConsent('<id>').
Shopware: the plugin sets the cookies of Shopware's cookie consent and sends CookieConfiguration_Update.
Text block for the privacy policy #
Mention the consent tool in your privacy policy. The following text is a suggestion, not legal advice. Adjust periods and contact details to your settings and have it checked if needed. Describe the services you actually embed (for example YouTube, Google Maps) in their own sections; the cookie table helps with that.
Consent management with "Mignuti Consent"
This website uses the consent tool Mignuti Consent. It asks for your decision on optional services (for example statistics, marketing, external media), stores it and documents it. Optional content is only loaded after you have consented. The tool runs on our own server. No data is transferred to its maker or to other third parties.
Storing your choice. Your choice is stored in a cookie named mignuti_consent in your browser (choice, version, random consent ID, time; lifetime [365] days). This storage is strictly necessary to respect your decision.
Proof of consent. To meet our accountability obligations (Art. 5(2) and Art. 7(1) GDPR) we log every decision: time, chosen categories, version of the consent texts, type of decision, language, page and the random consent ID. We do not store your IP address or user agent for this. The legal basis is Art. 6(1)(c) GDPR in conjunction with Art. 7(1) GDPR. Entries are deleted automatically after [3 years]. You can see your consent ID in the privacy settings; with it we can tell you which entries exist.
Withdrawal. You can withdraw or change your consent at any time with effect for the future, using the "Privacy" button or the "Privacy settings" link. Processing carried out before the withdrawal remains lawful.
*Only if the report of unclassified cookies is on:* after your decision your browser checks at most once a day whether cookies are set that we have not listed and transmits only their names. Values, IP address or your consent ID are not stored. The date of the last check is kept in the localStorage item mignuti_consent_scan.
Platform notes: WordPress: cookie lifetime 180 days, log 365 days. If you switch on storing IP address and user agent as a hash there, adapt the proof paragraph. Shopware and JTL additionally set the necessary cookie mignuti_consent_items for content released one by one.
Troubleshooting #
A video still loads before consent: the iframe has a normal src in the HTML and was requested before the script ran. Use data-mignuti-src (standalone, TYPO3) or check whether the content comes through a path the blocker knows.
The site scan finds no pages: some hosts block requests of a site to itself. Behind Basic Auth (staging) pages answer 401. Scan on the live system, allow the server's own IP or set MIGNUTI_CONSENT_SCAN_CONNECT_TO (Shopware, JTL). In WordPress you can also add services by hand in the "Services" tab.
No banner in TYPO3 13: TYPO3 13 does not load set TypoScript while the root page has its own TypoScript record. Include the static template instead.
Changed settings have no effect in TYPO3: after editing settings.yaml by hand, flush the caches (Maintenance → Flush TYPO3 and PHP Cache).
The banner is dark on a light website: the colour scheme is "automatic" and the visitor's operating system uses dark mode. Choose "light" if your website has no dark mode of its own.
JTL: services load without consent: the JTL consent manager is switched off. Switch it on under Settings → Privacy.
Released inline scripts do not run: your CSP blocks them. Add their hashes and hosts to your CSP (see Content Security Policy).
After adding a service the banner does not ask again: raise the settings version (see Withdrawal and asking again).