# Google Analytics UA

### Authenticate <a href="#connect" id="connect"></a>

When you're setting up your first workflow with Google Analytics Universal Analytics (UA), you'll need to add your Google Analytics ID so that Google Analytics is a connected app within MESA.

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

Your Google Analytics ID can be found [by following this document](https://support.google.com/analytics/answer/1008080?hl=en) but you can also read the following instructions:

1\. Sign in to your [Google Analytics Account](https://analytics.google.com/).

2\. Click on Admin from the left-hand sidebar.

<figure><img src="/files/12cgr2ETtxoAA6L9CLNk" alt=""><figcaption></figcaption></figure>

3\. Ensure that you have the correct account selected under **Account**.

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

4\. Ensure that you have the correct Property selected under **Property**.

<figure><img src="/files/17MWfwJ3nOX6phoK8vqQ" alt=""><figcaption></figcaption></figure>

5\. Under Property, select **Tracking Info** and then **Tracking Code**.

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

6\. You will find your [Google Analytics ID under Tracking ID](https://support.google.com/analytics/answer/7372977). It should start with **UA** (e.g. UA-000000-2).

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

7\. Copy and paste the **Tracking ID** into the **Google Analytics ID** field in your MESA workflow. Click **Save** and you are all set!

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

### Locate your transactions sent from MESA in Google Analytics <a href="#data" id="data"></a>

{% hint style="info" %}
**🗒 Note**: After your workflow triggers, it may take some time to see data appear in the report due to Google Analytics' processing times.
{% endhint %}

1\. In your Google Analytics account, click on **Conversions**, then **Ecommerce**, and then **Sales Performance** in the left sidebar.

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

2\. You will be taken to the **Sales Performance** report page where you can view different transactions (i.e. #1447 - 841290285154).

{% hint style="info" %}
**🗒 Note**: If you are not seeing the data from today, please adjust the view dates of your **Sales Performance** report to include today's date by clicking on the [date range selector.](https://support.google.com/analytics/answer/1010052?hl=en)
{% endhint %}

![](/files/IyCEddY1NEQ3hg3QUB4N)


---

# 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.getmesa.com/connect/google-analytics-ua.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.
