<script>
/* ── Helper commun Newp AI Tools ── */
window.newpCall = async function(payload, onSuccess, onError) {
    /* 1. Vérifier la limite avant d'appeler l'API */
    try {
        const lr = await fetch(newpAI.checkLimit, {
            method: 'POST',
            headers: {'Content-Type':'application/json','X-WP-Nonce':newpAI.nonce},
            body: JSON.stringify({outil: payload.outil || 'inconnu'})
        });
        const ld = await lr.json();
        if (!ld.ok) { onError(ld.error || 'Limite atteinte.'); return; }
    } catch(e) { /* Si check-limit KO, on laisse passer */ }

    /* 2. Appel API */
    try {
        const r = await fetch(newpAI.endpoint, {
            method: 'POST',
            headers: {'Content-Type':'application/json','X-WP-Nonce':newpAI.nonce},
            body: JSON.stringify(payload)
        });
        const data = await r.json();
        if (!r.ok || data.error) { onError(data.error || 'Erreur inconnue (code '+r.status+').'); return; }
        const text = data.content?.map(b=>b.text||'').join('') || '';
        onSuccess(text);
    } catch(e) {
        onError('Erreur réseau — vérifiez votre connexion et réessayez. ('+e.message+')');
    }
};

window.newpSaveLead = async function(payload) {
    try {
        await fetch(newpAI.saveLead, {
            method: 'POST',
            headers: {'Content-Type':'application/json','X-WP-Nonce':newpAI.nonce},
            body: JSON.stringify(payload)
        });
    } catch(e) { /* silencieux */ }
};
</script>
---
title: "Kookies builder"
description: "⚡ Audit gratuit — 30 min Vous voulez voir où vous en êtes vraiment ? On vous montre comment on audite votre visibilité SEO et GEO en 3 minutes. Sans engagement, sans bullshit, avec un plan d'action priorisé à la sortie. Audit SEO gratuit → Audit GEO gratuit → Comment on audite votre visibilité SEO […]"
url: "https://www.newp.fr/kookies-builder/"
author: "Alphonso"
date: "2026-04-14T08:35:59+00:00"
modified: "2026-04-14T08:36:01+00:00"
lang: "fr_FR"
---

# Kookies builder

🍪 Conforme RGPD & CNIL

## Générateur de page cookies *conforme RGPD*

Renseignez les infos de votre site et obtenez votre page cookies personnalisée en quelques secondes.

Informations du site

Nom du site \*

URL du site \*

 

Email RGPD \*

Secteur E-commerceSite vitrine / PMESaaS / TechBlog / MédiaSantéImmobilierAutre 

 

LangueFrançaisAnglaisEspagnol

TonProfessionnel & clairSimple & accessibleTechnique & précis

 

 Cookies utilisés  🛡️ Essentiels (obligatoires)  📊 Google Analytics 4  🎯 Google Ads  📘 Meta Pixel  💼 LinkedIn Insight  💬 Chat en ligne  ▶️ YouTube intégré  🔥 Hotjar / Heatmaps 

 

 ✨ Générer ma page cookies

L'IA génère votre page cookies…
Environ 15–20 secondes

 👁 Aperçu 🖥 Code HTML 

```

```

 📋 Copier le HTML ⬇️ Télécharger .html 🔄 Nouveau site ✓ Copié ! 

