Opening the Drawer (Storage Preferences)

  • Updated

There may be cases where you wish to open the storage preferences drawer where users can change their consent preferences without using the Osano cookie widget (the cookie icon). You can achieve this using the following code: 

To trigger the Storage/Cookie preferences drawer, you can utilize the following Javascript: 

    • This is the preferred method.
    • In some cases, should be used
  • DEPRECATED:"osano-cm-dom-info-dialog-open")
    • This method has been deprecated. Please utilize


<a href="#" onclick="'osano-cm-dom-info-dialog-open')">Cookie Preferences</a>
<a onClick={'osano-cm-dom-info-dialog-open')}>Cookie Preferences </a>