# Google Search Console

### How to get the Google Search Console tag (HTML verification tag)

#### 🔹 1. Go to Google Search Console

Open: <https://search.google.com/search-console>\
and sign in with your Google account.

#### 🔹 2. Add a new site

1. Click the button **“Add property” (Add property)**.
2. Choose the property type; to get the HTML tag select the **URL prefix** - checks only a specific address (for example, `https://example.com/`).<br>

   <figure><img src="https://2918865942-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fp0ow3kIXHQDcl9DBdYiM%2Fuploads%2FrML8vAGH8xaNb4M8IcoS%2Fimage.png?alt=media&#x26;token=24cb67e1-02d4-47f4-9e2d-8763f25f0a48" alt="" width="563"><figcaption></figcaption></figure>

#### 🔹 3. Choose a verification method

After entering the site address Google will offer several verification methods:<br>

<figure><img src="https://2918865942-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fp0ow3kIXHQDcl9DBdYiM%2Fuploads%2F2GknsT0TP1S7NCOZE3zW%2Fimage.png?alt=media&#x26;token=4ece492d-aceb-499c-acf9-09aafed8edd7" alt="" width="375"><figcaption></figcaption></figure>

* HTML file (upload to the server),
* HTML tag (via a meta tag in the site code),
* Google Analytics,
* Google Tag Manager,
* DNS record.

We need the **HTML tag** — choose this option.

#### 🔹 4. Copy the tag to insert

Google will show a line like:<br>

<figure><img src="https://2918865942-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fp0ow3kIXHQDcl9DBdYiM%2Fuploads%2FsMTChwwOsJYVTR6kjfA3%2Fimage.png?alt=media&#x26;token=f2711f25-5c72-425a-870c-9433f5c016d0" alt="" width="375"><figcaption></figcaption></figure>

```html
<meta name="google-site-verification" content="AbCDefGhiJKlmnopQrstuVwxYZ1234567890" />
```

This is your **Search Console tag**.

#### 🔹 5. Insert the tag into the site

1. Open the site's admin panel, go to Settings - Google Settings - **Google Search Console**
2. Insert the obtained code into the section on the page, but use not the whole code, only the data in quotes after the word **content**\
   Example:

   ```html
   Instead of
     <meta name="google-site-verification" content="AbCDefGhiJKlmnopQrstuVwxYZ1234567890" />
   Use AbCDefGhiJKlmnopQrstuVwxYZ1234567890
   ```
3. Save and publish the changes.

#### 🔹 6. Verify ownership

Return to Search Console and click the **“Verify” (Verify)**.\
If the tag is added correctly — a message will appear:\
✅ *“Ownership verified”*<br>

<figure><img src="https://2918865942-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fp0ow3kIXHQDcl9DBdYiM%2Fuploads%2FQtX4liLFKgdSxOFKL2mt%2Fimage.png?alt=media&#x26;token=c7eb447d-e9cd-4cbf-a40a-7e206ec3b1f1" alt="" width="375"><figcaption></figcaption></figure>

**✅ Example result:**

* Site address: `https://myproject.com/`
* Tag to insert:

  ```html
  6FjK4dLZqP89D3X2uY0Tn-HsLaVgWqErmBtCe
  ```
* After verification the site will appear in the Search Console dashboard with all available tools (indexing, traffic, errors, etc.).
