{"id":18905855,"date":"2026-05-12T13:25:35","date_gmt":"2026-05-12T13:25:35","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/consent-not-toggling\/"},"modified":"2026-05-12T13:25:35","modified_gmt":"2026-05-12T13:25:35","slug":"consent-not-toggling","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/consent-not-toggling\/","title":{"rendered":"Consent not toggling"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi there,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This morning I updated a website (arthritis.ca) to WP 6.9 and also updated this plug in to version 5.0.12. Usually I QA this plug-in by going to incognito mode and accepting the cookies. When I do so, the source code will read\u00a0<em>var gdpr_consent__advanced = &#8220;true&#8221;\u00a0<\/em>because\u00a0I accepted the &#8220;advanced&#8221; cookies (which we call Marketing and Analytics in the backend). Then I refuse the cookies in a new session, and it reads<em>\u00a0var gdpr_consent__advanced = &#8220;false&#8221;<\/em>. However, no matter how many times I try, refresh or attempt a new session,\u00a0var gdpr_consent__advanced is always reading &#8220;true&#8221; even when I refuse the cookies. When I hit &#8216;refuse&#8217; the page does refresh as it should but the code does not update.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Can you help us figure out why and how to fix this?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We did QA the WP update to 6.9 and this new plugin update on our Dev site and it works correctly there (and still is). The plug-in has the exact same settings on both Dev and Prod.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks for your help!<\/p>\n","protected":false},"template":"","class_list":["post-18905855","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18905855","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18905855\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18905855"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}