How to add Google, Bing, Pinterest, Yandex and Baidu verification tags

Search engines ask you to prove that you own your store, usually with a meta tag in the head of your pages. The app prints that tag for you through its app embed, so you do not edit theme code. This article shows how to turn on the app embed and add codes for Google, Bing, Pinterest, Yandex and Baidu.

Before you start

Turn on the app embed

  1. Go to On-page settings and open Search engine verification (the card has a Manage codes button).
  2. Check the status of the app embed on that page. If it is off, select Open theme editor. This opens your live theme in a new tab.
  3. In the theme editor, open App embeds, switch on SEO tags & 404 log and save.
  4. Come back to the app. The status updates by itself, or select Check again.

To use a theme that is not live, go to Online Store > Themes, select Customize on that theme, then open App embeds.

The embed has no settings in the theme editor. You add the codes in the app. You can turn the embed off by switching SEO tags & 404 log off in App embeds and saving. For more help see How to turn on the app embed.

Where to find each code

Search engine Meta tag name Where to find the code
Google Search Console google-site-verification Search Console > Settings > Ownership verification > HTML tag
Bing Webmaster Tools msvalidate.01 Bing Webmaster Tools > Add site > HTML Meta Tag
Pinterest p:domain_verify Pinterest business settings > Claim > Websites
Yandex Webmaster yandex-verification Yandex Webmaster > Add site > Meta tag
Baidu Webmaster Tools baidu-site-verification Baidu Ziyuan > Site verification > HTML tag

Add the codes

  1. Open Search engine verification under On-page settings.
  2. In Verification codes, paste the code into the field for each search engine, for example Google Search Console. You can paste the code only, or the full meta tag. The app takes the content value.
  3. Save. The toast says "Verification codes saved".
  4. When the app embed is on, a Tag live badge shows next to each saved code.
  5. Go back to the search engine and select its verify button.

A code must be 4 to 128 characters: letters, numbers and - _ = . : + /. If the code is not valid, you see "Paste the code from the meta tag, 4 to 128 letters, numbers or - _ = . : + / characters." If you paste a link, you see "This looks like a link, not a code. Paste only the content value, for example 4f1c2a9b8e7d6c5b." If the pasted tag has no content="...", the app asks you to paste only the content value.

To remove a tag, clear its field and save.

If your theme already prints the tag

If your theme has the same verification tag, the app shows a warning for that search engine, for example "Your theme already prints a Google verification tag" (or Bing, and so on for the others). The search engine accepts either, but two tags make it hard to know which one is live. Keep the one in the app and remove the theme's line, or leave that field in the app empty.

Check the status

The status of the app embed shows on Search engine verification and in the On-page settings list. If it says the app embed is off, the tags are not on your pages, even if codes are saved. The app reads the status from your live theme and keeps it for a few minutes, so select Check again to refresh it.

[!INFO] The same app embed also records links that hit a 404 on your store. It does this only on your store's 404 page.

Related articles

← How image ALT text settings work What the app does with robots.txt →