Skip to content

Add Google tags and verify your site

Add Google Analytics or Tag Manager by their ID, and verify the site with Google Search Console or Bing Webmaster Tools, without pasting code.

1 min readENFRNLDE
On this page 2 sections

Where

Site menuSEO…Open in the editor

You don't need to paste a snippet to add Google Analytics or Tag Manager, or to verify your site with a search engine. Enter the ID, and Xeek Sites adds the right tags when you publish.

Enter the IDs

In the site menu, choose SEO…. It has four fields:

  • Google Analytics measurement ID: starts with G-. You find it in Google Analytics under Admin → Data streams.
  • Google Tag Manager container ID: starts with GTM-.
  • Google Search Console verification: only the code from the content of Google's meta tag, not the whole tag.
  • Bing Webmaster Tools verification: only the code from the content of Bing's msvalidate.01 meta tag.

If a value has the wrong form, such as an old UA- property or a whole snippet, the field says what it should look like and Save waits. Empty a field to remove the tag.

What visitors get

  • The Google tags load on every page. The verification tags are on every page too.
  • On a site that asks for consent (Cookies and consent… in the site menu), Google Analytics waits for statistics cookies, and Tag Manager waits for marketing cookies, since a container can load anything. Google is told what the visitor accepted, and nothing is allowed until then.
  • The cookie policy lists both tags under their categories.

Verify in Google or Bing after you publish. You can also ask the AI to enter the IDs.