Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Google Fonts loaded without consent: how to find and fix it

PRF-097Medium impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

Many themes and page builders load fonts with a line like <link href="https://fonts.googleapis.com/css2?family=Roboto">. When a page opens, the visitor's browser asks Google's servers for the font. That request carries the visitor's IP address and browser details.

Under the GDPR (the EU data protection law), an IP address counts as personal data. Sending it to a third party without a legal basis or consent can be a problem. European courts and regulators have taken this view in some cases, for example a German court in 2022. Rules differ by country, so this guide is not legal advice.

The issue is often hidden. The fonts may come from your theme, a plugin, an embedded widget, or a Google Tag Manager tag, not from anything you added yourself.

Why it costs you leads or sales

This is a medium-impact issue. It rarely breaks a page, but it creates risk and friction.

Where the cost shows up
  • Legal exposure: warning letters or complaints about EU visitors' data being sent to Google without consent.
  • Consent gaps: your cookie banner says nothing loads before consent, but fonts do. That mismatch is hard to defend.
  • Trust: privacy-aware buyers in the EU may leave if they see a policy that does not match what the site does.
  • Speed: an extra connection to Google's domains adds delay compared with fonts served from your own domain.
What happens on page load
  1. Visitor opens pageBrowser starts loading HTML and CSS
  2. Font request to GoogleIP address sent to fonts.googleapis.com
  3. Cookie banner appearsConsent choice comes too late
  4. Consent recordDoes not cover the earlier request

The font request goes to Google before the visitor can answer the cookie banner.

How to check if your site has it

Find Google Font requests
  1. Open the page in a private window

    Use a fresh private window so you have no saved consent. Do not click the cookie banner.

  2. Open DevTools Network tab

    Press F12 (or Cmd+Option+I on Mac), open Network, then reload the page.

  3. Filter for Google domains

    Type fonts.googleapis.com and then fonts.gstatic.com in the filter box. Any rows mean fonts load from Google.

  4. Search the source

    View page source and search for fonts.googleapis, fonts.gstatic and @import url(. Also check your CSS files.

  5. Check key pages

    Repeat on the home page, a landing page, the checkout and any page with an embed. Different templates can load different fonts.

How to fix it

The most reliable fix is to self-host the fonts: download the font files, upload them to your own server and point your CSS to them. Google's fonts are open source, and their licences allow this. Then remove every link to Google's font domains.

Self-host fonts by platform
  1. Find where the font is loaded

    Check your theme settings (Customizer or Site Editor typography) and plugins. Many themes have a 'Load Google Fonts locally' option. Turn it on if it exists.

  2. Use a local font option

    Block themes can add fonts through Site Editor > Styles > Typography > Fonts, which stores files on your site. Otherwise a font-hosting plugin can download and serve them locally.

  3. Remove the old links

    Disable any plugin or theme setting that still enqueues fonts.googleapis.com. Clear all caches afterwards.

Self-hosted font with @font-facecss
@font-face {
  font-family: "Roboto";
  src: url("/fonts/roboto-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Roboto", Arial, sans-serif;
}
Before and after self-hosting

Fonts from Google

  • Browser calls fonts.googleapis.com and fonts.gstatic.com
  • Visitor IP sent to Google on first load
  • Cookie banner has no control over it

Fonts from your domain

  • Font files load from your own server or CDN
  • No request to Google's font domains
  • Same look, and no extra third-party connection

How to confirm it's fixed

Verify the fix
  1. Clear caches

    Purge your site cache, plugin cache and CDN cache.

  2. Reload in a private window

    Open DevTools > Network, tick 'Disable cache' and reload.

  3. Filter for Google domains

    Filter for googleapis and gstatic. The list should be empty. Your font files should appear under your own domain.

  4. Check the look

    Confirm headings and body text use the right font and that no text shows in a fallback font.

  5. Test other pages

    Repeat on landing pages, the checkout and pages with embeds.

How to prevent it happening again

Habits that keep fonts local
  • Choose self-hosted or built-in fonts when you start a new theme, template or landing page.
  • After a theme update or plugin install, re-run the Network check for Google domains.
  • Ask agencies and freelancers not to paste Google Fonts embed code.
  • Review Custom HTML tags in Google Tag Manager when you publish changes.
  • Check new embeds (forms, chat, booking) for third-party font requests before launch.
  • Add a recurring reminder to scan key pages for third-party requests.

How FunnelGuard handles this

FunnelGuard does not check for Google Fonts loaded without consent today. It is a possible future check, and you should not rely on FunnelGuard for it.

What FunnelGuard does do nearby: a robot visitor runs your real customer journeys on a schedule, such as lead forms and checkouts, and checks each step, the tracking hits sent to ad and analytics platforms, and whether test leads reach your inbox and CRM. If a font change or a theme update breaks a form or a step, that kind of failure can show up in those journeys. It does not tell you which third-party domains your pages contact.

To watch for this issue yourself, repeat the DevTools Network check after each site change. A privacy scanner or a cookie-compliance tool that lists third-party requests can also help, as can the free read-only audit available from FunnelGuard for other site checks.

Questions people ask

Is using Google Fonts illegal under GDPR?

Not by itself. The risk comes from loading fonts from Google's servers, which sends the visitor's IP address to Google without consent. Some EU courts have treated this as a violation, so many sites self-host. Ask a qualified lawyer about your own case.

Why is my site still loading Google Fonts after I removed them?

Fonts are often added by a theme, a plugin, a page builder, an embedded widget or a Google Tag Manager tag. Search your source, CSS files and tag container for fonts.googleapis.com and clear all caches. Then recheck in the Network tab.

How do I check if my website uses Google Fonts?

Open your page in a private window, press F12, go to the Network tab, reload and filter for fonts.googleapis.com and fonts.gstatic.com. Any requests mean fonts load from Google. You can also search the page source for those domains.

How do I self-host Google Fonts?

Download the WOFF2 files for the weights you use, upload them to your own server, and add @font-face rules pointing to them. Then remove all links to Google's font domains. Some platforms and themes have a built-in option to do this.

Do I need cookie consent for Google Fonts?

If fonts load from Google, the request happens at page load, so consent would have to come first, which most banners cannot do for CSS links. Self-hosting removes the need, because no data goes to Google.

Does self-hosting Google Fonts affect page speed?

It often helps, because the browser does not need to open a connection to another domain. Speed still depends on file size, caching and how many weights you load. Use WOFF2 files and only the weights you need.

Does FunnelGuard detect Google Fonts without consent?

No. FunnelGuard does not check this today, though it is a possible future check. It monitors journeys such as forms and checkouts, tracking hits and lead delivery. For fonts, 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.