Skip to content

Commit

Permalink
Update cookies.md and guide.md
Browse files Browse the repository at this point in the history
  • Loading branch information
muuki88 authored Mar 12, 2024
1 parent abf188f commit c2fa408
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
13 changes: 2 additions & 11 deletions guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,18 +322,9 @@ We use Algolia for site search.

## Cookie Privacy

Prebid websites don't set their own cookies, but vendor products we use do. So we use the OneTrust CookiePro library to pop up a cookie banner. If the user hasn't consented to setting cookies, they will find reduced functionality on the site -- they won't be able to view JSFiddle examples or example videos.
Prebid websites don't set their own cookies, but vendor products we use do. So we use the consentmanager.net to pop up a cookie banner. If the user hasn't consented to setting cookies, they will find reduced functionality on the site -- they won't be able to view JSFiddle examples or example videos.

This is implemented with the [OneTrust](https://community.cookiepro.com/s/article/UUID-730ad441-6c4d-7877-7f85-36f1e801e8ca?language=en_US) library. See layout/example.md for how the OneTrust.InsertHtml function is used.
The last argument to that function is the "group id", which declares what kind of cookies this vendor script is
going to set. Here's how OneTrust defines the groups:

1. Strictly Necessary cookies
2. Performance cookies
3. Function cookies
4. Targeting cookies

OneTrust categorizes cookies on their own, and it seems pretty random to us. Our guideline is to define tools as group 3 for small trusted vendors, or group 4 for large vendors that probably have a database of users.
This is implemented with the [consentmanager third party blocking feature](https://help.consentmanager.net/books/cmp/page/how-to-block-third-party-codes-cookies-if-no-consent-is-given). See layout/example.md for an example implementation.

The test case for vendor code that drops cookies is simple:

Expand Down
8 changes: 2 additions & 6 deletions policies/cookies.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@ sidebarType: 0

The docs.prebid.org website may store or retrieve information on your browser in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. However, blocking cookies may impact your experience of the site and the services we are able to offer.

<!-- OneTrust Cookies Settings button start -->
<a class="optanon-show-settings">Cookie Settings</a>
<!-- OneTrust Cookies Settings button end -->
<button class="btn btn-primary" onclick="__cmp('showCookies')">Cookie Settings</button>

<br/>

<!-- OneTrust Cookies List start -->
<div id="optanon-cookie-policy"></div>
<!-- OneTrust Cookies List end -->
<div id="cmpcookieinfo"></div><script src="https://delivery.consentmanager.net/delivery/cookieinfo.php?cdid=57c224a701de2" type="text/javascript" async></script>

0 comments on commit c2fa408

Please sign in to comment.