Shopify score does not match pagespeed insight score? See this thread

oreoorbitz
Shopify Partner
162 20 99

I noticed a few threads where people reported the same issue, and I thought it'd be a good idea to make a thread to explain issue.

So basically, the issue is that people  have been getting their site optmized, their score is 90ish on PageSpeed Insights(PSI), they're happy.

However, now they see that their PSI score on shopify is noticable worse then on PageSpeed Insights, what gives?! now they are upset, probably at Shopify for not working correctly as usual!

The reason, in most cases is becuase instead of optmizing how content loads, and helping store owners remove content from their site to speed up a site, the people who optmized the sites like this used a hack to not load any content when PageSpeed Insights loads the page.

The script checks what type of user is loading the page, if the user looks like PageSpeed Insights, then they load a blank page basically, if the user is a real user, they load a normal page.

How do I confirm if my site is using the hack?

Go the your site

Open the element inspect with ctrl + shift + c or cmd + shift + c if your on a mac.

Click inside the element inspector, then press crtl + f or cmd + f

Type in document.open() into the search input

If you see a block of code that looks like this:

Screenshot_123.jpg

Then your site is using the hack to hide content for PSI. 

Shopify must of recently changed some settings of how their Speed score works, so the hack doesn't hide the page content for Shopify, that's why the scores are diferent.

 

Is this hack good or bad for SEO?

I don't know. Technically, this hack improves your pagespeed insight score, however, your not really changing your user expierence, so it won't do anything to improve your bounce rate, its also likley that Google gets wise to these sort of hacks and starts punishing sites for using them, SEO wise. 

Available for freelance. I specialize in speed improvement and theme development.
https://www.upwork.com/fl/orionholmes

If your looking for a pagespeed solution for your Website, take a look at: https://renderbetter.com/
Replies 14 (14)
demib
Shopify Partner
119 12 60

Cloaking (as it is called) for Google Pagespeed Insight does not influence search results. PSI is just a tool. Although the mythology is similar to what Google use its not done from the same tool. So Google Search won't actually see this as cloaking and I have not seen any penalties from it. But also you get no benefits. 

The only ones you really cloak with this is the merchants that paid for speed optimization without actually getting any. I would call it fraud and recommend any merchant that experience this to request a refund.  

SEO Geek since 1996, consultant author and public speaker. Admin of the Shopify SEO Facebook Group

Was your question answered? Kindly mark it as an Accepted Solution :-)
PaulNewton
Shopify Partner
3351 215 642

Fundamentals about the two scores not matching:

Shopify Score IS NOT representative of pagespeed insights score by itself 

Scores in your online store speed report might be different than scores you calculate using PageSpee...  

via https://help.shopify.com/en/manual/online-store/store-speed/speed-report#:~:text=Scores%20in%20your%... 


Further Store ranking is not the same as page performance Shopifys' Score is averaged against other similar stores.

Your ranking represents how your online store’s speed score compares to Shopify stores similar to yours
via https://help.shopify.com/en/manual/online-store/store-speed/speed-report#:~:text=Your%20ranking%20re... 

 

 

Problem Solved? ✔️Accept and ? Like the solution so you can help others.
Buy me a coffee ☕ paypal.me/paulnewton or donate to eff.org
Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com
PaulNewton
Shopify Partner
3351 215 642

Per @demib's point , The main effect of this anti-pattern is it leads to misassumptions of why pages are not ranking as well as they should for something that tools show as a "high" performant page.

So the ranks are lower than expected because the real poor performance of the page is affecting search engine crawlers and rankings.

 

It's like someone broke the speedometer in your car and you keep getting tickets for obstructing traffic but you KNOW your going "fast" because the tools have been made to lie to you.

 

Problem Solved? ✔️Accept and ? Like the solution so you can help others.
Buy me a coffee ☕ paypal.me/paulnewton or donate to eff.org
Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com
demib
Shopify Partner
119 12 60

personally I have only cloaking PSI on a few occasions for personal pride. When having a website optimized for a perfect 100/100 score it's just super annoying to drop one point because you are adding the Google Analytics script. So yes, in a few occasions I just stripped that script for PSI - just for my own pleasure hehe

BUT at least I know what I did and that it only gives me fake brag value hehe

SEO Geek since 1996, consultant author and public speaker. Admin of the Shopify SEO Facebook Group

Was your question answered? Kindly mark it as an Accepted Solution :-)
nuova-idea
Excursionist
36 0 9

Got the same from a pseudo "speed developer". It is just a scam and cheat. It also hurts the store itself. 

All who find such a cheat should report the developers (mostly are on Fiverr)  and ask refund.

This is clearly a scamming tool to collect money without do any real work. 

Disgusting!

 

nuova-idea
Excursionist
36 0 9

Hi ALL,

first of all Shopify stopped to use Lighthouse to calculate the speed score, this is why the sudden drop of speed score in Shopify in comparison with Lighthouse or Xmetric.

Now the why: some developers do ZERO work on performing your store, they only add a hacking code that detect speed checkers. When it detect speed checkers, it serve an empty page, with no content. That's why your Lighthouse or Xmetric speed score it is so high. Now that Shopify stop linking its speed report with such speed checkers, the scam it become clear to all.

The code contain such lines document.write / document.open and are inserted in the theme.liquid (use ctrl+g to locate them). If you find such lines, you been scammed. 

I suggest everyone who got this scam to reply to my post here and add the name or data of the developer to help others to do not fall in the same scam.

My scammer was hired on Fiverr: 

nuovaidea_0-1630641048185.jpeg

 

 It is taking 2 weeks of work and lot of money to fix this issue. Cause it also damage how the store works. 

 

Please everyone, spread the voice as much as possible because Shopify still did not made any official statement on this, and many store owners have no idea at all about this.

Let's make sure those scammers get banned and get no more money from store owners.

 

nagumi
Explorer
48 1 18

I fell for the same scam. Hired the scammer on shopify expert marketplace, not fiverr. Here's the code I found: 

document.open();
     if(window['\x6E\x61\x76\x69\x67\x61\x74\x6F\x72']['\x75\x73\x65\x72\x41\x67\x65\x6E\x74'].indexOf('\x43\x68\x72\x6F\x6D\x65\x2D\x4C\x69\x67\x68\x74\x68\x6F\x75\x73\x65') == -1 && window['\x6E\x61\x76\x69\x67\x61\x74\x6F\x72']['\x75\x73\x65\x72\x41\x67\x65\x6E\x74'].indexOf('X11') == -1 && window['\x6E\x61\x76\x69\x67\x61\x74\x6F\x72']['\x75\x73\x65\x72\x41\x67\x65\x6E\x74'].indexOf('GTmetrix') == -1) {document.write({{pDescription | json}});}  else{
     document.write("<html><p>.</p></html>");}document.close();</script>

 

Any legit experts here that can help me make my site faster? I'm willing to pay.

jamesadam
New Member
4 0 0

i am also scammed on fiver