Siirry sisältöön
Vakavuus: KeskitasoOmistaja: KehitysKorjausaika: 30-90 min

Google Fonts ennen suostumusta tai ulkoinen fonttien lataus

Hostaa fontit paikallisesti ja poista etäkutsut, jotka lähettävät pyyntöjä ennen opt-inia.

Kattaa: pre_consent_external_font, google_fonts_before_consent

Miksi tämä on tärkeää

Ulkoiset fonttipyynnöt voivat paljastaa kävijän IP-osoitteen kolmansille osapuolille jo ennen suostumusta. Pelkkä verkkosiirto voi riittää aiheuttamaan findingin.

Näin tarkistat manuaalisesti

  1. Inspect the Network panel for requests to fonts.googleapis.com or fonts.gstatic.com on first load.
  2. Check the page source and CSS bundles for @import or remote font references.
  3. Verify whether theme, builder, or plugin settings re-enable hosted fonts after deployment.

Tyypilliset syyt

  • Theme or page builder loads Google Fonts by default.
  • Remote @import remains in CSS even after partial self-hosting.
  • Performance plugins aggregate CSS but preserve remote font URLs.

Korjaus GTM:ssä

  1. Remove any GTM-delivered custom HTML that injects Google Fonts or icon CDNs.
  2. Audit marketing landing page tags for embedded font imports.
  3. Keep typography assets outside tag-manager delivery unless strictly necessary.

Korjaus WordPressissä tai CMP-lisäosissa

  1. Disable Google Fonts in theme or builder settings and switch to local assets.
  2. Use a self-hosting plugin or theme option to download and serve fonts locally.
  3. Purge cache and verify the frontend no longer calls Google font endpoints.

Yleinen kehittäjäkorjaus

  1. Download required font files and serve them from your own origin or CDN.
  2. Replace remote stylesheet imports with local @font-face declarations.
  3. Remove fallback components that reintroduce hosted fonts on specific pages.

Näin varmistat, että korjaus toimii

  • Reload the page with a clean cache and confirm no Google Fonts requests occur.
  • Check multiple templates and breakpoints to ensure no remote font reference remains.
  • Run a fresh scan and verify the font-related finding is gone.

Seuraava vaihe

Aja uusi skannaus käyttöönoton jälkeen varmistaaksesi, että todellinen runtime-käyttäytyminen muuttui eikä vain bannerin teksti.

Google Fonts ennen suostumusta tai ulkoinen fonttien lataus — GDPR Fix Guide