[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fi3tAPkCyg5gP4clAIdpLTuyPjnaEEipRrQnhtl75U_g":3},{"slug":4,"display_name":5,"profile_url":6,"plugin_count":7,"total_installs":8,"avg_security_score":9,"avg_patch_time_days":10,"trust_score":11,"computed_at":12,"plugins":13},"fcaylus","Fabien Caylus","https:\u002F\u002Fprofiles.wordpress.org\u002Ffcaylus\u002F",1,10,85,30,84,"2026-04-04T13:55:18.114Z",[14],{"slug":15,"name":16,"version":17,"author":5,"author_profile":6,"description":18,"short_description":19,"active_installs":8,"downloaded":20,"rating":21,"num_ratings":21,"last_updated":22,"tested_up_to":23,"requires_at_least":24,"requires_php":25,"tags":26,"homepage":32,"download_link":33,"security_score":9,"vuln_count":21,"unpatched_count":21,"last_vuln_date":34,"fetched_at":35},"can-i-use-cookies","Can I Use Cookies ?","1.0.1","\u003Cp>Does one thing but does it right:\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Ask the user for his consent about cookies and tracking.\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Ch3>Features\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>Display a popup on every page and ask the user for his consent about tracking\u003C\u002Fli>\n\u003Cli>“Approve” and “Deny” button: compliant with GDPR and CCPA\u003C\u002Fli>\n\u003Cli>Customisable texts and image on the popup\u003C\u002Fli>\n\u003Cli>Customisable style of the popup using CSS\u003C\u002Fli>\n\u003Cli>Available in 2 languages: English and French\u003C\u002Fli>\n\u003Cli>No branding, no ad on the admin panel. Just a new menu in the settings.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3>How it works ?\u003C\u002Fh3>\n\u003Cp>The plugin will add a new menu under your settings, where you can set up the various texts and images used by the popup.\u003Cbr \u002F>\nThen, a popup will appear on every public pages, asking the user for his consent about cookies and tracking, presenting him with 2 choices:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>Approve\u003C\u002Fstrong>: Set a cookie \u003Ccode>cookie-consent=yes\u003C\u002Fcode> valid for 6 months\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Deny\u003C\u002Fstrong>: Set a cookie \u003Ccode>cookie-consent=no\u003C\u002Fcode> valid for 6 months\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>It’s then up to you, and your analytics solution, to check for the \u003Ccode>cookie-consent\u003C\u002Fcode> value and handle it according to the user’s wishes.\u003C\u002Fp>\n\u003Ch3>How to customize the popup style ?\u003C\u002Fh3>\n\u003Cp>A default style is applied to the popup, with the strict minimum (the layout of the popup).\u003Cbr \u002F>\nThe popup will inherit the text style, button style and colors from your theme.\u003C\u002Fp>\n\u003Cp>However, you can use CSS to customize the popup layout and style\u003Cbr \u002F>\n(by enqueuing a stylesheet in your \u003Ccode>functions.php\u003C\u002Fcode> file, add additional CSS in your theme’s options,\u003Cbr \u002F>\nor whatever technique to add CSS to your page).\u003C\u002Fp>\n\u003Cp>For reference, here is the popup HTML code. You can use the main container id (\u003Ccode>#can-i-use-cookies\u003C\u002Fcode>)\u003Cbr \u002F>\nto scope your CSS rules.\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u003Cdiv id=\"can-i-use-cookies\">\n    \u003Cdiv class=\"container\">\n        \u003Cdiv class=\"subcontainer\">\n            \u003Cimg class=\"image\" src=\"...\">\n            \u003Cdiv class=\"text-container\">\n                \u003Cp class=\"title\">...\u003C\u002Fp>\n                \u003Cp class=\"description\">...\u003C\u002Fp>\n            \u003C\u002Fdiv>\n        \u003C\u002Fdiv>\n        \u003Cdiv class=\"button-bar\">\n            \u003Cbutton id=\"can-i-use-cookies-yes\" class=\"button\">...\u003C\u002Fbutton>\n            \u003Cbutton id=\"can-i-use-cookies-no\" class=\"button\">...\u003C\u002Fbutton>\n        \u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch3>Source code\u003C\u002Fh3>\n\u003Cp>The source code is available on GitHub at \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fdoky-fr\u002Fcan-i-use-cookies\" rel=\"nofollow ugc\">github.com\u002Fdoky-fr\u002Fcan-i-use-cookies\u003C\u002Fa>.\u003C\u002Fp>\n\u003Cp>Feel free to contribute !\u003C\u002Fp>\n","Ask the user for his consent about cookies and tracking, and comply with the EU GDPR privacy law and CCPA regulations.",1209,0,"2021-03-13T15:40:00.000Z","5.7.15","5.4","7.0",[27,28,29,30,31],"consent","cookie","cookies","gdpr","popup","https:\u002F\u002Fgithub.com\u002Fdoky-fr\u002Fcan-i-use-cookies","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fcan-i-use-cookies.zip",null,"2026-03-15T15:16:48.613Z"]