Leading Consent Management Platform

Compliant with GDPR, CCPA, COPPA, LGPD, PECR, PDPA, PIPEDA, and more.

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 a different location, use the uniconsent_geo parameter:

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

Available GEO codes:

  • 'EU' (European Union and the rest of Europe, including the UK and Switzerland: GDPR and IAB TCF)
  • 'CA' (Canada: IAB TCF Canada)
  • 'CAQC' (Quebec: IAB TCF Canada, express consent only)
  • 'US' (United States, states without their own privacy law)
  • 'USCA' (California: CCPA/CPRA)
  • 'USVA', 'USCO', 'USUT', 'USCT', 'USFL', 'USMT', 'USOR', 'USTX', 'USDE', 'USIA', 'USNE', 'USNH', 'USNJ', 'USTN', 'USMN', 'USMD', 'USIN', 'USKY', 'USRI' (US states covered by US State Privacy)
  • 'BR' (Brazil: LGPD)
  • 'CN' (China: PIPL)
  • 'ZA' (South Africa: POPIA)
  • 'VN' (Vietnam: PDPD)
  • 'APAC' (Asia Pacific)
  • 'LATAM' (Latin America)
  • 'N' (other regions)

A US state not listed above is US followed by its two-letter code, for example USWA for Washington, and counts as 'US'. For example, to test Quebec:

?uniconsent_test=1&uniconsent_reset=1&uniconsent_geo=CAQC

To test your rules for other countries, add uniconsent_country with the two-letter country code:

?uniconsent_test=1&uniconsent_reset=1&uniconsent_geo=APAC&uniconsent_country=JP

The test location is kept on later pages. To go back to your real location, open a page with ?uniconsent_test=1&uniconsent_reset=1 and reload it.

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',
  • 'EN': 'English',
  • '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

Stay ahead on privacy and consent

Privacy laws, consent and compliance updates, a few emails a month.

No spam, unsubscribe any time. Privacy