Skip to main content

Integration of the consent archive for Form consents via WordPress plugin


The Avacy plugin for WordPress offers the ability to automatically detect and configure the contact forms on the website, allowing you to send the data collected directly to the consent archive via a REST API. To enable this functionality, you must generate an authentication access key from the Avacy core platform.

Generating the access key

Open the dashboard of the web space you want to enable the archive for and click the Web space settings button in the top right corner.

"Web space settings" button in the web space dashboard

Click on Avacy integration on your web space.

"Avacy integration on your web space" entry in the web space settings

Open the Access Key tab and click the button to create a new access key, name the key and copy it to your clipboard.

"Access Key" tab with the new key creation modal

This access key must be entered in the "access key" field within the plugin interface to authorize communication with the consent archive.

Configuring the forms in the plugin

The plugin automatically scans the site to identify active contact forms. For each form detected, it is possible to configure the input fields (e.g. name, email, preferences) so that the selected data is sent and recorded in the consent archive when the user sends the form.

"Consent archive" tab of the WordPress plugin with the list of detected forms

Upon form submission, the data mapped into the configured fields is securely transmitted to the Avacy consent store via an HTTP call to a REST API, authenticated via the access key. This ensures the automatic recording of consents, including those relating to contact and marketing preferences.

Site administrators can access and view all the consents collected, including those relating to contact forms and cookies, in the Consent Archive section in the dashboard of the relevant web space on the platform.

"Consent archive" section with the list of collected consents