Case 1 : Create a new Axeptio checkbox
You want to save your registers in accordance with new reglementation but you want to keep your actual checkbox ? Here is how
1. Video presentation
2. Concrete example
If you want to create a new checkbox that was'nt already on your website
II. Script integration
To bind the already existing checkbox to Axeptio you have to add a Javascript function in the footer of your site, that you integrate directly with the SDK. Here is how :
III. Find the identifier of your service
To find the identifier, it is necessary to go to the service you want.
Example : For a marketing checkbox:
Go to marketing consents module
Choose the checkbox you want to parameter
You'll see the screen below
In your project URL, you'll find in blue the data-id of your project, then in red the token of your identifier.
Now all you need to do is replace the "tOken_of_service" with the token in red in the Javascript code and mention the CSS selector that you want to use as an anchor in the part "TODO change to the ID of the target DIV"
Your project ID is linked with the SDK integration for cookies.
Congratulations ! You created and computerized the consent gathering with your Axeptio registers
3. Modify the checkbox to "Required"
In some cases you'll want to make the consent on your checkbox mandatory for your form submission. It's the case for submission of newsletters forms. Here is how :
Dernière mise à jour