> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sapt.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Google Analytics and Search Console

> Connect Google Search Console to see how often Google shows your website and what brings people in. Sites Sapt hosts on your own domain are set up for you.

One Google sign-in connects Google Analytics and Google Search Console. Sapt uses it to show how your website does on Google.

## What you get

* **Your website on Google**: how often Google showed your site, how many people visited from it, and your average spot in results.
* **Which pages Google has**: and which ones are missing.
* **Your sitemap**: send it to Google with one click.

You'll find all of it under **Performance**, **Google**, **Search**.

<Note>
  Sapt also asks for read-only Google Analytics (GA4) access in the same step, but no Sapt screen shows GA4 reports yet.
</Note>

## Before you start

**Is your website hosted on Sapt, on your own domain?** Then you can skip this page. Sapt adds your site to Search Console and sends your sitemap for you. A site still on its `.sapt.ai` address is not added.

Otherwise, you need a Google account with access to your site in Search Console. See Google's [permission levels](https://support.google.com/webmasters/answer/7687615). If your site isn't in Search Console yet, [add it there first](https://support.google.com/webmasters/answer/34592).

## Connect Google Search

<Steps>
  <Step title="Open Search in Sapt">
    Click **Performance**, then **Google**, then **Search**. You can also go to **Project Settings**, **Connected apps** and click **Connect** on Google Analytics.

    <Frame>
      <img src="https://mintcdn.com/sapt/xBY44wtgTzA0SZof/docs/mintlify/images/integrations/google-analytics.webp?fit=max&auto=format&n=xBY44wtgTzA0SZof&q=85&s=04458c4dd6cd29d0cd16d806d741d51d" alt="The Google Analytics page in Connected apps, not connected yet, with Send to client, Import and Connect" width="1326" height="370" data-path="docs/mintlify/images/integrations/google-analytics.webp" />
    </Frame>
  </Step>

  <Step title="Click Connect Google">
    On the Google Analytics page in Connected apps, the button says **Connect**. A Google window opens.
  </Step>

  <Step title="Choose your account and allow access">
    Pick the Google account that has your site, then allow what Google asks:

    * **See and download your Google Analytics data**. Sapt only reads it.
    * **View and manage Search Console data for your verified sites**, so Sapt can read your numbers and send your sitemap.
    * **Manage your new site verifications with Google**, so Sapt can prove a site it hosts is yours.
    * Your email address, so Sapt knows which account is connected.

    The window says **Account Connected** and closes.
  </Step>

  <Step title="Choose your site">
    If Sapt doesn't host your website, it asks which site to use. Click **Choose site**, pick it under **Choose a site** and click **Use**.
  </Step>
</Steps>

To switch sites later, open **Google**, click **Connections**, and click **Change site** under **Google Search**.

## What Sapt does and does not do

* It reads your search numbers and the pages Google has.
* For a site it hosts, it adds the site to Search Console, proves it's yours and sends the sitemap. While that runs, Sapt says **Sapt is putting your site on Google Search. This page updates itself.**
* It never changes your Google Analytics setup.

## If something looks wrong

* **This Google login has no sites yet.** The account you connected can't see your site. Connect with the account that can, or add your site to Search Console.
* **Google needs your OK to share search numbers.** You didn't allow every permission. Click **Reconnect Google** and allow them all.
* **Your Google login expired.** Click **Reconnect Google**.

## Disconnect

In **Project Settings**, **Connected apps**, click **Configure** on Google Analytics. Open the **...** menu and click **Disconnect all**. Your Search Console and Google Analytics stay as they are.

## Keep going

<CardGroup cols={2}>
  <Card title="Google Business Profile" icon="https://mintcdn.com/sapt/xBY44wtgTzA0SZof/docs/mintlify/images/logos/google-business-profile.svg?fit=max&auto=format&n=xBY44wtgTzA0SZof&q=85&s=a20444f32db15a5964f88e0b583c025f" href="/docs/mintlify/integrations/google-business-profile" width="200" height="200" data-path="docs/mintlify/images/logos/google-business-profile.svg">
    See how people find your Google listing.
  </Card>

  <Card title="Connect your domain" icon="globe" href="/docs/mintlify/website/connect-your-domain">
    Put your Sapt website on your own domain.
  </Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.