# Adding Limy via Tag Manager

{% stepper %}
{% step %}

### Step 1

Go to- <https://tagmanager.google.com/>&#x20;
{% endstep %}

{% step %}

### Step 2

Click- add a new tag

<figure><img src="/files/8Nuxq0xVIQK1uIXCgP92" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Step 3

In the top left side, name the tag in a name "Limy AI"

**Select "Tag Configuration"**

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

{% endstep %}

{% step %}

### Step 4

Select "Custom HTML"

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

{% endstep %}

{% step %}

### Step 5

Copy this code and apply the token you received instead of - "YOUR\_TOKEN\_HERE"

```javascript
<script>
(function(l,i,m,y,g,e,o){
    l[m] = l[m] || function () { 
        (l[m].q = l[m].q || []).push(arguments) 
    };
    e = i.createElement(y);
    e.async = 1;
    e.id = 'limy-analytics';
    e.src = "https://sdk.getlimy.ai/p/limy-analytics.min.js";
    e.setAttribute(m, g);
    o = i.getElementsByTagName(y)[0];
    o.parentNode.insertBefore(e, o);
})(window, document, "limy", "script", "YOUR_TOKEN_HERE");
</script>
```

{% endstep %}

{% step %}

### Step 6

Paste the code to the "HTML" input . Use the token provided by the company.

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

{% endstep %}

{% step %}

### Step 7

Scroll down and click "Triggering" and select "All pages"

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

{% endstep %}

{% step %}

### Step 8

Ensure  "All Pages" is selected and click "Save"

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

{% endstep %}

{% step %}

### Step 8

Once saved, click on **Submit** on the upper right corner

<figure><img src="/files/34QmxgGV3XjwmB9sDMDM" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Ste 9

Click **Publish** and when the pop-up appears, click **Continue**.

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

<figure><img src="/files/l5nOE21YhYMn2FtBVmXF" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

```mathml
// Your pixel should be working now! :) 

// Please check with the Limy team to ensure it works. 
```

For any questions please contact `answers@limy.ai` .


---

# 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.getlimy.ai/limy-pixel/gtm-pixel/adding-limy-via-tag-manager.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.
