Multi-Touch Consent
Jul 22, 2020
If any group of cookies is Inactive at any time (either consent has been withheld or withdrawn), then you might want to make it as easy as possible for visitors to give their consent for cookies as an integrated part of the web interface, without requiring them to go to the Preference Center.
We provide two ways in which you can turn page elements into actions that give consent and set all cookie groups to Active.
Combining this with the Options parameter functions as described above to change site content, enables you to create dynamic page content and calls-to-action that obtain visitor consent where it doesn’t exist, with minimal user journey interruption.
This is called ‘Multi-touch’ consent because you can have multiple interaction points embedded in any page, rather than relying on the Preference Centre overlay mechanism.
Class Based Consent
You can turn any anchor tag into a visitor consent action using:
<a class=”optanon-allow-all”>Give Consent</a>
JavaScript Onclick Event
Alternatively, you can use the following for other clickable elements, such as buttons:
onclick="Optanon.AllowAll();"
Important
It is important to note that if using these multi-touch consent methods to obtain consent, the page content should have an explanation for the user of the effect of this action, if it is not otherwise obvious.
This action results in consent being given to all groups of cookies.
Embedded Link to Preference Center
You can also embed into the page a link which will open the Preference Center, using the optanon-toggle-display class.
“This section uses cookies which are currently disabled.”
Where cookies is coded:
<a class="optanon-toggle-display">cookies</a>
As above, you can also call the JavaScript function directly, for example:
onclick=”Optanon.ToggleInfoDisplay();”
Updated 12 months ago