didomi_config.jsonfile, or from the
Custom jsonfield in the console. We recommend using our Console to configure your notice instead of a local configuration file.
didomi_config.jsoncontent to get started:
vendorsproperty, no banner will be displayed as the banner will consider that there is no consent to collect). Keep reading to see what configuration options you can use to customize the banner.
app.gdprAppliesGloballydefines whether GDPR should be applied to all visitors or not. If set to
true, all visitors will see consent notices. If set to
false, only visitors from the EU will see the consent notices.
app.gdprAppliesWhenUnknowndefines what to do when the user country is unknown. If the SDK is unable to determine the user country (because the device does not have a location, the location permission is not available, or there is no Internet connection), this flag will decide if the user should see a consent notice or not. If set to
true, the user will see a consent notice when its country is unknown.
app.logoUrlproperties to configure your app name and logo:
logoUrlis provided and the image exists, then that image will be displayed at the top of the Preferences screen as shown below:
nametext will be displayed at the top of the Preferences screen as shown below:
languages.enabledproperty to your list of supported languages and
languages.defaultproperty as the default language in case the customer language is not supported: