The new kid on the CMS block also deserves beautiful cookies 🌈
To make things easier for you, we've created an Axeptio Plugin directly accessible in your Bubble.io interface.
Here's how to proceed:
1. Go to your Bubble.io app.
2. Select the Plugin tab from the left menu.
3. Click on "Add Plugin" at the top right.
4. Type "Axeptio" in the search bar.
5. Click on "Install" to add the plugin to your app.
Once this is done, you should see our plugin in the Plugin tab, with various configuration fields:
Here is the list of fields and their uses:
- Project ID (required)**: The ID of your project, a basic parameter for our SDK to load your Axeptio project.
- Cookies Version (optional)**: The version name of the widget you want to load.
In your Axeptio project from the back office, go to the Cookie Management section.
Copy the identifier of the desired version (underlined in red below) and paste it into the Cookies Version field:
By default, the first version from the top is loaded.
- Cookies Duration (optional) : Duration of consent (in days). After this duration, consent will be requested again from the visitor. The default value is 365 days.
- Trigger GTM Events (optional) : Enables or disables sending events to Google Tag Manager. If you do not use GTM, you can set this field to false, with the default value being true.
- JSON Cookie Name (optional) : Allows renaming the cookie that stores the user's consent, which is called "axeptio_cookies" by default.
- Authorized Vendors Cookie Name (optional) : Allows renaming the cookie that stores the cookies accepted by the user, which is called "axeptio_authorized_vendors" by default.
- User Cookies Domain (optional) : Defines the domain on which Axeptio cookies are set. This can be useful if you have subdomains; by setting this property to your main domain, consent will not be requested again on the subdomains.
- User Cookies Secure (optional) : By default, this value is set to true, meaning our cookies are secure and cannot be set on HTTP sites. You can set this value to false, for example, to test Axeptio on a site that is not yet on HTTPS.
- Mount Class Name (optional) : Allows changing the class name of the `<div>` tag that contains the Axeptio widget.
To summarize, the only mandatory field is the Project ID. The other fields may be useful in certain cases, but don't worry if you leave them empty.