Testing Integrated Model
To validate “Utiq Integrated Model” integration, you will need to run the bellow test cases.
Utiq Consent & Privacy Text
The below test cases will validate the correct consent experience and privacy texts.
CMP First layer contains Utiq logo & consent text
All interactions bellow should be done using a browser in incognito mode and with an active testing stub.
Visit https://consenthub.utiq.com/ and revoke all consents
Visit your website
You should see your CMP
On CMP First layer you should see the Utiq logo & consent text
Hyperlinks are properly set as per the documentation
[DATA CONTROLLER] is replaced with the Data Controller of the website
‘our other websites’ links to the website list on Manage Utiq page with anchor
CMP Second layer contains Utiq custom purpose
All interactions bellow should be done using a browser in incognito mode and with an active testing stub.
Visit https://consenthub.utiq.com/ and revoke all consents
Visit your website
You should see your CMP
On CMP Second layer you should see the Utiq custom purpose
Hyperlinks are properly set as per the documentation
‘our other websites’ links to the website list on Manage Utiq page with anchor
CMP Second layer contains Utiq custom vendor
All interactions bellow should be done using a browser in incognito mode and with an active testing stub.
Visit https://consenthub.utiq.com/ and revoke all consents
Visit your website
You should see your CMP
On CMP Second layer you should see the Utiq custom vendor
Hyperlinks are properly set as per the documentation
Manage Utiq page & footer link
All interactions bellow should be done using a browser in incognito mode and with an active testing stub.
Visit https://consenthub.utiq.com/ and revoke all consents
Visit your website
You should see your CMP
Regardless of your CMP choice, you should see Manage Utiq footer link
Click the footer link and visit Manage Utiq page
The Manage Utiq page URL is as per the documentation
The Manage Utiq page text is as per the documentation
Hyperlinks are properly set as per the documentation
'Withdraw Utiq consent' link is using the revocation API
Website list paragraph is in place with correct [DATA CONTROLLER] replaced
Website list contains all domains of same Data Controller with correct format
Website list has the correct anchor
id="manage-utiq-website-list"
on it’s title
Privacy Policy page update
All interactions bellow should be done using a browser in incognito mode and with an active testing stub.
Visit https://consenthub.utiq.com/ and revoke all consents
Visit your website
You should see your CMP
Regardless of your CMP choice, visit website’s Privacy Policy page
You should see the Utiq paragraph on the page with the correct text
Hyperlinks are properly set as per the documentation
'(see list here)' has hyperlink to Manage Utiq page website list anchor
‘this website only here' has hyperlink to website’s Manage Utiq page
Utiq Consent Synchronization
The below test cases will validate the consent synchronization of website and consenthub.
‘Accept All’ on site CMP
All interactions bellow should be done using a browser in incognito mode and with an active testing stub.
Visit https://consenthub.utiq.com/ and revoke all consents
Visit your website
You should see your CMP
Click on the “I Accept” button
Go back to consenthub and refresh the page to confirm that
example.com
appears in the list of consented domains
‘Reject All’ on site CMP
All interactions bellow should be done using a browser in incognito mode and with an active testing stub.
Visit https://consenthub.utiq.com/ and revoke all consents
Visit your website
You should see your CMP
Click on the “I Reject” button
Open your browser’s Developer Tools and confirm that in cookies you have
utiq_consent_status
set tofalse
(base64 →ZmFsc2U=
) and in Local Storage there is noutiqPass
key/value
Accept only Utiq purpose on site CMP
All interactions bellow should be done using a browser in incognito mode and with an active testing stub.
Visit https://consenthub.utiq.com/ and revoke all consents.
Visit your website
You should see your CMP
Go to 2nd layer and activate/accept the Utiq purpose by clicking on the toggle
Click on “Confirm My Choices” or similar (the name of the button can be different)
Go back to consenthub and refresh the page to confirm that
example.com
appears in the list of consented domains
Reject only Utiq purpose on site CMP
All interactions bellow should be done using a browser in incognito mode and with an active testing stub.
Visit https://consenthub.utiq.com/ and revoke all consents.
Visit your website
You should see your CMP
Go to 2nd layer and don’t activate/accept the Utiq purpose by clicking on the toggle
Click on “Confirm My Choices” or similar (the name of the button can be different)
Open your browser’s Developer Tools and confirm that in cookies you have
utiq_consent_status
set tofalse
(base64 →ZmFsc2U=
) and in Local Storage there is noutiqPass
key/value
Revoke consent from consenthub
Given that consent exists in consenthub for example.com
Visit https://consenthub.utiq.com/ and revoke consent for
example.com
Wait 10 minutes (or reduce localStorage
utiqDataCallTimestamp
and refresh page)Visit your website
Refresh the page
Open your browser’s Developer Tools and confirm that in cookies you have
utiq_consent_status
set tofalse
(base64 →ZmFsc2U=
) and in Local Storage there is noutiqPass
key/valueOpen your CMP and confirm that the Utiq purpose & vendor is now off/false (toggle should be inactive)
Go to consenthub and refresh the page to confirm that
example.com
has been removed from the list of consented domains
Revoke consent “Reject All” from CMP
Provided you have previously given consent on your website
Visit your website
Click on the “Manage Preferences” to surface your CMP
Click on the “Reject All” button
Open your browser’s Developer Tools and confirm that in cookies you have
utiq_consent_status
set tofalse
(base64 →ZmFsc2U=
) and in Local Storage there is noutiqPass
key/valueOpen your CMP and confirm that the Utiq purpose & vendor is now off/false (toggle should be inactive)
Go to consenthub (https://consenthub.utiq.com/) and refresh the page to confirm that
example.com
has been removed from the list of consented domains
Revoke consent “Utiq purpose” from CMP
Provided you have previously given consent on your website
Visit your website
Click on the “Manage Preferences” to surface your CMP
Go to 2nd layer and deactivate/reject the Utiq purpose by clicking on the toggle
Click on “Confirm My Choices” or similar (the name of the button can be different)
Open your browser’s Developer Tools and confirm that in cookies you have
utiq_consent_status
set tofalse
(base64 →ZmFsc2U=
) and in Local Storage there is noutiqPass
key/valueGo to consenthub (https://consenthub.utiq.com/) and refresh the page to confirm that
example.com
has been removed from the list of consented domains
Revoke consent “Utiq vendor” from CMP
Provided you have previously given consent on your website
Visit your website
Click on the “Manage Preferences” to surface your CMP
Go to 2nd layer and deactivate/reject the Utiq vendor by clicking on the toggle
Click on “Confirm My Choices” or similar (the name of the button can be different)
Open your browser’s Developer Tools and confirm that in cookies you have
utiq_consent_status
set tofalse
(base64 →ZmFsc2U=
) and in Local Storage there is noutiqPass
key/valueGo to consenthub (https://consenthub.utiq.com/) and refresh the page to confirm that
example.com
has been removed from the list of consented domains
Revoke consent via “Withdraw Utiq consent” link on "Manage Utiq" page
Provided you have previously given consent on your website
Visit your website and go to Manage Utiq page
Click on the “Withdraw Utiq consent” link
Confirm that you see the Utiq consent revocation popup
Click on the “Manage Preferences” to surface your CMP
Open your CMP and confirm that the Utiq purpose & vendor is now off/false (toggle should be inactive)
Open your browser’s Developer Tools and confirm that in cookies you have
utiq_consent_status
set tofalse
(base64 →ZmFsc2U=
) and in Local Storage there is noutiqPass
key/valueGo to consenthub (https://consenthub.utiq.com/) and refresh the page to confirm that
example.com
has been removed from the list of consented domains
APIs to call on Dev Console when you need to 'Open your CMP'
Below is a list of APIs you can call on Dev Console when test cases ask to 'Open your CMP'.
CMP | Re-Surface API |
---|---|
Didomi |
CODE
|
OneTrust |
CODE
|