TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Google penalizes you for using Google Analytics

228 pointsby twapiabout 4 years ago

22 comments

cddotdotslashabout 4 years ago
Isn&#x27;t this a good thing? One part of Google made a tool that evaluates performance and they&#x27;re not giving any preference to their other tools, despite also being made by Google.<p>If they hadn&#x27;t objectively penalized you, everyone would be complaining that Google gave preferential treatment to their own products.
评论 #27026388 未加载
评论 #27026450 未加载
whatever_dudeabout 4 years ago
Tangent: I find GA to be mostly useless nowadays for any website used by a more tech savvy community. When comparing the GA results to server logs and a separate JS logging script, and already discounting for bots, it&#x27;s clear GA is only counting about 10% of my visits.<p>Too many people blocking that script. I have about 20 different sites using it that I manage in some form bit cannot couch for it anymore.
评论 #27026075 未加载
评论 #27025965 未加载
评论 #27027656 未加载
评论 #27030897 未加载
评论 #27026868 未加载
评论 #27031261 未加载
评论 #27029333 未加载
youngtaffabout 4 years ago
Lighthouse &#x2F; PSI scores are irrelevant to search ranking.<p>Data from the Chrome UX Report (CrUX) is going to be used in results ranking as part of the page experience update - this comes from real-world usage of Chrome<p>GA affecting Lighthouse scores may be a good storyline for Simple Analytics (and there are plenty of reasons not to use GA) but you can still use GA and pass all the core web vitals
评论 #27025499 未加载
评论 #27025074 未加载
评论 #27031060 未加载
评论 #27025519 未加载
mobilioabout 4 years ago
Using GA isn&#x27;t bad because there are two ways to run it.<p>First is when GA script is on &lt;head&gt; section. This is mostly popular, but making CWV scores little bit low.<p>Second is when GA script is anywhere on page, but not on &lt;head&gt;. Like before &lt;&#x2F;body&gt; or in &lt;body&gt;. This doesn&#x27;t hurt your CWV scores.
评论 #27027189 未加载
评论 #27031427 未加载
评论 #27027236 未加载
bhartzerabout 4 years ago
Official statement from Google&#x27;s John Mueller regarding this: <a href="https:&#x2F;&#x2F;twitter.com&#x2F;JohnMu&#x2F;status&#x2F;1389322980547833856" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;JohnMu&#x2F;status&#x2F;1389322980547833856</a><p>&quot;No, it&#x27;s not the case that we penalize for Google Analytics. We don&#x27;t special-case Google products in Search, but that goes both ways. The LH score is not what we use in Search, but my ancient WP + GA site is 100 there.&quot; John Mueller
masswerkabout 4 years ago
BTW, the same is true for Google Fonts. These prove to be the major bottleneck on my sites. (Since I&#x27;m hosting fonts locally, these are at 100% performance or close. We may argue that in practice these fonts would probably have been available in cache, but this tends to be less a thing, compare Firefox privacy policies.) This is actually a testament to the neutrality of Lighthouse.
评论 #27033369 未加载
robinj6about 4 years ago
This has frustrated me so much, as I spend a lot of time optimizing web performance. Gtag.js is pushed by analytics, however after loading it then async loads analytics.js. It is very inefficient, especially for sites that do not much more than track page views. It is the worst scoring factor on sites I optimize because there’s very little you can do about it without hacks.
评论 #27030294 未加载
xnxabout 4 years ago
Looks like they&#x27;re deploying the Simple Analytics script directly in the page source and the Google Analytics script via Google Tag Manager. Though Google Analytics through Google Tag Manager might be the Google-recommended way to deploy Google Analytics, this isn&#x27;t exactly an apples-to-apples comparison. Would be interesting to see if Google Analytics directly in the page had a different score than through Google Tag Manager. That said, I would almost always trade the miniscule score penalty for serving something through Google Tag Manager (including Simple Analytics) for ease of maintenance.
josefrescoabout 4 years ago
I really wish Google would split Analytics into two products. One for &quot;advanced&quot; website operators and one for &quot;simple&quot; users, aka business owners aka <i>real</i> people, not professional data analysts.<p>The problem is that most of my clients don&#x27;t care enough about their stats to pay $19&#x2F;month. So they opt for the &quot;free&quot; option (Google Analytics) which is now being positioned for the high-end market.
评论 #27028876 未加载
JohnTHallerabout 4 years ago
I like the idea of Simple Analytics but that pricing model is out of reach open source projects like PortableApps.com. Separating out by page views is tough when I only need a single user and don&#x27;t care about support. $600 a year for up to a million page views per month and &quot;contact us&quot; for more means it&#x27;d probably be at least a couple thousand dollars a year.
评论 #27026425 未加载
评论 #27026875 未加载
jscheelabout 4 years ago
My biggest complaint is that Lighthouse has a longstanding open bug where out-of-process iframes are counted in the main thread, thus causing third party embeds to wildly degrade the LH score, even when real performance is not affected much. This even happens to Google&#x27;s own YouTube embed. Add one YT video to a page and see how destructive it is to a LH score. It&#x27;s really difficult to explain to customers when they track their LH score like a professional bodybuilder tracks fat percentages.
processingabout 4 years ago
I tried both Simple Analytics &amp; Plausible but both are blocked by Adblockers which made then useless to us.<p>In the end - ditched Google Analytics and just use log files &amp; sales data.
aymaneSennoussiabout 4 years ago
Hello, this is stupid. Google doesn&#x27;t penalize you for using GA, but because you&#x27;re not using it the right way. If you want to use GA without JS overhead, use their API and build your own JS friendly tracker.
earthboundkidabout 4 years ago
That&#x27;s why I use <a href="https:&#x2F;&#x2F;github.com&#x2F;jehna&#x2F;ga-lite&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jehna&#x2F;ga-lite&#x2F;</a>. It saves a roundtrip and is quite small.
hrdwdmrblabout 4 years ago
You should see how much Facebook’s tracker impacts performance! GA does a relatively good job at not impacting performance compared with others. Not defending GA though, just whining about FB. :)
mtalhaashrafabout 4 years ago
I&#x27;m using Google Analytics to track pageview count on a website and it does appear to add around 0.4sec to Time-To-Interactive of the PageSpeed score.<p>And the GA script size is about 40KB.
varispeedabout 4 years ago
The amount of data Google gets off of people using GA is incredible and they don&#x27;t pay for it. Google should be paying people for using their GA.
评论 #27026426 未加载
ihaveajobabout 4 years ago
Wait until you measure of showing Google Ads!
digitcatphdabout 4 years ago
Anyone who takes this article seriously has (A) not read how to lie with statistics (B) does not analyze bias in articles based on the person writing it and (C) is directly contributing to a society of misinformation.
mdomsabout 4 years ago
This is an ad.
devmunchiesabout 4 years ago
TLDR; Google Analytics penalizes you for using Google Analytics (slower page speed), not Google.
bhartzerabout 4 years ago
Google doesn&#x27;t penalize sites in any way if you&#x27;re using their products (like GA or embedding a YouTube video). This is just silly and flat out wrong to say that Google penalizes you for using Google Analytics. It&#x27;s flat-out wrong and untrue.<p>It&#x27;s kind of like saying that buying Google Ads will boost your website&#x27;s organic search engine rankings.<p>I really suggest that SimpleAnalytics.com update the title tag on this, as it&#x27;s just wrong. Period.<p>That doesn&#x27;t mean that using Google Analytics doesn&#x27;t slow down your site (a bit) and Google should speed it up. I&#x27;ve had that complaint for years now, and Google just hasn&#x27;t done anything about it that we can noticeably see.