# Google Analytics

#### **How to Integrate Google Analytics in Typelink**

<div data-full-width="false"><figure><img src="/files/avxqx9RyMB7d5Ljzlg6d" alt=""><figcaption></figcaption></figure></div>

**Step 1: Open Site Settings**

* Go to the **Settings** tab.
* Click on the **Google Analytics** block (see arrow ① in the first screenshot).

**Step 2: Connect Your Google Analytics Account**

* Click **Connect Google Analytics** (see arrow ②).
* Log in to your Google account.

<div data-full-width="false"><figure><img src="/files/yllXKT97DJ1JWYiRG1Aa" alt=""><figcaption></figcaption></figure></div>

**Step 3: Select Project and Data Stream**

* In the **Choose project** field, select your desired project (e.g., “Typelink”) - see arrow ① in the second screenshot.
* Under **Choose data stream**, select an existing stream or click **+New** to create a new one - see arrows ② and ③.
* Click **Save**.

{% hint style="info" %}
Typelink will automatically add the required Google Tag Manager code to all pages of your site.\
Please note: it may take **6–12 hours** for data to start appearing correctly in Google Analytics.
{% endhint %}

#### **Benefits of Automatic Integration via Typelink**

1. **No Manual Code Needed**\
   Everything is handled automatically through the Typelink interface - no need to insert tags or scripts manually.
2. **Built-in Google Tag Manager**\
   Typelink automatically installs Google Tag Manager on all pages, allowing you to:

* Track button clicks
* Track link clicks
* Monitor scrolls, form submissions, and any custom events

3. **Fast Analytics Setup**\
   Get up and running in just 1–2 minutes - no developers or hosting access required.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.type.link/type.link/site-settings/google-analytics.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
