# 2.5. Instructions for adding Google Tag Manager code on a Landing Page

**Google Tag Manager (GTM)** is a powerful tool that allows you to quickly and easily update tracking codes and marketing tags on your website without needing to edit the source code directly. With GTM, you can manage different tracking codes (such as Google Analytics, Facebook Pixel, etc.) in one place, making the management process simpler and more efficient.

Adding Google Tag Manager code to your landing page allows you to track user behavior, conversions, and important metrics, enabling you to deploy tags without having to modify the website's source code, saving time and reducing the risk of errors.

{% hint style="info" %}
**Note:** Google Tag Manager is an advanced feature and is not recommended for basic users who have no experience in managing tracking codes and tags.
{% endhint %}

#### **Step 1: Log in to your Google Tag Manager to get the Google Tag ID.**

#### **Step 2:** Go to the Editor of your landing page → Select the **Setting** icon → **Tracking Code**.

Paste the **Google Tag ID** into the **Google Tag Manager ID** field and save it.

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


---

# Agent Instructions: 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:

```
GET https://docs.shopone.io/english/tracking-and-measuring-the-landing-page/tracking-and-conversion-code/instructions-for-adding-google-tag-manager-code-on-a-landing-page.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
