> For the complete documentation index, see [llms.txt](https://docs.shopone.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.shopone.io/english/tracking-and-measuring-the-landing-page/tracking-and-conversion-code/instructions-for-installing-google-analytics-on-a-landing-page.md).

# 2.3. Instructions for installing Google Analytics on a Landing Page

Setting up Google Analytics (GA) on a Landing page allows you to track and measure essential metrics such as the number of visitors, traffic sources, conversions, and user behavior on the page.\
First, you need to have a Google Analytics account. Please refer to Google's instructions [here](https://support.google.com/analytics/answer/9304153?hl=vi#zippy=%2Cweb) for details on how to create one. After that, you can proceed to add the tracking code to your landing page.

#### Step 1: Get the Tracking ID for your landing page.

Go to **Administration** → **Data Stream** to find the Tracking ID.

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

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

Select an existing **Data Stream** and copy the **Measurement Code**.

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

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

#### Step 2: Add the tracking ID to the landing page.

To add the code to your landing page: Go to the **Editor** page of your landing page → Click the **Setting** icon → **Tracking Code** → Paste the **Measurement ID** into the **Google Analytics ID** field and save it.

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


---

# 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://docs.shopone.io/english/tracking-and-measuring-the-landing-page/tracking-and-conversion-code/instructions-for-installing-google-analytics-on-a-landing-page.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.
