> For the complete documentation index, see [llms.txt](https://phoenixcoded.gitbook.io/saasable/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://phoenixcoded.gitbook.io/saasable/ui-kit/development/analytics.md).

# 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 the DOM like below:

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

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

<figure><img src="/files/4vA6VrtK7MoJbNAEvReG" alt=""><figcaption></figcaption></figure>
