How to Test UniConsent Setup for Different GEO Locations and Languages
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
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)
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.
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
Regularly check the implementation audit status and error messages on your dashboard.
Implementation Audit Report
Contact us: support@uniconsent.com