# Analytics

Setting up Google Analytics in SaasAble is very simple. You need to update a tag ID in .env:

{% code title=".env" %}

```properties
...

## Google Analytics
NEXT_PUBLIC_ANALYTICS_ID=
```

{% endcode %}

This will render your script in DOM like below:

<figure><img src="https://content.gitbook.com/content/yVpEAnob4BsO7xorMw2Z/blobs/G1eORerI7TFjKBY5EUJR/google-analytics.JPG" alt=""><figcaption></figcaption></figure>

The value of the tag can be obtained from your Google Analytics account:

<figure><img src="https://content.gitbook.com/content/yVpEAnob4BsO7xorMw2Z/blobs/VH0wTbpgBnIK7X6p9oj8/image.png" alt=""><figcaption></figcaption></figure>
