How to add an HTML tag to a Retina theme homepage?

Topic summary

Adding a Google site-verification HTML meta tag to the Shopify Retina theme’s to prove site ownership to Google when Analytics auto-verification fails.

  • Where to add it: Edit Online Store > Themes > Actions > Edit Code > theme.liquid. Place the tag anywhere between the tags so it loads on every page.
  • Clarifications: “It” refers to the Google-provided verification meta tag (e.g., a <meta name=“google-site-verification” … />). One user confirmed the spans many lines in theme.liquid.
  • Issues raised: One user reported it didn’t work even after inserting at line 3 in theme.liquid; no troubleshooting steps were provided. Another asked if the tag can be removed after verification; one reply suggested leaving it in place since it causes no harm.
  • Access/UI concerns: A user couldn’t find “Actions” (saw only Customize and Plans), and another asked (in Portuguese) about doing this on the Starter plan—implying possible plan or UI limitations to code editing; unresolved.
  • Requests: A how-to video was requested but not provided.

Status: Core method provided and an example tag shared. Some users still face verification or editor-access issues; no final resolution on those cases.

Summarized with AI on January 8. AI used: gpt-5.

Google needs me to add an HTML tag to the homepage in the . The Analytics code will not verify for whatever reason so trying to add this code to get Google’s approval. Can anyone tell me what template it should go into?

Using Retina theme.

1 Like

Hello,

You will add this to your theme.liquid file so it displays on every page.

Online Store > Themes > Actions > Edit Code. In the top folder, you will see theme.liquid. Add it between the tags.

13 Likes

Thanks

thank you

so anywhere after on line 3? Can you be specific pls some ppl don’t know codes

1 Like

Oh i got it my bad. from Line 3 to 190 is considered tags. The line 3 shows all tags under it.

my screen is sorta damaged around the area so couldn’t properly see it

Mine didn’t work .. added to theme liquid line 3 where is and still nothing..

1 Like

Am I ok to remove the html tag after google claimed my website?

can someone please tell me what “it” is? and provide an example? thanks.

1 Like

tem como por no plano starter?

The “it” is the Google tag that Google provides. You get that and place it in the section of the shopify site.

It shows that you are the owner of the shopify site since you need to be an admin to manipulate the code content of your website. This puts a unique code that Google know is yours in there.

e.g.

I think do not remove it. There is no reason to. Keep it there and Google verifies it. There’s no “bad thing” that happens which extra meta tags

can you PLEASE post video on how to do it?

Don’t see actions in online store > themes >. There is customize and plans.