• Resolved William

    (@rfdmwilliam)


    I have a working donations page, and recently installed the GDPR Cookie Consent plugin to block all non-accepted cookies. Unfortunately, the donations checkout page does not seem to work with the Google Tag Manager script blocked.

    It appears I can either comply or not take donations. Any ideas on how to fix this, or deal with the conflict?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Matheus Martins

    (@matheusfd)

    Hey @rfdmwilliam,

    Happy to clarify here.

    We’re researching all things necessary for GDPR not only for Give but for our business as well. At the same time WordPress itself is putting together tools for plugins to hook into and site owners to use as well. So we want to leverage whatever they develop, rather than duplicate efforts.

    In the meantime, you do have the ability to add a global Terms and Conditions for your Give forms that each donor must agree to already. See our docs on that here:
    https://givewp.com/documentation/core/settings/display-options/terms-and-conditions/

    Regarding the provisions in GDRP about “The Right to Access” and the “Right to be Forgotten”, you can always provide donation data to donors via their donation history, but — to our understanding — financial information does not fall under protected information under GDPR that is allowed to be deleted — since that would create unacceptable accounting problems.

    Besides those items, did you have anything specific in mind that you want to make sure Give has out of the box for you? Keeping in mind of course that Give cannot be responsible for information outside of donors and donations of course.

    Thanks!

    Thread Starter William

    (@rfdmwilliam)

    Hi Matheus, unfortunately it does not seem like this will help my situation, and may not in future. The issue is simply that blocking Google Tag manger scripts prevents transaction from completing. This is the issue.

    IF you know of a workaround for this conflict please let me know.

    Thread Starter William

    (@rfdmwilliam)

    After contacting support for the GDPR plugin I have a potential workaround for those with a similar problem. If you are using the GDPR Cookie Consent plugin, this script will prevent the script blocker working on a specific page (in my case the transaction page) for cookies of a given category.

    
    add_action('wp_head', 'wt_cli_auto_accept_on_page');
    function wt_cli_auto_accept_on_page() {
    	if (class_exists('Cookie_Law_Info')) {
    		?>
    			<script>
    				var autoAcceptUrl = '/PAGEURL/';
    				//URL/slug pattern for auto accepting category
     var autoAcceptCategory = 'COOKIECATEGORY';
    				//slug name of the Google Tag Manager's category 
     if (window.location.href.indexOf(autoAcceptUrl) > -1) {	
    					$("script[data-cli-script-type='"+autoAcceptCategory+"']").each( function() {
    						$(this).attr('data-cli-block', 'false');
    					});
    				}				
    			</script>		
    		<?php
    	}
    }
    
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘GDPR Blocking Donation Conflict’ is closed to new replies.