How to Test UniConsent Setup for Different GEO Locations and Languages

UniConsent CMP URL parameters for testing

You can use URL parameters to test the UniConsent CMP integration without needing to clear your browser data.

To reset the consent data, append the following parameters to your URL:

?uniconsent_test=1&uniconsent_reset=1

2. Test in Different Geographic Locations

To simulate access from different geographic locations, use the uniconsent_geo parameter:

?uniconsent_test=1&uniconsent_reset=1&uniconsent_geo=EU

Available GEO codes include:

  • 'EU' (European Union - GDPR/TCF)
  • 'CA' (Canada - TCF CA)
  • 'US' (United States)
  • 'USCA' (US California - CCPA)
  • 'USVA' (US Virginia - USS)
  • 'USCO' (US Colorado - USS)
  • 'USUT' (US Utah - USS)
  • 'USCT' (US Connecticut - USS)
  • 'BR' (Brazil - LGPD)
  • 'CN' (China - PIPL)
  • 'ZA' (South Africa - POPIA)
  • 'VN' (Vietnam - PDPD)
  • 'N' (None, Other Regions)

3. Preview Draft Config

To preview unpublished config changes on your website, use the Preview button in your dashboard or add the following parameter:

?unicpreview=1

This loads the draft config and resets consent so the banner always shows.

4. Testing Different Languages

To test the CMP in different languages, use the uniconsent_lang parameter:

?uniconsent_test=1&uniconsent_reset=1&uniconsent_lang=ZH

Available language codes and their corresponding languages are:

  • 'BG': 'Bulgarian',
  • 'CA': 'Catalan',
  • 'CS': 'Czech',
  • 'DA': 'Danish',
  • 'DE': 'German',
  • 'EL': 'Greek',
  • 'ES': 'Spanish',
  • 'ET': 'Estonian',
  • 'FI': 'Finnish',
  • 'FR': 'French',
  • 'HU': 'Hungarian',
  • 'IT': 'Italian',
  • 'LT': 'Lithuanian',
  • 'LV': 'Latvian',
  • 'MT': 'Maltese',
  • 'NL': 'Dutch',
  • 'NO': 'Norwegian',
  • 'PL': 'Polish',
  • 'PT': 'Portuguese',
  • 'RO': 'Romanian',
  • 'RU': 'Russian',
  • 'SK': 'Slovak',
  • 'SL': 'Slovenian',
  • 'SV': 'Swedish',
  • 'ZH': 'Chinese',
  • 'SR': 'Serbian',
  • 'JA': 'Japanese',
  • 'AR': 'Arabic',
  • 'BS': 'Bosnian',
  • 'TR': 'Turkish',
  • 'CY': 'Welsh',
  • 'EU': 'Basque',
  • 'GL': 'Galician',
  • 'HE': 'Hebrew',
  • 'ID': 'Indonesian',
  • 'KO': 'Korean',
  • 'MK': 'Macedonian',
  • 'MS': 'Malay',
  • 'TL': 'Tagalog',
  • 'UK': 'Ukrainian',
  • 'VI': 'Vietnamese',
  • 'SQ': 'Albanian',
  • 'ZH-HANT': 'Chinese (Traditional)',
  • 'HR': 'Croatian',
  • 'KA': 'Georgian',
  • 'HI': 'Hindi',
  • 'IS': 'Icelandic',
  • 'PT-BR': 'Portuguese (Brazil)',
  • 'SR-CYRL': 'Serbian (Cyrillic)',
  • 'SW': 'Swahili',
  • 'TH': 'Thai'

You can download and install Consent Data Validator Extension to verify consent string on your website.

Find more details at UniConsent Consent Data Validator

UniConsent Implementation Audit Report

Regularly check the implementation audit status and error messages on your dashboard.

Implementation Audit ReportImplementation Audit Report

Still have questions?

Contact us: support@uniconsent.com