This feature is currently available in an open beta.
UET consent mode lets you adjust UET cookie access based on the consent status of your users. This enhances the privacy capabilities of UET and gives you control over whether first and third-party cookies are stored.
For the purposes of UET consent mode, first-party cookies are those created by the advertiser domain (your website), and third-party cookies are created by Microsoft Advertising (Bing.com).
Consent mode is set via a property in UET called ad_storage. The possible values for ad_storage are:
Value for ad_storage | Description |
---|---|
granted | First and third-party cookies may be read and written for UET. If no default is set, UET uses granted by default. |
denied | First-party cookies are not read nor written for UET. Third-party cookies are not written. Third-party cookies are read-only for fraud and spam purposes—not for advertising purposes. |
// UET tag is added here // You can set default consent mode right after the UET tag
<script> window.uetq = window.uetq || []; window.uetq.push('consent', 'default', { 'ad_storage': 'denied' }); </script>
<script> window.uetq = window.uetq || []; window.uetq.push('consent', 'update', { 'ad_storage': 'granted' }); </script>
You must set the consent setting on every page of your website. If it is not set, then UET uses granted by default.