Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #1113411

    Hello,

    how can I find out whether my website is (still) using GoogleFonts?
    I use a GoogleFont which I’ve uploaded locally through the Enfold-option. Now I’ve made made a change in the function.php according to a topic here. I would like to find out if it works.
    I’m concerned about the GDPR and like to be sure that no connection is made to Google server. I’ve read that some plugins might use GoogleFonts.

    Thank you,
    Niklas

    #1113452

    Hey Niklas,

    You can use GoogleFonts by adding the scripting within the header.php file.

    Best regards,
    Jordan Shannon

    #1113565

    Hi Jordan,

    which scripting exactly?
    My approach is to disable any connection from my site to the GoogleFonts-server. How am I to do that?
    This whole GDPR-business is confusing, sorry!

    Best regards,
    Niklas

    #1113749

    Hi,

    Refer to the following:

    Best regards,
    Jordan Shannon

    #1114309

    Hello,

    Thank you. For my understanding: if I have uploaded the GoogleFont via the Custom Font Manager in Enfold, do I have to add anything to the Stylesheet style.css?

    Best regards,
    Niklas

    #1114371

    Hi,

    Do you want to add or remove Google Fonts? I’m not sure what you are asking.

    Best regards,
    Jordan Shannon

    #1114413

    Hi,

    I want to load GoogleFonts locally so that no connections are made to the Google server. I’ve read the thread you’ve sent me. It’s confusing because there are posts before the GDPR was active and some after the GDPR was active, and there are a lot of suggestions and it’s not clear to me which is correct and which not. So what I’ve done is, I’ve uploaded the font I use locally via the Enfold Custom Font Manager. Nevertheless, there are still connections to the Google servers being made. There is the Roboto font loaded and the Cabin font loaded. I want to find out, why this is happening.
    There are two YouTube-videos embedded on the page, maybe this is the reason for the Roboto font?! I don’t know where the Cabin font might come from. So what am I to do? Is it enough to upload the Roboto and Cabin font also locally? But then, how to make sure, they load locally and the connection to the google server are surpressed?

    Best regards,
    Niklas

    #1114482

    Hi Niklas

    I want to load GoogleFonts locally so that no connections are made to the Google server.

    My reply in this thread will help you I guess. I explained it step by step there.

    But then, how to make sure, they load locally and the connection to the google server are surpressed?

    1) If you are using Firefox for example -> Go to your website, right click, choose “Element untersuchen” (inspect element).
    2) Switch to the tab “Netzwerk” at the bottom and reload the page.
    3) You will see all connections that are made when you page is loaded. On top of it, there is a small field called “URLs filtern” or similar.
    4) Type in fonts.googleapis.com to check whether Google Fonts are loaded via a Google server or not. If you don’t see any URLs after your search, your Google fonts load locally (which is great concerning GDPR).

    Let me know if you have any questions.

    Cheers
    Michael

    #1114603

    Hi Micheal,

    thank you for your help. It is still not working (I don’t know, what I am missing).
    When I go to “Untersuchen”, I find the entry fonts.googleapsis.com/css?family=questrial and a bit further down fonts.googlestatic.com/s/roboto/….

    1. I go to Google Web Fonts Helper, I download Questrial and Roboto Font.
    2. I unzip the downloaded files.
    3. I create a directory in my “Enfold Child Theme”-root-directory (FTP). I call it fonts and move the unzipped files into it.
    4. I create a fonts.css and add the @font-face arguments given by Google Web Fonts Helper. Then I put that fonts.css into the root-directory of my “Enfold Child Theme”-root-directory.
    5. I copy the header.php from my “Enfold”-directory into my “Enfold Child Theme”-directory. I edit that header.php in my Child-Theme-directory by adding <link rel=”stylesheet” type=”text/css” href=”/fonts.css”> between <head></head>
    6. I flush the cache and I still see the entries fonts.googleapsis.com/css?family=questrial and a bit further down fonts.googlestatic.com/s/roboto/.

    What am I missing?
    (In my website-layout there is no header, but a sidebar. That has nothing to do with the above, right?)

    Thank you for your time,
    Niklas

    #1114646

    Hi Niklas,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1115310

    Hi Victoria,
    sure. I’ve attached the details in private.
    Thank you,
    Niklas

    #1115574

    Hi Niklas,

    Credentials did not work for me. Could you please update the credentials?

    Best regards,
    Victoria

    #1115611

    Hi Victoria,

    You find the correct credentials below.

    Thank you,
    Niklas

    #1115895

    Hi Niklas,

    I don’t see the code from here
    https://kriesi.at/support/topic/disable-google-font-loading-via-google/
    added in the functions.php.

    Also, you have the header.php in your child theme, is it from the latest version?

    Best regards,
    Victoria

    #1116016

    Hi Victoria,

    Now, I’ve added this code from the thread you mention to the functions.php:

    add_filter( 'avf_output_google_webfonts_script', 'my_output_google_webfonts_script', 10, 1 );
    
    function my_output_google_webfonts_script( $activate )
    {
    	return false;
    }

    It seems as if the Questrial-font doesn’t load anymore.
    There is still the Cabin font being loaded here: https://one-bound-beyond.org/vision/
    and the Roboto font being loaded here: https://one-bound-beyond.org/video/

    I guess the Thrive Leads popup is responsible for the Cabin font and the YouTube video is responsible for the Roboto font. Is there something I can do about this?

    The header.php should be from the latest version because I’ve just moved it there a few days ago.

    Best regards,
    Niklas

    #1116420

    Hi Niklas,

    Yes, some plugins are loading fonts too. You might want to check the plugins docs and settings.

    Best regards,
    Victoria

    #1116436

    Hello Victoria,

    when I go to the “Sources” tab, these entries are shown. That doesn’t mean that there are connections made to the Google servers?

    Best regards,
    Niklas

    #1117077

    Hi,

    I don’t think you should be worrying yourself about these details. All you need to do is explicitly state in your privacy policy page or consent form that by continuing to use the site, they (the users) are giving you (owner of the site) consent to connect to services provided by Google such as Youtube and with it all the resources (fonts, images etc) required to run the application. If that is not enough, try to lazy load your videos so they won’t display without user interaction.

    // http://www.privacy-regulation.eu/en/article-5-principles-relating-to-processing-of-personal-data-GDPR.htm

    Best regards,
    Ismael

    #1117821

    Hello Ismael,

    alright. Thank you. This thread can be closed then.

    Best regards,
    Niklas

    #1117930

    Hi Niklas,

    Thanks for the update, I’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 20 posts - 1 through 20 (of 20 total)
  • The topic ‘Does the website use GoogleFonts’ is closed to new replies.