BISC8 + WordPress
functions.php snippet or "Insert Headers" plugin — 1-line install.
BISC8 + WordPress: zero plugin code, zero performance hit. Compatible with all themes.
Perché BISC8 per WordPress
Theme-update safe
Snippet goes in child theme functions.php — survives parent theme updates.
Plugin-free option
No bloated cookie banner plugin needed. Just one line via wp_head hook.
WooCommerce compatible
BISC8 blocks GA4 + Meta Pixel automatically pre-consent. Conversion tracking re-enabled after accept.
Setup (4 passi)
1. Open WP admin → Appearance → Theme File Editor
Choose your active child theme. Select functions.php in the file list.
✓ You see existing functions in the file (means it loaded correctly).
2. Paste BISC8 snippet at bottom
Add the snippet before the closing PHP tag (or anywhere — PHP execution order does not matter for hooks).
✓ View page source → <script async src="https://cdn.bisc8.app/v1/boot.js" appears in <head>.
3. Replace example.com
Update data-domain to your actual WP site URL (without https:// or trailing slash).
4. Clear cache + test
Purge WP Rocket / W3 Total Cache / your CDN. Load site incognito.
✓ Banner appears + clicking "Accept" stores cookie bisc8_consent.
Snippet di codice
Sostituisci example.com con il tuo dominio BISC8 registrato.
// functions.php — paste in child theme (or use "Insert Headers and Footers" plugin)
function bisc8_cmp_script() {
echo '<script async src="https://cdn.bisc8.app/v1/boot.js" data-domain="example.com"></script>';
}
add_action('wp_head', 'bisc8_cmp_script', 1);Risoluzione problemi
Conflict with another cookie plugin
Disable any legacy CMP plugin already installed. BISC8 + another CMP would double-prompt visitors and break consent state.
WooCommerce checkout still works after reject?
Yes. Necessary cookies (cart, session, csrf) bypass consent gating. Only analytics/marketing scripts block until granted.
Snippet did not appear in <head>
Most likely: parent theme overrides functions.php. Use the "Insert Headers and Footers" plugin instead and paste the raw <script> tag.
Guide correlate
Pronto al lancio?
Crea un account in 30 secondi, copia lo snippet, banner live in 60s totali.
Inizia gratis con WordPress