Support » Plugin: GDPR Cookie Compliance » Add again force to reload on accept

  • Resolved nickfr


    i know that force to reload on accept is annoying but many people may need this..
    example after accept i load some plugin which are disabled
    ajax loading does not work with my function
    maybe you could add an option to force reload for anyone wants?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Moove Agency



    Thanks for using our plugin and for your comments!

    We’ve removed this feature since many users wanted the opposite: no page reload on acceptance.

    We plan to include this feature in the future releases of the plugin as an option in case that other users requested it too.

    We’ll keep you updated.

    Yes i know it was somewhat annoying

    But have you added ajax on accept or it just closes the popup?

    Because i have a plugin “pixelyoursite” that after accept of cookies it loads the pixel through ajax

    i used a function to enable this plugin when user accepts cookies
    if ( $cookie[‘thirdparty’] == 1 )

    After removing the page reload, it does not work so i went back to an older version of your plugin

    • This reply was modified 5 months, 2 weeks ago by  nickfr.
    Plugin Author Moove Agency


    Hi @nickfr,

    Thanks for your patience on this.

    Please update your plugin to the latest version (1.2.6) and using the code snippet below (the snippet should be added to your functions.php) you can enable the force reload.

    add_action( 'gdpr_extend_loc_data', 'gdpr_enable_force_reload', 10, 1 );
    function gdpr_enable_force_reload( $loc_data ) {
    	$loc_data['force_reload']	= 'true';
    	return $loc_data;

    I hope this helps.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.