v0.4.8
❗ Don't forget to update the template in your GTM
Added
- Added fields
Integration > CMP API > Default environment
andIntegration > CMP API > Environment code
in the GTM template. - Added option
evironment
in theCmpApiOptions
. The environment is taken into account in the integration with CMP. - Added getter
CookieConsentWrapper.consentCookieData
that returns data from the consent cookie (cc-settings
by default) as an object or null if the consent doesn't exists.
Changed
- Credentials are now omitted in CPM integration requests.