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.
- 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.
- Visitor opens pageBrowser starts loading HTML and CSS
- Font request to GoogleIP address sent to fonts.googleapis.com
- Cookie banner appearsConsent choice comes too late
- 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
Open the page in a private window
Use a fresh private window so you have no saved consent. Do not click the cookie banner.
Open DevTools Network tab
Press F12 (or Cmd+Option+I on Mac), open Network, then reload the page.
Filter for Google domains
Type
fonts.googleapis.comand thenfonts.gstatic.comin the filter box. Any rows mean fonts load from Google.Search the source
View page source and search for
fonts.googleapis,fonts.gstaticand@import url(. Also check your CSS files.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.
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.
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.
Remove the old links
Disable any plugin or theme setting that still enqueues fonts.googleapis.com. Clear all caches afterwards.
Use Shopify's font library
In Online Store > Themes > Customize > Theme settings > Typography, pick fonts from the built-in library. Shopify serves these from its own CDN.
Remove custom Google links
In Edit code, search theme.liquid and your CSS for fonts.googleapis.com and delete those lines.
Upload custom fonts if needed
Upload the font files under Content > Files and reference their URLs in an @font-face rule.
Look for tags that add fonts
Open your container and search Custom HTML tags for fonts.googleapis.com.
Remove or replace the tag
Delete the tag and load the self-hosted fonts from your site's CSS instead. Publish a new container version.
Upload fonts
Go to Site settings > Fonts > Custom fonts and upload the font files.
Remove Google Fonts
In the same Fonts panel, remove any Google fonts that were added, then select your uploaded fonts in the Style panel.
Check custom code
Search Site settings > Custom code for fonts.googleapis.com and delete it. Publish.
Check page and funnel settings
Fonts chosen in the builder are often loaded from Google. Look at the font settings and any custom code or head tracking code.
Use a self-hosted font
Add an @font-face rule in custom CSS pointing to font files you host, and remove Google links from custom code. If a builder font cannot be changed, pick a system font for that element.
Use Wix fonts
Wix serves its own fonts from its infrastructure. Choose fonts from the built-in list in the text settings.
Remove custom embeds
Under Settings > Custom code, and in any HTML embeds, delete links to fonts.googleapis.com.
Check the font source
Squarespace offers fonts from several providers, including Google. In Site Styles > Fonts, check which ones you use and see whether the panel shows the source.
Upload custom fonts
Where your plan allows, add files with Custom CSS (Design > Custom CSS) using @font-face, and remove Google links from Code Injection.
Download the font files
Get WOFF2 files for the weights you use from a Google Fonts download tool or the official repository, and place them in your project, for example /fonts/.
Add @font-face and delete Google links
Use the snippet below, then remove every
<link>and@importthat points to Google's font domains, including preconnect tags.
@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;
}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
Clear caches
Purge your site cache, plugin cache and CDN cache.
Reload in a private window
Open DevTools > Network, tick 'Disable cache' and reload.
Filter for Google domains
Filter for
googleapisandgstatic. The list should be empty. Your font files should appear under your own domain.Check the look
Confirm headings and body text use the right font and that no text shows in a fallback font.
Test other pages
Repeat on landing pages, the checkout and pages with embeds.
How to prevent it happening again
- 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.
Related issues
- PRF-090Font file fails to load (404/CORS) falling back to system fontFix guide
- PRF-093No font-display: swap on web fontsFix guide
- PRF-094Too many font weights/families loaded (8+ files)Fix guide
- PRF-091FOIT: text invisible for seconds while fonts loadFix guide
- PRF-092FOUT causes visible restyle and layout shiftFix guide
- PRF-098Wrong font loaded for a language (missing glyphs for accented chars)Fix guide