Skip to main content

Add a link to reopen the preference panel


If, for any reason, you do not want to add a floating button to the site, you can implement the reopening of the preferences panel using JavaScript. To resurface the banner, simply add a link in the footer and insert the following JavaScript code in the onclick attribute:

AVACY.showPreferenceCenter('absolute')

An implementation example could be the following:

<footer>
<a href="javascript:void(0)" onclick="AVACY.showPreferenceCenter('absolute')"> Preferenze Cookie</a>
</footer>