{"id":93326,"date":"2018-10-30T22:30:21","date_gmt":"2018-10-30T22:30:21","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/check-permission-dialogue\/"},"modified":"2025-07-15T17:00:08","modified_gmt":"2025-07-15T17:00:08","slug":"check-permission-dialogue","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/check-permission-dialogue\/","author":16569695,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2025.07","stable_tag":"trunk","tested":"6.8.5","requires":"4.9.8","requires_php":"8.1.0","requires_plugins":null,"header_name":"Check Permission Dialogue","header_author":"Dan M","header_description":"This plugin offers a simple dialogue for opting-in to tracking cookies.  It ensures that known trackers for google, facebook, and crazyegg will not be loaded until the user explicitly allows it.  Dialogues are modelled on browser permission requests (such as those for location data) for visual consistency.","assets_banners_color":"","last_updated":"2025-07-15 17:00:08","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1629,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1966119,"resolution":"1","location":"assets","locale":"","width":322,"height":147},"screenshot-2.png":{"filename":"screenshot-2.png","revision":1966119,"resolution":"2","location":"assets","locale":"","width":360,"height":171},"screenshot-3.png":{"filename":"screenshot-3.png","revision":1966119,"resolution":"3","location":"assets","locale":"","width":329,"height":165},"screenshot-4.png":{"filename":"screenshot-4.png","revision":1966119,"resolution":"4","location":"assets","locale":"","width":274,"height":181}},"screenshots":{"1":"Chrome on desktop","2":"Firefox on desktop","3":"iOS","4":"Android"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[232,389,550],"plugin_category":[36],"plugin_contributors":[163731],"plugin_business_model":[],"class_list":["post-93326","plugin","type-plugin","status-publish","hentry","plugin_tags-analytics","plugin_tags-cookies","plugin_tags-tracking","plugin_category-analytics","plugin_contributors-danmz","plugin_committers-danmz"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/check-permission-dialogue.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/check-permission-dialogue\/assets\/screenshot-1.png?rev=1966119","caption":"Chrome on desktop"},{"src":"https:\/\/ps.w.org\/check-permission-dialogue\/assets\/screenshot-2.png?rev=1966119","caption":"Firefox on desktop"},{"src":"https:\/\/ps.w.org\/check-permission-dialogue\/assets\/screenshot-3.png?rev=1966119","caption":"iOS"},{"src":"https:\/\/ps.w.org\/check-permission-dialogue\/assets\/screenshot-4.png?rev=1966119","caption":"Android"}],"raw_content":"<!--section=description-->\n<p>Background\/Motivation: Historically analytics and tracking have been used without explict user consent.<br \/>\nRecently there has been a push to change this, both from a technical standpoint and from a legal standpoint.<br \/>\nWhile analytics are recognized to be useful to website owners, users should be aware that they are being tracked, and have the option to avoid this tracking.<\/p>\n\n<p>This plugin aims to make it easy and simple to get tracking\/analytics consent from users, and respect the users' stated preferences for the most common tracking scenarios.<br \/>\nThe user's preferences are stored for the duration of their browser session.<\/p>\n\n<p>This plugin removes known tracking scripts (google, facebook, and crazyegg) from generated markup until a user explicitly opts in to allow their use.<br \/>\nThis applies to all markup prior to <code>wp_footer();<\/code>.  Due to limitations of WordPress hooks we cannot filter content after this.<br \/>\nThis plugin attempts to ONLY block markup whose stated purpose is tracking (such as items from the googletagmanager.com domain), and not other items which might potentially do tracking.<\/p>\n\n<p>This plugin also clears known tracking cookies associated with those known trackers for users who have not opted in to tracking functionality.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin archive file to the <code>wp-content\/plugins<\/code> directory in your WordPress installation.<\/li>\n<li>De-compress (un-zip or un-tar) the plugin archive file, ensuring that the resulting <code>chk-perm-dialog<\/code> directory resides in the <code>wp-content\/plugins<\/code> directory in your WordPress installation.  <\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>(optional) If you want to provide a link to allow users to clear settings, ensure that somewhere on your site includes the following shortcode: <code>[chk_perm_clear_link]<\/code><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20this%20plugin%20provide%20any%20guarantees%20or%20warranties%3F'><h3>Does this plugin provide any guarantees or warranties?<\/h3><\/dt>\n<dd><p>NO!  Tracking scripts are subject to change without notice, and we cannot guarantee that google and other organizations will not change their code in such a way that this plugin no longer works as intended.<\/p><\/dd>\n<dt id='does%20this%20plugin%20make%20me%20gdpr%20compliant%3F'><h3>Does this plugin make me GDPR compliant?<\/h3><\/dt>\n<dd><p>Not on its own, no.<br \/>\nIf correctly configured, this can be one component of a GDPR-compliant site, but it is up to the website owner to know what data is collected, to know your responsibilities under the GDPR, and to verify that everything functions as required.<br \/>\nMost websites collect additional data such as form submissions, which is outside of the scope of this plugin.<br \/>\nWe WILL NOT and CANNOT gaurantee that every site that uses this plugin is GDPR compliant.<\/p><\/dd>\n<dt id='can%20i%20configure%20this%20only%20for%20particular%20browsers%2C%20particular%20connections%2C%20particular%20locations%2C%20etc.%20%3F'><h3>Can I configure this only for particular browsers, particular connections, particular locations, etc. ?<\/h3><\/dt>\n<dd><p>No.  This plugin treats all users equally and we will never accept anything upstream that changes that.<\/p><\/dd>\n<dt id='why%20isn%27t%20a%20dialog%20appearing%20even%20though%20the%20plugin%20is%20enabled%3F'><h3>Why isn't a dialog appearing even though the plugin is enabled?<\/h3><\/dt>\n<dd><p>Assuming you have javascript enabled, the dialog will not appear if your website doesn't actually use any trackers that this plugin is intended to block.<br \/>\nThis is intentional, as there's no point in asking for permission that you will not need from your users.<br \/>\nThe dialog should start appearing once you add google or facebook tracking scripts to your site.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2025.07<\/h4>\n\n<ul>\n<li>Tested in wordpress 6.8.1, fixed version number<\/li>\n<\/ul>\n\n<h4>2025.04<\/h4>\n\n<ul>\n<li>Tested in wordpress 6.8<\/li>\n<\/ul>\n\n<h4>2023.08<\/h4>\n\n<ul>\n<li>Tested in wordpress 6.3<\/li>\n<\/ul>\n\n<h4>2022.06<\/h4>\n\n<ul>\n<li>Tested in wordpress 6.0<\/li>\n<\/ul>\n\n<h4>2022.01<\/h4>\n\n<ul>\n<li>Tested in wordpress 5.9<\/li>\n<li>Updates to support wordpress 5.9 block editor and API changes<\/li>\n<li>Fixed bug where GET data that was previously-set wasn't preserved after dialog is closed<\/li>\n<\/ul>\n\n<h4>2021.08<\/h4>\n\n<ul>\n<li>Tested in wordpress 5.8<\/li>\n<li>Changed allow\/deny buttons to use GET data instead of POST data (and the corresponding server-side changes)<\/li>\n<li>Changed clear permission links to use GET data instead of POST data (and the corresponding server-side changes)<\/li>\n<li>Added progressive enhancement javascript so that users who have javascript enabled don't see GET data in their urls (still works fine without javascript).  <\/li>\n<\/ul>\n\n<h4>2021.03<\/h4>\n\n<ul>\n<li>Tested in wordpress 5.7<\/li>\n<li>Updated button styles to prevent theme default styles from setting button background color in the permission dialog as easily<\/li>\n<\/ul>\n\n<h4>2020.12<\/h4>\n\n<ul>\n<li>Tested in wordpress 5.6<\/li>\n<li>Minor styling update for broader theme compatibility<\/li>\n<\/ul>\n\n<h4>2020.10<\/h4>\n\n<ul>\n<li>Tested in wordpress 5.5.1<\/li>\n<\/ul>\n\n<h4>2020.04<\/h4>\n\n<ul>\n<li>Tested in wordpress 5.4<\/li>\n<li>Minor styling updates to over-ride defaults in the twentytwenty theme<\/li>\n<\/ul>\n\n<h4>2020.01<\/h4>\n\n<ul>\n<li>Tested in wordpress 5.3.2<\/li>\n<li>Updated facebook trackng cookie list to blacklist more cookie prefixes<\/li>\n<\/ul>\n\n<h4>2019.11<\/h4>\n\n<ul>\n<li>Tested in wordpress 5.3<\/li>\n<\/ul>\n\n<h4>2019.07<\/h4>\n\n<ul>\n<li>Tested in wordpress 5.2.2<\/li>\n<\/ul>\n\n<h4>2018.12<\/h4>\n\n<ul>\n<li>Tested in wordpress 5.0<\/li>\n<li>Changed styling units from rem to px because wordpress's twentynineteen theme breaks rem units hard<\/li>\n<\/ul>\n\n<h4>2018.10<\/h4>\n\n<p>N\/A (this is the first release)<\/p>","raw_excerpt":"This plugin adds an opt-in permission for certain known tracking scripts and tracking cookies.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/93326","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=93326"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/danmz"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=93326"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=93326"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=93326"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=93326"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=93326"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=93326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}