window._axcb.push(function(axeptio) {
var host = document.getElementById('consentCheckbox');
axeptio.createConsentCheckbox({
//Name of the service is "processings" for marketing consents or "contracts" for contracts consents
//identifier is the identifier of the checkbox you want to target : marketing consents or contract consents
//We'll see later where to find it
identifier: 'Otken_du_service',
node: document.getElementById('TODO changer par l'ID du div cible'),
// Where you will provide all infos and text on the purpose of your form
checkboxText: "J'accepte de recevoir la newsletter",
checkboxDetailsText: "en savoir plus"
// With this method you can replace the anonymized token with a field from your form
// Enter here the CSS selector of the desired field
// Usually the mail field
token: '................'
host.querySelector('input[type=checkbox]').setAttribute('required', 'required');