# 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="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2F8YAV8TrcipgbK0UfZHh3%2Fimage.png?alt=media&#x26;token=2703fb31-58f5-4569-97a6-d38e4a4faa02" 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="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FH7zli1Ptl2ePhafI08GC%2Fimage.png?alt=media&#x26;token=a4c9e6a3-cd25-44c6-82c9-5bff158da312" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FRGaVUr82goLB12jVjarm%2Fimage.png?alt=media&#x26;token=94439636-84c7-4b4e-9449-489a9c4f2d58" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FsdsHBN9t9PlojsFkbrYT%2Fimage.png?alt=media&#x26;token=d40e1dab-cf1c-445e-bec2-58f1e9dab5a9" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FG8nefLwV65ndUuszbwgT%2Fimage.png?alt=media&#x26;token=0c6c444f-ab8c-4cfe-be8f-78e0b9993054" 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="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2F3EFsAAXb5KTneywGcUi7%2Fimage.png?alt=media&#x26;token=97cd6672-5fa8-48c0-b9df-dc2451ff72be" 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="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FucFcR8uxwlZhVAPS6rAy%2Fimage.png?alt=media&#x26;token=6e5b38eb-c7db-4973-a791-16fea8fe67ed" 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="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FmbQLBxiS4U9SwbZ2WhOU%2Fimage.png?alt=media&#x26;token=5eb1a52e-c2fa-4994-970a-8225ffa8e52a" 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 %}

![](https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2Fgit-blob-0daa52e959744c3c42e74e6680ed03e60ee324af%2Ffile-m4lsxj0dps.png?alt=media)
