<story><title>Should you self-host Google Fonts?</title><url>https://www.tunetheweb.com/blog/should-you-self-host-google-fonts/</url></story><parent_chain><item><author>tolmasky</author><text>We’re basically forced to switch to self hosting due to the bizarre way Google implements statistics for Google Fonts. 1 out of 1000 requests will include a “tracking font” which is actually invalid and breaks document.fonts.load. This was an incredibly frustrating bug to track down.&lt;p&gt;Bug for those interested: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;google&amp;#x2F;fonts&amp;#x2F;issues&amp;#x2F;2345&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;google&amp;#x2F;fonts&amp;#x2F;issues&amp;#x2F;2345&lt;/a&gt;</text></item></parent_chain><comment><author>lightswitch05</author><text>Thanks for sharing! Also `fonts.gstatic.com` is a CNAME alias for `gstaticadssl.l.google.com` which is commonly blocked by ad blockers. uBlock Origin recently added CNAME based blocking, and PiHole is rolling out support for it too. Just another reason to host it yourself.</text></comment>
<story><title>Should you self-host Google Fonts?</title><url>https://www.tunetheweb.com/blog/should-you-self-host-google-fonts/</url></story><parent_chain><item><author>tolmasky</author><text>We’re basically forced to switch to self hosting due to the bizarre way Google implements statistics for Google Fonts. 1 out of 1000 requests will include a “tracking font” which is actually invalid and breaks document.fonts.load. This was an incredibly frustrating bug to track down.&lt;p&gt;Bug for those interested: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;google&amp;#x2F;fonts&amp;#x2F;issues&amp;#x2F;2345&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;google&amp;#x2F;fonts&amp;#x2F;issues&amp;#x2F;2345&lt;/a&gt;</text></item></parent_chain><comment><author>arthurcolle</author><text>The guy who is affiliated with Google Fonts who showed up on a thread a few days ago said that he didn&amp;#x27;t think there was any tracking related to new implementations of Google Fonts stuff.&lt;p&gt;I guess this says the opposite. Let me try to dig up the thread for completeness...&lt;p&gt;EDIT: Well that was faster than I thought I&amp;#x27;d be able to do. Here&amp;#x27;s the comment, and the thread: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;news.ycombinator.com&amp;#x2F;item?id=22369415&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;news.ycombinator.com&amp;#x2F;item?id=22369415&lt;/a&gt;</text></comment>