> For the complete documentation index, see [llms.txt](https://info.techup.live/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://info.techup.live/admin-instructions/tooling-and-software/google-analytics.md).

# Google Analytics

{% hint style="info" %}
Setting up Google Analytics is extremely simple, all you need to do is to:

* Generate a Google Tag (just some JavaScript code)
* Copy this Google Tag in the \<head> section of every page you want to track
  {% endhint %}

## How to Set Up Google Analytics

### 1. Go to <https://marketingplatform.google.com/about/analytics/> and click on Get Started Today

<figure><img src="https://4000871720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3JeKot5J5CqiKNQnsgZV%2Fuploads%2FCsSop94aZLbx4KfUO6yv%2FScreenshot%202024-05-22%20at%2010.37.07%E2%80%AFPM.png?alt=media&amp;token=b3d40479-e506-4f75-acdd-a58cba3996e6" alt=""><figcaption></figcaption></figure>

### 2. After logging in to your Google Account, you will be redirected to the Setup page, click on Start Measuring

<figure><img src="https://4000871720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3JeKot5J5CqiKNQnsgZV%2Fuploads%2F4dVWOx74BgotqHNiBhjp%2FGoogle%20Analytics%20Setup.png?alt=media&amp;token=58ea3abd-8e26-42b6-aae6-08223bbcfac5" alt=""><figcaption></figcaption></figure>

### 3. Enter an account name then click next

<figure><img src="https://4000871720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3JeKot5J5CqiKNQnsgZV%2Fuploads%2F4o7hEpz38iL4dYg0nJA9%2FScreenshot%202024-05-22%20at%2011.10.59%E2%80%AFPM.png?alt=media&amp;token=ac87d8be-df2b-46f2-826f-fa5df95b28e5" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4000871720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3JeKot5J5CqiKNQnsgZV%2Fuploads%2FbJJqGVB44VH4M19jUrak%2FScreenshot%202024-05-22%20at%2011.11.07%E2%80%AFPM.png?alt=media&amp;token=6c1e99f9-68f9-4848-97a3-00f28e20e881" alt=""><figcaption></figcaption></figure>

### 4. Enter a property name (and Singapore timezone and currency is selected) then click next

<figure><img src="https://4000871720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3JeKot5J5CqiKNQnsgZV%2Fuploads%2FYg9KJItWsTaMT7shJ7ki%2FScreenshot%202024-05-22%20at%2011.15.15%E2%80%AFPM.png?alt=media&amp;token=7cca1600-f5c0-4079-873e-b1de782946d3" alt=""><figcaption></figcaption></figure>

### 5. Select Other Business Activities and Small then click Next

<figure><img src="https://4000871720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3JeKot5J5CqiKNQnsgZV%2Fuploads%2Fk1DDVTIoFM0b8KYlCBPX%2FScreenshot%202024-05-22%20at%2011.16.20%E2%80%AFPM.png?alt=media&amp;token=88eb47f1-c62d-4023-b725-d3675f86eefc" alt=""><figcaption></figcaption></figure>

### 6. Select Examine User Behaviour then click Create

<figure><img src="https://4000871720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3JeKot5J5CqiKNQnsgZV%2Fuploads%2FN8lcXrfrwFY4m3R5o2ss%2FScreenshot%202024-05-22%20at%2011.17.38%E2%80%AFPM.png?alt=media&amp;token=913f94cb-4ddb-49a3-9cc3-804879c71cbc" alt=""><figcaption></figcaption></figure>

### 7. Accept the Terms and click next

<figure><img src="https://4000871720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3JeKot5J5CqiKNQnsgZV%2Fuploads%2FPSwkWGwYLVRJvhAhDpGY%2FScreenshot%202024-05-22%20at%2011.18.46%E2%80%AFPM.png?alt=media&amp;token=0ae59c13-ae10-41f0-812b-d8702d642379" alt=""><figcaption></figcaption></figure>

### 8. Select Web

<figure><img src="https://4000871720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3JeKot5J5CqiKNQnsgZV%2Fuploads%2F1oBU4Lw9yfRn2CNy8kwZ%2FScreenshot%202024-05-22%20at%2011.19.20%E2%80%AFPM.png?alt=media&amp;token=536dafc8-4e05-480f-962c-b415e2a24908" alt=""><figcaption></figcaption></figure>

### 9. Enter your website URL and enter the stream name, then click create stream

<figure><img src="https://4000871720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3JeKot5J5CqiKNQnsgZV%2Fuploads%2FJedOjApN3ZVSWypJv7XA%2FScreenshot%202024-05-22%20at%2011.20.13%E2%80%AFPM.png?alt=media&amp;token=b68b62f0-29cb-474c-84bb-3e84063c0a8e" alt=""><figcaption></figcaption></figure>

### 10. The installation instruction should pop-up automatically after approx 10-20 seconds, click on Install Manually and copy the Google tag

<figure><img src="https://4000871720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3JeKot5J5CqiKNQnsgZV%2Fuploads%2FMF0r8hHeiVNRVKDsoxom%2FScreenshot%202024-05-22%20at%2011.21.35%E2%80%AFPM.png?alt=media&amp;token=fe4bf4a8-6692-478e-b903-6bad1c5c5f3e" alt=""><figcaption></figcaption></figure>

### 11. Finally, you will need to place this Google tag in ALL your HTML/EJS pages in the \<head>

<figure><img src="https://4000871720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3JeKot5J5CqiKNQnsgZV%2Fuploads%2FsqtBoK03E3DkDJf9PjuR%2FScreenshot%202024-05-22%20at%2011.24.33%E2%80%AFPM.png?alt=media&amp;token=634d4115-6d27-4f16-8366-f37d99584965" alt=""><figcaption></figcaption></figure>

### 12. Remember to Commit and Push your changes to the repository once you are done!
