How to set up the do not sell modal

  • Updated

In addition to allowing users to opt out of both the selling and sharing of personal information, CPRA also states that businesses must “provide a clear and conspicuous link” to enact this right. Although the Osano CMP cookie preference drawer allows users to set this preference, it also contains additional preferences.  And in some cases, users may need to scroll to get to the “Do not sell or share” setting.

In order to satisfy this requirement for a single link, you may use the “do not sell” modal which can be activated using the Osano JavaScript API.

Cookie Consent - Do Not Sell Modal.png

Customizing the do not sell modal text

[Enterprise Only Feature]

Out of the box, Osano provides text and language translations that meet necessary privacy standards. This language has been reviewed and approved by legal professionals and privacy experts. 

If you would like to change or adjust this language, you can do so within the Osano platform.

The following attributes of the do not sell modal can currently be adjusted: 

  • Do Not Sell Header ("Your Privacy Choices")
  • Do Not Sell Description
  • Do Not Sell or Share My Personal Information Category Label
  • Do Not Sell or Share My Personal Information Category Description

IMPORTANT: Custom text may not qualify to be covered under the "No Fines, No Penalties" pledge. To ensure you qualify for the pledge, you must use the default language.

 

Triggering the do not sell modal on your website

To trigger the do not sell modal, you can utilize the following Javascript: 

Osano.cm.showDoNotSell()

  • This is the preferred method.
  • In some cases, window.Osano.cm.showDoNotSell() should be used

Examples: Osano.cm.showDoNotSell()

<a href="#" onclick="Osano.cm.showDoNotSell()">Do Not Sell or Share My Personal Information</a>
<a onClick={Osano.cm.showDoNotSell()}>Do Not Sell or Share My Personal Information</a>

Example: window.Osano.cm.showDoNotSell()

@click="window.Osano.cm.showDoNotSell()"