> 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="/files/0pRPxYHRCpIi8iQBO7f2" 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="/files/eeOP73dnlSSzveCohvHp" alt=""><figcaption></figcaption></figure>

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

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

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

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

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

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

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

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

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

### 7. Accept the Terms and click next

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

### 8. Select Web

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

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

<figure><img src="/files/NAFjHHzVKl4bZq9E3vxH" 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="/files/wdJ8JWJggXKkFdwvbGjl" 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="/files/dhTKDbeAhE4Y0lXHSEwE" alt=""><figcaption></figcaption></figure>

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://info.techup.live/admin-instructions/tooling-and-software/google-analytics.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
