How to add Google HTML code to Dwell template

Hello.

I am trying to add the Google HTML code and I am using the Dwell template. I was looking for theme.liquid but was not able to locate that file. I’m assuming the code must be added within the section of that file. Can anyone point me in the right direction?

Thanks in advance.

Pete

What’s “Google HTML”?

theme.liquid is in layout folder and should look like this:

Where to paste the code depends on what code it is and where you want it to show/apply.

Generally, there is no need to edit theme code, you can use “Custom liquid” section in most cases.

Try to avoid editing your theme code, if possible. This will make theme version updates smoother.

Dwell is from Horizon family and uses the same code

“What’s “Google HTML”

It’s the tag Google requires to be added for site verification.

@ps1505 in that case it most probably ask you to add it to the head tag of theme.liquid file

this file should be in

shopify admin->online store->themes->edit theme code->search theme.liquid

To add Google HTML code in a Shopify store using the Dwell theme, go to Shopify Admin → Online Store → Themes → Actions → Edit Code. Look for the theme.liquid file under Layout; if it’s missing, check main.liquid or other layout files and insert your code within the <head> section.