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

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

OrangeKittyDPS
Visitor
1 0 0

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.

Replies 5 (5)

INA_MSWEB
Shopify Partner
1281 144 164

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 (</head>).
  6. Save the changes.

Note: The Google verification HTML code should look like the following example: <meta name="google-site-verification" content="[YOUR CODE HERE]"/>, replace [YOUR CODE HERE] with your unique verification code from Google.




Regards,

Santanu

If it’s helpful to you, please mark it as a solution.  


Need Help with Shopify Design, Migration, Speed, or Custom tasks?  
email: [email protected]
Try Our Conversion Booster app to get more sales | Connect Our Founder Linkedin

ChaoticEden
Tourist
4 0 0

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 </head> 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! 

Erin
Shopify Staff
1116 138 179

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

Erin | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

ChaoticEden
Tourist
4 0 0

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. 

Cedcommerce
Shopify Partner
718 76 113

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

CedCommerce || Shopify Expert
- Let us know if our reply is helpful for you. Like it.
- Was your question answered? Mark it as an accepted solution.
- For further discussion contact: Email ID- [email protected]
- Whatsapp:- Join Here