var ckHTML=''; function ckGenerate(){ var name=document.getElementById('ck-name').value.trim(); var url=document.getElementById('ck-url').value.trim(); var email=document.getElementById('ck-email').value.trim(); if(!name||!url||!email){ckErr('Veuillez renseigner le nom, l\\'URL et l\\'email RGPD.');return;} ckErrHide(); var secteur=document.getElementById('ck-secteur').value; var langue=document.getElementById('ck-langue').value; var ton=document.getElementById('ck-ton').value; var cookies=\['Cookies essentiels (session, consentement RGPD)'\]; if(document.getElementById('ck-ga').checked) cookies.push('Google Analytics 4 (\_ga,\_gid,\_gat — 2 ans)'); if(document.getElementById('ck-ads').checked) cookies.push('Google Ads — conversion tracking'); if(document.getElementById('ck-meta').checked) cookies.push('Meta Pixel (\_fbp,\_fbc — 3 mois)'); if(document.getElementById('ck-li').checked) cookies.push('LinkedIn Insight Tag (li\_gc — 2 ans)'); if(document.getElementById('ck-chat').checked) cookies.push('Chat en ligne / support'); if(document.getElementById('ck-yt').checked) cookies.push('YouTube (VISITOR\_INFO1\_LIVE, YSC)'); if(document.getElementById('ck-hj').checked) cookies.push('Hotjar (\_hjSessionUser,\_hjSession)'); document.getElementById('ck-btn').disabled=true; document.getElementById('ck-form').style.opacity='.5'; document.getElementById('ck-loader').style.display='flex'; document.getElementById('ck-result').style.display='none'; var today=new Date().toLocaleDateString('fr-FR',{day:'numeric',month:'long',year:'numeric'}); var prompt='Tu es un expert juridique RGPD. Génère une politique des cookies complète, conforme RGPD et CNIL, pour :\\n- Nom : '+name+'\\n- URL : '+url+'\\n- Email DPO : '+email+'\\n- Secteur : '+secteur+'\\n- Cookies : '+cookies.join(' | ')+'\\n- Langue : '+langue+'\\n- Ton : '+ton+'\\n- Date : '+today+'\\n\\nStructure (H1/H2/H3 Markdown, tableaux pour les cookies). Commence directement par le H1.'; newpCall({outil:'cookies',messages:\[{role:'user',content:prompt}\],max\_tokens:2000}, function(md){ document.getElementById('ck-preview').innerHTML=mdHTML(md); ckHTML=buildPage(md,name); document.getElementById('ck-code').textContent=ckHTML; document.getElementById('ck-loader').style.display='none'; document.getElementById('ck-form').style.opacity='1'; document.getElementById('ck-result').style.display='block'; document.getElementById('ck-btn').disabled=false; newpSaveLead({outil:'cookies',nom:name,email:email,entreprise:url,input\_data:{url,secteur,langue,cookies:cookies.join(', ')},contenu:md}); }, function(msg){ document.getElementById('ck-loader').style.display='none'; document.getElementById('ck-form').style.opacity='1'; document.getElementById('ck-btn').disabled=false; ckErr('Erreur : '+msg); } ); } function mdHTML(md){ var s=md.replace(/&/g,'&').replace(//g,'>'); s=s.replace(/^### (.+)$/gm,'### $1

').replace(/^## (.+)$/gm,'## $1

').replace(/^# (.+)$/gm,'# $1

'); s=s.replace(/\\\*\\\*(.+?)\\\*\\\*/g,'**$1**').replace(/\\\[(.+?)\\\]\\((.+?)\\)/g,'[$1]($2)'); var lines=s.split('\\n'),out='',inList=false,trows=\[\],inT=false; for(var i=0;i<lines.length;i++){var l=lines\[i\]; if(l.startsWith('|')){inT=true;trows.push(l);continue;} if(inT){out+=mkTable(trows);trows=\[\];inT=false;} if(/^\[-\*\] /.test(l)){if(!inList){out+='';inList=true;}out+='- '+l.replace(/^\[-\*\] /,'')+'
';} else{if(inList){out+='
';inList=false;}if(/^<h\[123\]/.test(l))out+=l;else if(l.trim())out+=''+l+'

';} } if(inT)out+=mkTable(trows);if(inList)out+='';return out; } function mkTable(rows){if(rows.length<2)return'';var t='|
||

';} function buildPage(md,name){return'\\n\\n\\n\\n\\nPolitique des cookies — '+name+'\\n\\n\\n'+mdHTML(md)+'

\\n';} function ckTab(tab,btn){document.querySelectorAll('#newp-ck .tab').forEach(function(b){b.classList.remove('active');});btn.classList.add('active');document.getElementById('ck-pane-preview').style.display=tab==='preview'?'':'none';document.getElementById('ck-pane-code').style.display=tab==='code'?'':'none';} function ckCopy(){navigator.clipboard.writeText(ckHTML).then(function(){var e=document.getElementById('ck-copied');e.classList.add('show');setTimeout(function(){e.classList.remove('show');},2500);});} function ckDl(){var n=(document.getElementById('ck-name').value.trim().replace(/\\s+/g,'-').toLowerCase()||'cookies');var a=document.createElement('a');a.href=URL.createObjectURL(new Blob(\[ckHTML\],{type:'text/html'}));a.download='cookies-'+n+'.html';a.click();} function ckReset(){document.getElementById('ck-result').style.display='none';document.getElementById('ck-form').style.opacity='1';} function ckErr(m){var e=document.getElementById('ck-err');e.textContent=m;e.style.display='block';} function ckErrHide(){document.getElementById('ck-err').style.display='none';}

---

*Source : [www.newp.fr](https://www.newp.fr/kookies-builder/)*
