Adjust tag behavior based on consent. This template utilizes Google's Consent API and can be used to adjust how Google's advertising and analytics use cookies and process ad identifiers.
- Add functionality_storage and security_storage as new consent states.
- Improve timing and accuracy of url_passthrough and ads_data_redaction options.
- Make gtag() command optional in order to avoid creating extra consent events.
- Add support for personalization_storage
- Code refactor, no change to functionality
- Added option to push a message to dataLayer upon consent state changes
- Add compatibility with GTM's new consent features.
- Initial release