> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.poptin.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Install Poptin on your website using Google Tag Manager

**You can install Poptin via Google Tag Manager in 2 ways:**

**1. With our official tag:**

https://tagmanager.google.com/gallery/#/owners/poptins/templates/poptin-tagmanager

Once you add the Poptin tag, insert your User ID, which you can find on your account's [general page](https://app.popt.in/settings/general), and choose "All pages" under Triggering.

![](https://storage.crisp.chat/users/helpdesk/website/-/7/a/3/4/7a34af3b43dae400/image_1uglhv9.png)

**2. Manually with a Custom HTML tag:**

**Step 1:**

Login to your Google Tag Manager account, and click “New Tag”.

![](https://storage.crisp.chat/users/helpdesk/website/7a34af3b43dae400/new-tag_mf1fd4.jpg)

Then you will see the following screen.

![](https://storage.crisp.chat/users/helpdesk/website/7a34af3b43dae400/tagnew_14396ef.jpg)

**Step 2:**

Click on the name to change it from “Untitled Tag” to “Poptin Tag”.

Now click on the second triangle called “Triggering”  and select “All Pages”.

![](https://storage.crisp.chat/users/helpdesk/website/7a34af3b43dae400/triggering_i67ocz.jpg)

This is how your screen should look after that:

![](https://storage.crisp.chat/users/helpdesk/website/7a34af3b43dae400/poptin-tag_ebze0z.jpg)

**Step 3:**

Click on the upper triangle called “Tag Configuration” and select “Custom HTML”

![](https://storage.crisp.chat/users/helpdesk/website/7a34af3b43dae400/custom-html_1p1bbki.jpg)

Then paste your Poptin account code here:

![](https://storage.crisp.chat/users/helpdesk/website/7a34af3b43dae400/code_tf9dyr.jpg)

Don't forget to click publish in order to publish and save everything.