# Google Tag Manager

## Step 1: Copy the code snippet

* Goto Settings > Web > Installation
* Enter the domain where you want to launch your chatbot
* Copy the "Widget installation code"

<figure><img src="https://360969599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsrMxU8nO3RjusUiYuXBB%2Fuploads%2FvVr4qCxqAXxGGWclN5NV%2Fimage.png?alt=media&#x26;token=41024548-d0e4-4747-b890-33ade745007d" alt=""><figcaption></figcaption></figure>

## Step 2: Adding the code on Google Tag Manager

1. Login to your Tag Manager account
2. Click "Add a new tag"
3. Click tag configuration and select "Custom HTML"

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcc39WikWSkol3yv4aQBWtrxXhz87ZNXAwFdzo2KcuOAJZBqWWXvVrfiRRniuedzSWX47E4NLUfDFdd_kj3wUotPJCLIvU6qpauZZD1vmZbOZ3xb24NcAr-pW-QZSAtsjlqnQHv3Q?key=wyUY9-x1mWHKiucbFcJhly8U" alt=""><figcaption></figcaption></figure>

4. Paste the widget code here
5. Click trigger and choose "All pages"&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd0DrNqH4MqhLloZ_s2yInbDiNCeArFtbfxn9hdY9YeMgUVmh3T4uM8kjg_12x38p3U9yNrP9rpiSuJpS9XS965u2hMFwmTlrbE_e3lV8jxjBlNqwoE3QhnuKijDpS68vHQWjgYvw?key=wyUY9-x1mWHKiucbFcJhly8U" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**NOTE**:&#x20;

You may create a trigger to only show the chatbot on a few pages.
{% endhint %}
