Incorrect Consent Mode v2 parameter name
-
Hi,
I noticed a technical error in the plugin’s implementation of Consent Mode v2 regarding the integration of functional cookies.
Currently, when a user updates their preferences, the plugin passes the “functional_storage” parameter in the gtag(“consent”, “update”, …) command. However, according to Google’s official specification, the correct parameter name should be “functionality_storage”.Because of this typo, Google Tag Manager does not recognize this parameter as a system-level consent type. Instead, GTM treats it as a custom, unrecognized variable. As a result, the actual, official status of “functionality_storage” in the GTM container is never updated and remains in its default/denied state, ignoring the user’s actual selection made on the banner.
In addition, the “Consents” tab also displays: [Google Code: functional_storage]I’m also including a link to all consent types for confirmation:
https://support.google.com/tagmanager/answer/10718549?hl=en
Please update the parameter name in the plugin code 🙂
Thank you for all your hard work on this plugin!Greetings, Krzysztof
You must be logged in to reply to this topic.