# Google Analytics

In this article, we'll go through the process of integrating Google Analytics (Universal Analytics) with your Softr app.&#x20;

{% hint style="info" %}
If you're using a [Google Analytics 4 property](https://support.google.com/analytics/answer/9304153), you can add the **tag script** inside the [header custom code](https://docs.softr.io/studio/application-settings#custom-code) section of your Softr app.
{% endhint %}

After [setting up a Google Analytics property](https://support.google.com/analytics/answer/10269537?ref_topic=1009620) for your site, you need to navigate to **Admin**, choose the required property, and click **Tracking Info**, as shown below.

![Locating Tracking Info](https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0NiyhsmXAcV5u1c6XK%2F-MUOANsbZ48b9O_YKmbO%2F-MUOWkPkCt9CnqnIgC5Q%2F1_b.png?alt=media\&token=e6904b81-2689-4dad-bb48-8b5f0b5a73c7)

From the opened dropdown, click on **Tracking Code** and copy the **Tracking ID** (starting with "UA-") as shown below.

![Locating Tracking ID](https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0NiyhsmXAcV5u1c6XK%2F-MUOANsbZ48b9O_YKmbO%2F-MUOY81MbE6ES7pn1eYJ%2F2_b.png?alt=media\&token=3d77521e-16ca-4e2a-a91d-86b4ffe30392)

That's it, now you just need to paste the ID in **Settings =>** **Integrations => Google Analytics** in the left-hand toolbar of your [Softr Studio](https://softr.gitbook.io/softr-documentation/getting-started#studio) and hit **Save**.

![Adding the code in Softr](https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0NiyhsmXAcV5u1c6XK%2Fuploads%2FR1jOXVLKwJh04p0fygmH%2Fanalytics-b.png?alt=media\&token=e917ca6d-cf92-4046-9dab-a5de0eb610d5)
