Shopify

Paste your code into theme.liquid, just before the closing head tag.

Before you start

Add your code

  1. In step 2 of your website’s Setup tab, choose your website builder and copy your code.
  2. In Shopify admin, go to Online Store → Themes. Next to your current theme, press the … button and choose Edit code.
  3. Under Layout, open theme.liquid.
  4. Find the line </head> (press Ctrl+F or ⌘+F to search). Paste your code on a new line just above it.
  5. Press Save.

Your code also proves you own the website, so there’s nothing else to add (theme.liquid, just above </head>). Once it’s saved and published, press Check my website in your dashboard. Prefer DNS? See Prove you own your website.

If you change your theme later, paste the code into the new theme’s theme.liquid too.

Go back to your dashboard, open your website’s Results tab and press Check again now. Your new score should go up within a minute. See Check it worked.

Is there another code?

Yes, but you don’t need it. Under your code there’s a link, Rather use a code that updates itself? Use one code, not both.