Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Google Fonts loaded from Google: GDPR risk and how to fix it

OPS-340Low impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

Google Fonts is a free library of web fonts. The usual embed code makes the visitor's browser download the font from Google's servers (fonts.googleapis.com for the CSS and fonts.gstatic.com for the font files). To do that, the browser sends Google the visitor's IP address, plus details like the page address and browser type.

Why it costs you leads or sales

The direct impact on conversions is low. Visitors do not see anything wrong. The cost is legal and reputational: warning letters, possible damages claims, and time spent responding. It also undermines the work you do on consent, because a request to Google happens before any banner choice.

What happens on each page view
  1. Visitor opens pageBrowser requests your HTML
  2. Page asks Google for fontsfonts.googleapis.com is called
  3. IP address sharedGoogle receives the visitor's IP
  4. No consent or basisLegal exposure under GDPR

The font request leaves your domain before the visitor has made any consent choice.

How to check if your site has it

Find Google Fonts requests
  1. Open DevTools

    In Chrome, press F12 and open the Network tab. Tick Disable cache.

  2. Reload the page

    Type fonts.g in the filter box. Any hit on fonts.googleapis.com or fonts.gstatic.com means fonts load from Google.

  3. Check other page types

    Repeat on the home page, a landing page, the checkout and a blog post. Different templates or plugins may load fonts differently.

  4. Search the source

    View page source and search for googleapis. Also check your CSS files for @import url(https://fonts.googleapis.com.

How to fix it

The principle is the same everywhere: download the font files, upload them to your own site, point your CSS at them and remove every link to Google. The steps depend on your platform.

Self-host Google Fonts by platform
  1. Find where fonts come from

    Check your theme settings (Customizer or the theme's typography options) and page builder settings. Many themes and builders such as Elementor and Divi have an option to load Google Fonts locally or disable them.

  2. Use a local fonts option or plugin

    Turn on the local fonts setting in your theme or builder if it exists. Otherwise install a plugin that downloads and serves Google Fonts locally, such as OMGF, and run its scan.

  3. Remove leftovers

    Clear your caching plugin and any CDN cache, then recheck in DevTools for remaining Google requests.

Self-hosted @font-face rulecss
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-v13-latin-regular.woff2') format('woff2');
}

body {
  font-family: 'Inter', Arial, sans-serif;
}
Remove tags like these from your <head>html
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter&display=swap" rel="stylesheet">
Before and after self-hosting

Loaded from Google

  • Browser calls fonts.googleapis.com
  • Visitor IP shared with Google
  • Happens before any consent choice
  • Extra third-party connection

Self-hosted

  • Fonts served from your own domain
  • No request to Google for fonts
  • No consent needed for the font itself
  • One fewer connection to set up

How to confirm it's fixed

Fix confirmation
  • Network tab filtered on google shows no fonts.googleapis.com or fonts.gstatic.com requests
  • Fonts still display correctly on desktop and mobile
  • Checked in a private window with cache cleared
  • Home page, landing pages, checkout and blog all tested
  • Page source and CSS files contain no googleapis links
  • Caching plugin and CDN caches purged

How to prevent it happening again

Google links tend to creep back when someone installs a new theme, plugin or page builder template, or pastes an embed code from a design tool. Make font loading part of your launch checklist.

Habits that keep it fixed
  • Add 'no third-party font links' to your build and design handover notes
  • Retest the Network tab after every theme, plugin or template change
  • Ask designers to supply WOFF2 files rather than Google embed codes
  • Review the same for other third-party resources such as maps and video embeds
  • Re-run the check quarterly

How FunnelGuard handles this

FunnelGuard does not check for Google Fonts being loaded from Google today. It is a possible future check. FunnelGuard's robot visitor does run your real journeys such as lead forms and checkouts and checks the steps and tracking hits, so it can show if a journey step breaks. That does not cover third-party font requests.

Frequently asked questions

Questions people ask

Is using Google Fonts illegal under GDPR?

Not by itself. The issue is loading fonts from Google's servers, which shares the visitor's IP address with Google. A 2022 Munich court found this unlawful without consent. Self-hosting the fonts avoids the problem.

Why am I getting a warning letter about Google Fonts?

Some people and law firms scan websites for requests to fonts.googleapis.com and send demands for damages after the Munich ruling. Check your site, self-host the fonts, and get legal advice before paying or replying to any claim.

How do I check if my website uses Google Fonts?

Open DevTools, go to the Network tab, reload the page and filter by fonts.g. If you see requests to fonts.googleapis.com or fonts.gstatic.com, your site loads fonts from Google.

How do I self-host Google Fonts?

Download the font files (WOFF2) from Google Fonts, upload them to your own server or platform, add an @font-face rule that points to them and remove all links to fonts.googleapis.com. On WordPress, a plugin such as OMGF can automate this.

Do I need a cookie banner for Google Fonts?

If fonts load from Google, a request is sent before the visitor can choose, so a banner does not fully solve it. Self-hosting removes the need to ask for consent for the fonts.

Does self-hosting Google Fonts change how my site looks?

No, if you use the same font files and weights. Make sure you upload every weight and style you use, and keep a fallback font in your CSS.

Does FunnelGuard check for Google Fonts?

No. FunnelGuard does not check this yet, though it is a possible future check. For now, use the DevTools Network check or a privacy scanner.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.