Hi all, Shopify suggested that I post here to see what response I get - names of the experts referred to here have deliberately not been disclosed.
I recent sought help from a shopify expert to improve my site’s PageSpeed Insights (PSI) scores which had recently caused drop in Google Search Console Page Experience (GSCPE) Good URLs and Impressions. The expert made some changes which appeared to have an impressive and immediate effect on those PSI scores (Mobile 18 > 74 and Desktop 67 > 85) and, within a day or two, began to improve the GSCPE picture - but only improving from around 9% to 60%, as opposed to getting back to where it was a couple of weeks ago at 100%.
So, that’s all fine, but I was then contacted by second expert, who had quoted for the same job, who said that the first expert had used some dubious methods to achieve these results…
They have added malicious code to your website to fake improve the performance. Attached is the screenshot for proof. This malicious code is just bypassing the lighthouse score. This is not improving the speed but actually making it worse. Read this forum by one the merchant got scammed with such malicious code: https://community.shopify.com/c/Site-Speed/Store-speed-score-and-document-write/td-p/1290558 Being a Shopify Expert, this is our responsibility to keep the platform secure for the merchants. I have also attached the Tweet by the Performance Engineering leader about such a poor hack by some developers, Please beware. https://twitter.com/colinbendell/status/1422930517977096199
I approached the first expert with this opinion and got the following response…
document.write is not bad for SEO at all. It has no negative impact for SEO. There is indeed optimization done on the site, it is noticeable as well. That solution is used broadly by 90% , it is not a scam at all, i mean, if there is no noticeable improvement in the speed and if it was bad for SEO then it would be a scam i would say that too. in this case it is not.
The second expert referred to bypassing the lighthouse score - but I haven’t been using that as a speed reference (or Shopify’s own speed scores), I’m just using PSI. So I don’t know if the second expert is just trying to grab business by undermining the work of the first expert or whether they have a valid concern. Aside from faking responses, I also note from my PSI diagnostics that ‘For users on slow connections, external scripts dynamically injected via document.write() can delay page load by tens of seconds.’ - now that doesn’t sound good.
It’s a shame Shopify couldn’t or wouldn’t arbitrate on this. I go to Shopify experts because I’m not technical so it’s not possible for me to judge who is write and wrong in this instance - does anyone here have an authoritative and independent view that isn’t influenced by a craving to make a quick buck from a non-techie?