...
argument name | type | optional | value | description |
---|---|---|---|---|
command | string |
| ||
parameter | string |
| 2-letter country language code. Default value is | |
callback | function | ✔️ |
| The callback function that is called with the function call result. |
...
The country code is used by the IAB Europe Transparency and Consent Framework (TCF) Specifications to determine the legislation of reference. It can be used in the GDPR consent zone to specify if some specific rule other than the generic EU Law can be applied when asking the user for consent. There are countries like Germany where, e.g., consent for Purpose 1 doesn't need to be disclosed. This means that for German based publishers a different configuration for the CMP can be set where the CMP may not ask the user about Purpose 1 consent. So, setting this value correctly is a must if some out of the ordinary CMP configurations are required by the publisher.
...