# Google Analytics

Visit [Google Analytics](https://analytics.google.com/) page.

On the left menu select **Admin**.

![](https://2886676663-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M15aAl8UGIPUvccCl0n%2Fuploads%2Fgit-blob-1eedfc47cbff46931c3c266c53cee91220286f52%2FScreenshot.png?alt=media)

Click **Create Property**, select **Web** and then **Continue.**

![](https://2886676663-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M15aAl8UGIPUvccCl0n%2F-M77KOpNalaljzlOw-6O%2F-M77MYzWy4aULgel4wvc%2FScreenshot.png?alt=media\&token=bb4696aa-6488-49b7-9963-98ee2e12e5cb)

![](https://2886676663-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M15aAl8UGIPUvccCl0n%2Fuploads%2Fgit-blob-a41d065034e97d235aa4e2f46829bf3624a0842e%2FScreenshot2.png?alt=media)

After that it will appear screen with information for your website.

Fill it and then click **Create.**

![](https://2886676663-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M15aAl8UGIPUvccCl0n%2F-M77KOpNalaljzlOw-6O%2F-M77N4iyizTOSM-AVKFo%2FScreenshot.png?alt=media\&token=46a8b727-9060-4777-babe-11818ad57333)

After the tracking site tag is generated, copy only the code.

![](https://2886676663-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M15aAl8UGIPUvccCl0n%2F-M77KOpNalaljzlOw-6O%2F-M77NfD3DIjd0huM07W4%2FScreenshot.png?alt=media\&token=4f155d9d-3117-4e24-89a4-a4eb98ae6037)

The copied code add in the .env file.

```
GOOGLE_ANALYTICS=YOUR_CODE
```

After that you will be able to track your website.
