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

# Connect Google Analytics 4 to your Sell Page

> See how many people visit your Sell Page, where they come from, and how many become leads — in your own Google Analytics. No coding needed.

**Google Analytics 4 (GA4)** is Google's free tool for counting website visitors. Once it is connected to your Sell Page:

* Every visit is counted (**page\_view**).
* Every time someone fills in your lead form, it is counted as a lead (**generate\_lead**).

<Info>
  **You need:** a Google account (for example your Gmail). It takes about **5 minutes**.
</Info>

<Note>
  Your Sell Page already has simple visitor stats in **Insights → Overview**. Use Google Analytics if you want the numbers in your own Google account too.
</Note>

## Part 1: Get your Measurement ID from Google

<Steps>
  <Step title="Open Google Analytics">
    Go to **[analytics.google.com](https://analytics.google.com)** and sign in with your Google account.

    * **First time?** You will see **Welcome to Google Analytics**. Click **Start measuring**.
    * **Already use Google Analytics?** Click **Admin** (the gear at the bottom left), then **+ Create → Account**.

    <Tip>
      No Google account yet? [Create one for free](https://accounts.google.com/signup) — a Gmail address works.
    </Tip>
  </Step>

  <Step title="Name your account">
    In **Account name**, type your business name, for example:

    ```text theme={null}
    SellAgent
    ```

    Leave the **data sharing** boxes as they are. Scroll down and click **Next**.

    <Frame>
      <img src="https://mintcdn.com/sellagent-f6a60d80/VhQQ2K1S4-dYPRQZ/images/sell-pages/ga4-account-name.png?fit=max&auto=format&n=VhQQ2K1S4-dYPRQZ&q=85&s=d8806c39dfa5c68d51b8dc1d77aecbbf" alt="Create an account in Google Analytics with the account name SellAgent" width="1580" height="1106" data-path="images/sell-pages/ga4-account-name.png" />
    </Frame>
  </Step>

  <Step title="Name your property">
    A **property** is the place where your Sell Page's numbers are kept.

    1. **Property name:** type
       ```text theme={null}
       SellAgent Sell Page
       ```
    2. **Reporting time zone:** choose your country and time zone.
    3. **Currency:** choose your currency.
    4. Click **Next**.

    <Frame>
      <img src="https://mintcdn.com/sellagent-f6a60d80/VhQQ2K1S4-dYPRQZ/images/sell-pages/ga4-property.png?fit=max&auto=format&n=VhQQ2K1S4-dYPRQZ&q=85&s=8edd195f59b133d2b1e1992cbd56a295" alt="Create a property in Google Analytics with the property name SellAgent Sell Page" width="1220" height="1120" data-path="images/sell-pages/ga4-property.png" />
    </Frame>
  </Step>

  <Step title="Describe your business">
    1. **Industry category:** pick the one closest to your business.
    2. **Business size:** pick your team size (for example **Small**).
    3. Click **Next**.

    <Frame>
      <img src="https://mintcdn.com/sellagent-f6a60d80/VhQQ2K1S4-dYPRQZ/images/sell-pages/ga4-business.png?fit=max&auto=format&n=VhQQ2K1S4-dYPRQZ&q=85&s=7719fd57669283deccaa443ffdc8f89b" alt="Describe your business: industry category and business size" width="1220" height="1136" data-path="images/sell-pages/ga4-business.png" />
    </Frame>
  </Step>

  <Step title="Choose “Generate leads”">
    Tick **Generate leads** — that's what your Sell Page does. Then scroll down and click **Create**.

    <Frame>
      <img src="https://mintcdn.com/sellagent-f6a60d80/VhQQ2K1S4-dYPRQZ/images/sell-pages/ga4-objectives.png?fit=max&auto=format&n=VhQQ2K1S4-dYPRQZ&q=85&s=b8e2eb165d5dafa1a82609957774b677" alt="Choose your business objectives with Generate leads ticked" width="1220" height="1072" data-path="images/sell-pages/ga4-objectives.png" />
    </Frame>
  </Step>

  <Step title="Accept Google's terms">
    A window with Google's terms opens. Choose your country, tick the box(es) to agree, and click **I Accept**.
  </Step>

  <Step title="Choose Web and enter your page address">
    Google asks where your data comes from. Click **Web**, then fill in:

    | Field | What to type |
    | - | - |
    | **Website URL** | Your Sell Page address without `https://`, for example `my-page-123456.pages.sellagent.co`. Copy it from the **Publish** button in SellAgent. |
    | **Stream name** | `SellAgent Sell Page` |

    Click **Create & continue** at the top right.

    <Frame>
      <img src="https://mintcdn.com/sellagent-f6a60d80/VhQQ2K1S4-dYPRQZ/images/sell-pages/ga4-web-stream.png?fit=max&auto=format&n=VhQQ2K1S4-dYPRQZ&q=85&s=95d0aeccd77bfe337e7cff953e198b95" alt="Set up a web stream with the website URL and stream name SellAgent Sell Page" width="1248" height="640" data-path="images/sell-pages/ga4-web-stream.png" />
    </Frame>
  </Step>

  <Step title="Copy your Measurement ID">
    Google may first show **installation instructions** with a block of code. **You don't need the code** — SellAgent adds it for you. Close that window with the **X**.

    You now see **Web stream details**. Your **Measurement ID** starts with **G-** (for example `G-AB12CD34EF`). Click the **copy** icon next to it.

    <Frame>
      <img src="https://mintcdn.com/sellagent-f6a60d80/VhQQ2K1S4-dYPRQZ/images/sell-pages/ga4-measurement-id.png?fit=max&auto=format&n=VhQQ2K1S4-dYPRQZ&q=85&s=213089c042a0a8cb175e6b4f46853506" alt="Web stream details with the Measurement ID and its copy button" width="1280" height="790" data-path="images/sell-pages/ga4-measurement-id.png" />
    </Frame>
  </Step>
</Steps>

<Tip>
  **Can't find your Measurement ID later?** Click **Admin** (gear at the bottom left) → **Data streams**, then click your stream. The ID is on the screen that opens.

  <Frame>
    <img src="https://mintcdn.com/sellagent-f6a60d80/VhQQ2K1S4-dYPRQZ/images/sell-pages/ga4-data-streams.png?fit=max&auto=format&n=VhQQ2K1S4-dYPRQZ&q=85&s=dc48b91b19ab9de2232b78b9ca8056ca" alt="Admin, Data streams, and your web stream in Google Analytics" width="1600" height="1300" data-path="images/sell-pages/ga4-data-streams.png" />
  </Frame>
</Tip>

## Part 2: Add the Measurement ID to your Sell Page

<Steps>
  <Step title="Open Integrations">
    In SellAgent, open your Sell Page. Click **Insights** at the top, then **Integrations** on the left.

    <Frame>
      <img src="https://mintcdn.com/sellagent-f6a60d80/VhQQ2K1S4-dYPRQZ/images/sell-pages/sellagent-open-integrations.png?fit=max&auto=format&n=VhQQ2K1S4-dYPRQZ&q=85&s=5b0a7293c2db96328e640fcd554b9b83" alt="Insights and Integrations in the Sell Page builder" width="1600" height="1328" data-path="images/sell-pages/sellagent-open-integrations.png" />
    </Frame>
  </Step>

  <Step title="Paste the Measurement ID and save">
    In the **Google Analytics 4** card, paste your ID into **Measurement ID** and click **Save**.

    <Frame>
      <img src="https://mintcdn.com/sellagent-f6a60d80/VhQQ2K1S4-dYPRQZ/images/sell-pages/sellagent-ga4-card.png?fit=max&auto=format&n=VhQQ2K1S4-dYPRQZ&q=85&s=26ae9a92997556f9f71293ad0340c9ef" alt="The Google Analytics 4 card in SellAgent with the Measurement ID field and Save button" width="1142" height="440" data-path="images/sell-pages/sellagent-ga4-card.png" />
    </Frame>

    The card now shows a green **Connected** label.
  </Step>

  <Step title="Publish your page">
    Click **Publish** (or **Republish**) at the top right. Google Analytics only starts counting on your live page after you publish.
  </Step>
</Steps>

## Part 3: Check that it works

<Steps>
  <Step title="Visit your live page">
    Open your published Sell Page. Turn off any **ad blocker** first — ad blockers stop Google Analytics from counting you.
  </Step>

  <Step title="Look at Realtime">
    In Google Analytics, click **Reports** (the chart icon on the left), then **Realtime overview**. Within a minute you should see **at least 1 active user** (you).

    Fill in your page's lead form — **generate\_lead** appears under **Event count by Event name**.

    <Frame>
      <img src="https://mintcdn.com/sellagent-f6a60d80/VhQQ2K1S4-dYPRQZ/images/sell-pages/ga4-realtime.png?fit=max&auto=format&n=VhQQ2K1S4-dYPRQZ&q=85&s=be3e413118f297bec3247a27d23414d7" alt="Active users in the last 30 minutes in Google Analytics" width="1600" height="900" data-path="images/sell-pages/ga4-realtime.png" />
    </Frame>
  </Step>
</Steps>

<Note>
  The normal reports on the **Home** page take **24–48 hours** to fill in. Until then they may show 0 — that's normal. **Realtime** shows visits straight away.
</Note>

## Common questions

<AccordionGroup>
  <Accordion title="SellAgent says “The Measurement ID starts with G-”">
    Copy only the ID that starts with **G-** (for example `G-AB12CD34EF`) — not the whole code block and not the property number.
  </Accordion>

  <Accordion title="Google still says “No data received”">
    * Make sure you clicked **Publish** after saving the ID.
    * Turn off ad blockers and open your live page again.
    * Check **Reports → Realtime** — the Home page is slow to update.
  </Accordion>

  <Accordion title="I typed the wrong website URL in Google">
    It doesn't stop the counting. To fix it, go to **Admin → Data streams**, click your stream, and edit the URL.
  </Accordion>

  <Accordion title="I also use Google Tag Manager">
    Use **one or the other** for Google Analytics. If you load Google Analytics inside Tag Manager, leave this card empty — otherwise every visit is counted twice.
  </Accordion>
</AccordionGroup>


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