If you already have a non-BlueConic form on your website and want to set consents/refusals for objectives depending on the answers visitors gave, then install and use the “Privacy: Consents and Refusals” listener.
If the “Privacy: Consents and Refusals” listener is not yet available, then take following steps to install it:
- Open BlueConic Settings > Plugins
- Click Add plugin
- Search for “Privacy:”
- Click Install plugin
Now you are ready to create a new listener:
- Open Listeners
- Click Add listener
- Search for “Privacy”
- Click the Privacy: Consents and Refusals option
Next, you need to configure rules for the listener. Below is an example of what a configuration could look like:
The example shows a number of typical use cases that you can implement with the listener:
- Checkbox is checked / unchecked – Rule 1 and 2 of the example show the configuration for My Checkbox A. The objective is consented if the checkbox is checked; the objective is refused if the checkbox is not checked. This will only be registered when the surrounding form is submitted.
- Button is clicked – With rule 3 of the example the visitor will consent to the objective after clicking My Button B. Clicking that button also has to trigger the submitting of the surrounding form.
- Input field is filled – With rule 4 of the example the consent for an objective is set if the visitor has entered any value into My Input Field C and its wrapping form is submitted.
- Radiogroup / dropdown has a specific value – Rule 5 and 6 of the example both handle Radiogroup / Dropdown D. You can check for any value that a radiogroup / dropdown returns and set the consent / refusal for the objective. In this example the consent is set for the value “YES” and a refusal is set for the value “NO”.
- Hyperlink is clicked – Rule 7 of the example will set the consent for My Objective if the visitor clicks My Hyperlink E. Note that you have to enter the selector of the hyperlink twice, as the hyperlink will not be part of submitting a form.
This is an example of how to retrieve consent when serving international customers from US and EU.