Some of your users use the CCA Plugin to prevent display of CN cookie bar to non EU visitors (and no cookie blocking). This month, thanks to GDPR, there’s been an upsurge in visits to my site’s page on this topic (e.g. as mentioned in this CN support request).
It uses your cn_cookie_notice_output filter. If the visitor is from outside the EU (EEA countries can be added) it returns an empty string to Cookie Notice – result no Cookie Notice displayed, and no blocking of cookies).
After you update CN for GDPR will an empty string “cn_cookie_notice_output” still prevent BOTH display of cookie bar AND allow cookies for non EU visitors? If not, will additionally returning true via “cn_is_cookie_accepted” do the trick for non-EU?
- could you provide a CN “do nothing” filter? (if default false do Cookie Consent stuff; if true do nothing); or
- alternatively, Cookie Notice could add an “EU visitor only” check with a couple of lines using CCA plugin’s cca_is_EU() function:
if ( function_exists('cca_is_EU') && ! cca_is_EU() ): // if CCA plugin is running and visitor not from EU // CN does nothing else: // do your usual CN magic endif;
Sorry if this is a duplicated request (I tried posting twice on the Dfactory forum but nothing appeared to happen).
- The topic ‘CN filters used by sites, and upcoming GDPR compliant Cookie Notice’ is closed to new replies.