- Help Center
- FAQ
- Customization
Is it possible to have the same consent notice ID with a different logo?
Yes, it is possible to have the same consent notice ID with different logos. This can be achieved by modifying the consent notice's configuration in your website's source code.
- FOR WEB:
Using the app.logo property:
1- JavaScript to insert in your source code:<script type="text/javascript">
window.didomiConfig = {
app: {
logoUrl: 'https://www.mydomain.com/logo.png'
}
};
</script>
2- Using Country-specific configuration settings (Only for web sdk) : You could also use configByCountry to have a configuration by country (For more information, consult our Developer guide)
- FOR APP:
The only option is to use the app.logo property in custom JSON, as described in our developer documentation.
{
"app": {
"logo": "nameOfTheAssetInYourAppBundle"
}
}