How can I add Google HTML to the Dawn theme on my store?

Topic summary

A user needs to add Google’s HTML verification code to their Shopify store using the Dawn theme but is struggling with the correct placement. The code is needed for Google verification, which is also required for Meta (Facebook/Instagram) verification.

Recommended solutions:

  • Add the verification code to the theme.liquid file in the Layout folder
  • Insert the code just before the closing </head> tag
  • The code should follow this format: <meta name="google-site-verification" content="[YOUR CODE HERE]">
  • For section-specific placement, check if that section has custom code settings

Resolution:
The original poster tried multiple manual methods without success. They ultimately resolved the issue by using a Shopify app from the store designed for Google verification, which worked where manual code insertion failed. The verification code either didn’t appear visibly on the published site or wasn’t recognized by Google when added manually.

Summarized with AI on November 10. AI used: claude-sonnet-4-5-20250929.

I need to add the Google HTML in a specific section in my Shopify store. I’m using the Dawn Theme and I added the HTML as a link under the Announcement section but that isn’t verifying my website with google.

Can someone let me know where I am to enter the HTML in the Dawn theme please.

Hi @OrangeKittyDPS

I hope you are doing good and welcome to the Shopify Community!
I am Santanu from MS Web Designer (Top Rated Shopify Certified Experts and eCommerce Consultant from Singapore).

To add the Google verification HTML code in your Shopify store, follow these steps:

  1. Log in to your Shopify store’s admin panel.
  2. Go to the “Online Store” section and click on “Themes”.
  3. Find the theme you want to edit and click on the “Actions” button, then select “Edit code”.
  4. In the “Layout” folder, find the “theme.liquid” file and open it.
  5. Scroll to the head section and paste the Google verification HTML code just before the closing head tag ().
  6. Save the changes.

Note: The Google verification HTML code should look like the following example: , replace [YOUR CODE HERE] with your unique verification code from Google.

Regards,

Santanu

Hello @OrangeKittyDPS ,

You can add the Google HTML code to your website’s theme.liquid file in the layout folder.

Also if you want to add the code in a specific section then you need to check if that section has a setting for adding custom code otherwise find the section file and the google code there.

Hope it helps. Let us know if you need any help.

Regards,

CedCommerce

I am still struggling with this. I am trying to get verified so I can also get verified with Meta for Facebook and Insta but this is becoming really frustrating. I have tried entering the code noted in so many ways and it is still not working. I have tried adding it using before the line of code and after I have tried including this string <meta name=“google-site-verification” content=" along with my code as indicated above. I have removed the brackets prior to adding my own code, I have added it back in wondering if the author didn’t mean it as just a place to show where you add your code but, perhaps I am overthinking it. Can anyone who has successfully gotten the google console verified so they can proceed to the next verification process and can put technical language into layman’s terms easily please help. I am not an idiot and can follow instructions if communicated clearly.

Thank you!

Hi, there! You can find the steps to do this, along with examples of where to put the HTML tag, in our guide on finding and submitting your sitemap to Google here.

Sorry but this never worked. I ended up utilizing the simple fix, the app that is in the store. That was what actually made it work in my case. I tried every way to follow the instructions provided and none of these instructions worked for me. The code either populated visibly on my published site for all to see or it never showed to allow verification. Thank you anyway.