Integrating MineOS with UserCentrics allows you to handle DSRs, update user consent, and complete workflows in MineOS.
In the following article, we provide a step-by-step guide for integrating Mine's Privacy Center with UserCentrics to fully handle Do-Not-Sell requests. However, you can follow a similar process with any other CMP platform and/or privacy rights. Let's Begin!
Before You Begin make sure you have:
- A MineOS account
- A UserCentrics account
Setting up UserCentrics
Log into your UserCentrics accounts and click Configuration from the menu on the left.
1. Under Setup, add your MineOS Privacy Center domain (e.g. acme.privacy.saymine.io), in addition to your website's domain(s):
2. Under CMP Settings, turn on Cross Domain Consent Sharing:
3. Click Implementation on the menu, and note the settings ID from the Live version - You will use it later in the setup. Also, note the version you are using (V2 or V3).
Setting up MineOS
- Log into your MineOS accounts and go to 'DSR Handling -> Privacy Center'.
- Open the custom code panel and paste the integration script below, depending on your Usercentrics version:
For v3:
<script>
For v2:
var UC_UI_SUPPRESS_CMP_DISPLAY=true;
MINE.onRequestSubmitted = (requestType) => {
if(requestType === 'DoNotSell' || requestType === 'donotsell') {
UC_UI.denyAllConsents().then(() => console.log('All consents are denied'));
}
};
// Load UC v3
var script = document.createElement('script');
script.id = 'usercentrics-cmp';
script.type = 'text/javascript';
script.src = 'https://web.cmp.usercentrics.eu/ui/loader.js';
script.dataset.settingsId = 'YOUR SETTINGS ID';
script.async = true;
document.head.prepend(script);
</script>
<script>
var UC_UI_SUPPRESS_CMP_DISPLAY=true;
MINE.onRequestSubmitted = (requestType) => {
if(requestType === 'DoNotSell' || requestType === 'donotsell') {
UC_UI.denyAllConsents().then(() => console.log('All consents are denied'));
}
};
// Load UC v2
var script = document.createElement('script');
script.id = 'usercentrics-cmp';
script.type = 'text/javascript';
script.src = 'https://app.usercentrics.eu/browser-ui/latest/loader.js';
script.dataset.settings = 'YOUR SETTINGS ID';
script.async = true;
document.head.prepend(script);
</script> - In the scripts you just pasted, replace "YOUR SETTINGS ID" with your Usercentrics Settings ID. You can find it in the Implementation Script in your Usercentrics account.
- Now paste the Usercentrics Implementation script from the previous step AFTER the integration script. The end result should be similar to this (your Usercentrics script might be different
- Click 'Save changes' at the top.
- Under 'DSR Handling -> DSR Setup' enable Do-Not-Sell
5. Click 'Edit' to enable the regions and workflows to handle do-not-sell requests.
Testing the integration
- Go to your company's website and accept cookies in the banner.
- Go to the privacy center and submit a 'Do Not Sell' request.
- Verify the request appears in MineOS (it may be under 'unverified' requests if you didn't complete the email verification)
- Go back to your company's website and open the banner. Make sure all cookies are denied.
That's it, you are good to go!
Further reading:
- UserCentrics Browser API documentation: https://usercentrics.com/docs/web/features/api/control-ui/