---
title: "Connect Search Console and analytics"
description: "Verify your litetile site in Google Search Console, add a Google Analytics measurement id."
url: "https://www.litetile.io/docs/seo-and-ai/search-console-and-analytics"
lang: "en"
---

At the end of this guide Google Search Console knows your site is yours, and, if you want it, Google Analytics measures your visitors once they accept.

Note

Every plan has these settings. They are on **Settings**, **Integrations**, and reach the live site when you publish **Site settings**.

![Settings: aI crawlers, Analytics, consent, Search Console.](https://media.litetile.app/media/6eee3550-99b4-4494-8fc5-d588d1e67e1e/d151d320-4ba4-46fe-9270-3946c74bb436.png)

## Verify your site in Search Console

Google Search Console shows how your site appears in Google's results. Google asks you to prove the site is yours with a tag.

1. In Google Search Console, add your site's address as a URL-prefix property, for example https://www.yourbusiness.com.
2. Choose the HTML tag method. Google shows a tag like the one below.
3. Copy only the value between the quotes after content=.
4. In your site's dashboard, open **Settings**, then **Integrations**.
5. Paste the value into **Search Console verification**.
6. Choose **Save changes**.
7. Publish **Site settings** from the **Overview** (see [Publish your changes](https://www.litetile.io/docs/publishing/publish-changes)).
8. Back in Search Console, choose Verify.

```text
<meta name="google-site-verification" content="paste-only-this-part" />
```

If you paste the whole tag, the field says "Paste only the content value of the tag."

Tip

Once verified, add your sitemap in Search Console: https://www.yourbusiness.com/sitemap.xml. See [What litetile publishes for search](https://www.litetile.io/docs/seo-and-ai/what-we-publish).

Use the address your site is served at. If you later [connect your own domain](https://www.litetile.io/docs/domains/connect-your-domain), add it as a new property and verify it the same way.

## Add Google Analytics

1. In Google Analytics, create a web data stream for your site and copy its measurement id. It starts with G-.
2. In your site's dashboard, open **Settings**, then **Integrations**.
3. Paste it into **Analytics measurement id**.
4. Choose **Save changes**.
5. Publish **Site settings**.

An id that does not match the pattern shows "Use an id like G-XXXXXXX."

Adding an id turns on **Show the consent banner** and locks it on: "Required when analytics is set". Analytics is "Loaded only after consent": nothing is measured for a visitor until they choose **Accept**.

## The consent banner

With **Show the consent banner** on, visitors see a bar at the bottom of each page:

"This site uses analytics cookies to measure its audience. They are set only if you accept."

The consent banner

- Visitor chooses
- What happens

- Accept Analytics loads on this page and the next ones
- Decline Analytics never loads

After a choice, the bar closes and a **Cookie settings** button stays on the page, so the visitor can change their mind. Withdrawing consent reloads the page without analytics.

The visitor's browser keeps the choice for about six months, then the banner asks again. Changing the measurement id also asks again.

![The consent banner setting in Settings, Integrations.](https://media.litetile.app/media/6eee3550-99b4-4494-8fc5-d588d1e67e1e/66e69c0d-3c44-46fa-8335-85ccd24e1509.png)

You can turn the banner on without an analytics id, but it then has nothing to hold back.

Warning

The banner holds back only the analytics set here. Code you add on the **Custom code** tab (Studio) "Runs outside the consent banner on published pages only." If that code sets cookies, it is up to you to ask for consent.

## Remove them

Clear the field, choose **Save changes**, then publish **Site settings**. To turn the banner off, clear the **Analytics measurement id** first; the switch stays locked while an id is set.
