# Google Analytics

Learn how to track funnel activity with Google Analytics.

{% embed url="<https://youtu.be/kBc6FUk_l1I>" %}

You can connect Google Analytics (GA4) to Funnelish to track funnel events such as:

* **Purchases (with product names, values, and currency)**
* **Upsells & downsells**
* **Order bumps**
* **Leads, add-to-carts, thank-you pages**
* **And more funnel interactions**

This helps you **measure your visitors, campaigns, and conversions directly in GA4.**

### Copy measurement ID

1. Log in to your **Google Analytics** account.
2. In the left-hand menu, click **Admin**.
3. Under **Property**, select the property you want to use.
4. Go to **Data Streams**.
5. Choose your web data stream.
6. In the top-right corner, copy your **Measurement ID** (looks like `G-XXXXXXXXXX`).

<figure><img src="/files/7OYJWFnQQZtYc0JxnuYD" alt=""><figcaption><p>https://ga4.com/find-your-measurement-id-in-google-analytics-4 -  Measurement ID</p></figcaption></figure>

{% hint style="warning" %}

## Full Google Doc guide on finding the measurement ID, [here. ](https://ga4.com/find-your-measurement-id-in-google-analytics-4)

{% endhint %}

## Paste your ID&#x20;

Log in to your Funnelish account and **enable Google Analytics** inside [**Global Apps.**](https://docs.funnelish.com/apps/pages/-M1AT7JFeX-fSn4VvoQu#id-1.-global-apps-account-wide)

Paste the Measurement ID into the field and then save.

<figure><img src="/files/XkTCLZf07NA5DJKVZ5yf" alt=""><figcaption></figcaption></figure>

## Enable the funnel app

1. **Enable Google Analytics inside** [**Funnel Apps.**](https://docs.funnelish.com/apps/pages/-M1AT7JFeX-fSn4VvoQu#id-2.-funnel-apps-per-funnel)
2. **Paste your measurement ID again (can be a different one than the default one set up inside Global Apps).**
3. **If no ID is pasted, then the default (Global Apps) one will be used.**
4. **Save changes.**

{% hint style="success" %}
Your funnel is connected to your Google Analytics account. You can now track your visitors, marketing campaigns, conversions, top content, and more.
{% endhint %}

{% hint style="info" %}
**Note**  Buyers using PayPal & Klarna need to be tracked properly throughout the funnel as a single session and track UTM tags of those sales. To do so, please follow this [article](https://support.google.com/analytics/answer/1034842?hl=en#:~:text=Exclude%20a%20single%20referrer\&text=Click%20the%20Select%20filter%20type,you%20would%20like%20to%20exclude.) in order to exclude paypal.com from starting a new session.
{% endhint %}


---

# 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://docs.funnelish.com/apps/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.
