> For the complete documentation index, see [llms.txt](https://docs.getmesa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getmesa.com/connect/google-analytics-ua.md).

# 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%2Fgit-blob-f738117ea5fa940dfbeb6cd609973fd9da647c23%2Fimage%20(183).png?alt=media" alt="Screenshot of the MESA Google Analytics UA setup, add your Google Analytics ID to connect the app. Spotlight the Google Analytics ID field."><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%2Fgit-blob-82feeb5b3d50d9bda0b1fcbbf274cc289e1ee1f9%2Fimage%20(165).png?alt=media" alt="Screenshot of the Google Analytics account. Spotlight the Admin link in the left-hand sidebar."><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%2Fgit-blob-75686c6544ed75aed42dce22c5e223df0a3e851a%2Fimage%20(168).png?alt=media" alt="Screenshot of the Google Analytics Admin page, ensure the correct account is selected. Spotlight the Account column selector."><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%2Fgit-blob-cb8a78503f7995da75f84458240e636ecedf08c0%2Fimage%20(186).png?alt=media" alt="Screenshot of the Google Analytics Admin page, ensure the correct property is selected. Spotlight the Property column selector."><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%2Fgit-blob-ce6c6cf31dcd9a343c1e1a3f884b1a8753ec6bf3%2Fimage%20(188).png?alt=media" alt="Screenshot of the Google Analytics Admin Property column, select Tracking Info then Tracking Code. Spotlight the Tracking Info menu."><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%2Fgit-blob-82b1f35517f2c42794fb8d4fe56755e5f8222330%2Fimage%20(189).png?alt=media" alt="Screenshot of the Google Analytics Tracking Code page showing the Tracking ID that starts with UA. Spotlight the Tracking ID."><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%2Fgit-blob-e84e7d6920cd68cf9869c3b29ed024d3e3c169b3%2Fimage%20(190).png?alt=media" alt="Screenshot of the MESA Google Analytics UA workflow, paste the Tracking ID into the Google Analytics ID field. Spotlight the Save button."><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%2Fgit-blob-1d362f5d2ee405349ede35f7ca601d17c047c860%2Fimage%20(191).png?alt=media" alt="Screenshot of the Google Analytics account, click Conversions then Ecommerce then Sales Performance. Spotlight the Sales Performance item in the left sidebar."><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 %}

![Screenshot of the Google Analytics Sales Performance report page listing transactions sent from MESA. Spotlight the transactions list.](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\&token=554af044-eac9-4c1a-90f9-acda47a2d764)
