{"id":11481053,"date":"2019-04-30T09:30:44","date_gmt":"2019-04-30T09:30:44","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/granular-consent-allow-specific-cookies\/"},"modified":"2019-04-30T09:34:01","modified_gmt":"2019-04-30T09:34:01","slug":"granular-consent-allow-specific-cookies","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/granular-consent-allow-specific-cookies\/","title":{"rendered":"Granular consent \/ opt-in button that can be inserted anywhere?"},"content":{"rendered":"<p>Would it be possible for users to give granular consent to allow certain features to work that would otherwise be blocked if they reject all cookies?<\/p>\n<p>Specifically I want use Recaptcha on contact forms, but rejecting cookies causes the forms not to work. So I&#8217;d like to give users the option to opt in for Recaptcha&#8217;s cookies and not everything else.<\/p>\n<p>Currently if a user doesn&#8217;t opt in, the Recaptcha doesn&#8217;t load, the form can&#8217;t submit and it&#8217;s not obvious to the user that this is because they rejected cookies. <\/p>\n<p>I&#8217;ve added a line to the cookie banner to tell people they need to accept cookies for the forms to work, but most users don&#8217;t read cookie banners. They just assume the form is broken.<\/p>\n<p>Is there a link or something I can use to add an opt-in button manually on the contact forms? Even better if it can detect the user hasn&#8217;t opted in yet so it&#8217;s not shown to users who have accepted cookies.<\/p>\n","protected":false},"template":"","class_list":["post-11481053","topic","type-topic","status-publish","hentry","topic-tag-recaptcha"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11481053","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":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11481053\/revisions"}],"predecessor-version":[{"id":11481059,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11481053\/revisions\/11481059"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11481053"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}