[av_privacy_google_webfonts] – allows a user to disable the use of google webfonts in his or her browser. If you enable it and reload the page this is still in the code: Is it still loading the fonts or is the condition looking for cookie and fires if no cookie is found? `<!– google webfont font replacement –>
<script type=’text/javascript’>
if(!document.cookie.match(/aviaPrivacyGoogleWebfontsDisabled/)){
(function() {
var f = document.createElement(‘link’);
f.type = ‘text/css’;
f.rel = ‘stylesheet’;
f.href = ‘//fonts.googleapis.com/css?family=Open+Sans:400,600’;
f.id = ‘avia-google-webfont’;
document.getElementsByTagName(‘head’)[0].appendChild(f);
})();
}
</script>`
How can I test this?
I´ve got the same question … Google fonts still appear after reload …
I have the same issue
My question was concerning the script:
if(!document.cookie.match(/aviaPrivacyGoogleWebfontsDisabled/)){
Does it fire after user opt out?
If not everything is fine.
Hi,
Yes, if the user is opt out, we do disable the cookies.
Best regards,
Basilis