> For the complete documentation index, see [llms.txt](https://docs.getlimy.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getlimy.ai/limy-pixel/gtm-pixel/adding-limy-via-tag-manager.md).

# Adding Limy via Tag Manager

{% stepper %}
{% step %}

### Step 1

Go to- <https://tagmanager.google.com/>
{% 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` .
