Schweregrad: MittelVerantwortlich: EntwicklungZeit bis zur Behebung: 30-90 min
Google Fonts vor Einwilligung oder externe Font-Requests
Hosten Sie Schriften lokal und entfernen Sie externe Font-Aufrufe, die schon vor dem Opt-in Requests auslösen.
Umfasst: pre_consent_external_font, google_fonts_before_consent
Warum das wichtig ist
Externe Font-Requests können die IP-Adresse eines Besuchers schon vor der Einwilligung an Dritte übermitteln. Schon die reine Übertragung kann für einen Fund ausreichen.
So prüfen Sie das manuell
- Inspect the Network panel for requests to fonts.googleapis.com or fonts.gstatic.com on first load.
- Check the page source and CSS bundles for @import or remote font references.
- Verify whether theme, builder, or plugin settings re-enable hosted fonts after deployment.
Typische Ursachen
- 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.
Behebung in GTM
- Remove any GTM-delivered custom HTML that injects Google Fonts or icon CDNs.
- Audit marketing landing page tags for embedded font imports.
- Keep typography assets outside tag-manager delivery unless strictly necessary.
Behebung in WordPress oder CMP-Plugins
- Disable Google Fonts in theme or builder settings and switch to local assets.
- Use a self-hosting plugin or theme option to download and serve fonts locally.
- Purge cache and verify the frontend no longer calls Google font endpoints.
Allgemeine Entwicklerkorrektur
- Download required font files and serve them from your own origin or CDN.
- Replace remote stylesheet imports with local @font-face declarations.
- Remove fallback components that reintroduce hosted fonts on specific pages.
So bestätigen Sie, dass die Behebung funktioniert
- 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.
Nächster Schritt
Starten Sie nach dem Deployment einen neuen Scan, um zu bestätigen, dass sich das Laufzeitverhalten geändert hat und nicht nur der Bannertext.