Skip to main content
Skip table of contents

Testing Separate pop-up Model

To validate “Utiq Separate pop-up 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.

Utiq Separate pop-up triggered after CMP acceptance

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

  • You should see Utiq Separate pop-up Direct or on Next Session

Utiq Separate pop-up contains correct consent text

Provided you are seeing Utiq separate pop-up after CMP acceptance.

  • Utiq Separate pop-up First & Second layer contain Utiq 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

  • ‘(as further described here)’ links to the website Privacy Policy page

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 & Accept Utiq separate pop-up

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

  • You should see Utiq Separate pop-up Direct or on Next Session

  • Click on the “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 Utiq Web SDK it not loaded at all

‘Accept All’ on site CMP & Reject Utiq separate pop-up

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

  • You should see Utiq Separate pop-up Direct or on Next Session

  • Click on the “Reject” button

  • Open your browser’s Developer Tools and confirm that in cookies you have utiq_consent_status set to false (base64 → ZmFsc2U=) and in Local Storage there is no utiqPass 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 to false (base64 → ZmFsc2U=) and in Local Storage there is no utiqPass key/value

  • Open your CMP and confirm that the Utiq purpose 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 to false (base64 → ZmFsc2U=) and in Local Storage there is no utiqPass key/value

  • Open your CMP and confirm that the Utiq purpose 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 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 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 to false (base64 → ZmFsc2U=) and in Local Storage there is no utiqPass key/value

  • 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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.