• Resolved psydrup

    (@psydrup)


    Hi there,
    I really love this plugin! It took me a while to find it as it’s looking very clean. Recently I got troubles with it: When I reject cookies, the website is not showing anything but a loading sign. If I accept the cookies everything is being shown as always. I have activated the plugin again so people from the forum might be able to help.

    Is there a way to completely delete the plugin so I can install it again and do all the steps for installation again?
    Thanks for your help!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    The problem is that your theme has included a Google Maps snippet in the inline javascript. You also have enabled the Google Maps integration, which blocks javascript that refers to Google Maps. As a result, the main script from your theme is blocked.

    You can either disable the Google Maps integration in Complianz/integrations/services, or you can add a mu-plugin to whitelist the creative script:

    function cmplz_creativo_whitelist($tags){
    	$tags[] = 'magnificPopup';
    	return $tags;
    }
    add_filter( 'cmplz_whitelisted_script_tags', 'cmplz_creativo_whitelist');

    More info on mu-plugins:
    https://complianz.io/adding-filters-with-mu-plugins-quick-easy/

    Thread Starter psydrup

    (@psydrup)

    Thanks for your reply! Under Complianz/integrations/services the google Maps service was not listed.
    I also went throught the steps with the assistent tool and there it showed that there was an error with google maps so I deleted it from the list but the problem remains. Any other ideas?

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    I would disable the integrations one by one until it starts working. If you post which one it is, I can take look what code it triggers on.

    Thread Starter psydrup

    (@psydrup)

    I did that and it’s the youtube and vimeo plugin. As I don’t really need them I disabled them and now it works. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can’t show website when cookies are rejected’ is closed to new replies.