Install ChatBot.com with Google Tag Manager

Image of an author
Sylwia Kocur
2 min read
updated: Jul 21, 2026

Google Tag Manager lets you add ChatBot.com to your website in a few clicks.

If you already have a Google Tag Manager account and a container created, skip the first part of this tutorial.
If you already have a Google Tag Manager account and a container created, skip the first part of this tutorial.

How to create a Google Tag Manager containerLink icon

You’ll need a GTM account and container to add tags that load the ChatBot.com widget on your website.

  1. Sign in to your Google account. Go to the Google Tag Manager home and click the Create Account button on the right.
  2. Enter the account and container name. Choose the target platform to web and click on the Continue button.
  3. Read through the GTM Terms of Service, click Yes to accept them.
  4. You’ll get a container with a code snippet. Copy the code and paste it into every site page in the recommended places. Click Ok to close the code snippet box.

Google Tag Manager Create Account form with account name, container name and Web target platform for ChatBot

How to add the ChatBot.com tag to your websiteLink icon

Once you’re logged into your account with the container, it’s time to add a new tag with the ChatBot.com tracking code inside it. To do so, follow these steps.

  1. Open your bot and go to the Integrations icon. Click Connect next to the Chat Widget option.

ChatBot Integrations panel with the Connect button next to the Chat Widget option

  1. Go to the Publish section and copy the code.

ChatBot Chat Widget Publish section with the installation code ready to copy for Google Tag Manager

  1. In the Google Tag Manager Home, click on the New Tag tile. Click on the Tag Configuration tile and select Custom HTML from the tags list.

Google Tag Manager Tag Configuration with the Custom HTML tag type selected

  1. Paste the ChatBot.com tracking code to the HTML field. Click on the Triggering tile and select All pages from the tags list. After you add the trigger, hit the Save button on the right.

Google Tag Manager Custom HTML tag with the ChatBot code pasted and an All pages trigger

  1. Name your tag and click Save. Once you’re back in GTM’s home, click the Submit button to apply the changes.

Google Tag Manager workspace with the Submit button used to publish the ChatBot tag

Make sure that you have a general trigger set up on your workspace (on page view, for example). Otherwise, none of the tags will be triggered.
Make sure that you have a general trigger set up on your workspace (on page view, for example). Otherwise, none of the tags will be triggered.

Read more:

Was this article helpful?

Got it!

Thanks for your feedback.

Thank you!

We’re happy to help.

Ready for more than a chatbot?
Try AI Agent in Text.

AI Agent trains on your data, resolves issues across live chat and help desk, and takes real actions in your business systems.

14-day free trial No credit card required