Issue: Merchant added Google Search Console (GSC) HTML verification to a Shopify Liquid theme and saw an editor warning at line ~59, worrying it was an error.
Clarifications: One reply suggested an undefined object or misplaced code and asked for the snippet. Another provided evidence that the same message appears in Shopify’s default Dawn theme and is an editor “improvement suggestion,” not an error; the verification meta tag was placed correctly under the header.
Status: The merchant likely completed verification via DNS at the domain provider. The HTML verification tag can remain in the theme without causing issues.
Guidance: No further action is needed regarding the warning; it won’t impact the store. Liquid is Shopify’s templating language; such editor hints can appear even in unmodified themes. Do not share store credentials publicly; if ever required, only via private message with minimal permissions.
Outcome: Largely resolved. Initial disagreement (undefined object/misplacement) was countered with the default-theme reference, and the consensus is to keep the code and ignore the non-blocking warning. Attachments/screenshots helped illustrate the warning but weren’t required for the fix.
Summarized with AI on December 11.
AI used: gpt-5.
Hi All, please can anyone help me in plain English. I’m
trying to get my store verified by Google. When trying the HTML method, the liquid them is showing an error in line 59 but I don’t know how to fix it. I’m really not techy. This is all a struggle. Screen shot included.
I was following instructions on the Google Search Console. I copied and pasted the suggested code underneath the header as demonstrated.
I now think I may have successfully verified with google via DNS through my domain provider’s website. However, still unsure whether this liquid them error message will cause any issues in the future?
What was your intention? Just verification on Google? If that’s all it was, then you can ignore the error for now.
One more quick note from the guidelines: Never share your credentials (collab code) from your store. Only do so if no one else can help you publicly. And even then, only via private message.
Hey, you can check against the default theme code where this line is exactly the same:
This is not an error message, just an “improvement suggestion”
Also – you’ve pasted your verification code properly and in the right place.
My unmodified theme displays the same warning (see screenshot below), so just leave it where it is. Do not share access to your store to unknown people.
And even if you do, be very careful with permissions you give this person.
Frankly, I am sick of this “account scavenging”.
Forum supposed to be a place for knowledge sharing first, not job solicitation, it’s in the forum rules.
And of course, not direct lying to force you to share store access.