Install ChatBot with Google Tag Manager

Kacper Wiacek Product Expert Lead
Kacper Wiacek
3 min read
updated: Jan 9, 2024

Google Tag Manager lets you add ChatBot to your website in a couple of 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.

Creating a Google Tag Manager account and your first containerLink icon

To add tags that will load the ChatBot widget on your website, you’ll need a GTM account and containe. Here’s how to do it:

  1. Sign in to your Google account.

  2. Go to the Google Tag Manager home and click on the Create Account button on the right.

  3. Enter the account and container name. The container holds all your tags, such as the Google Analytics tag, Google Ads tag, or ChatBot tag. Choose the target platform to web and click on the Continue button.

  4. Read through the GTM Terms of Service, click Yes to accept them, and continue.

  5. You’ll get a container with a code snippet. Copy the code and paste it into every page of your site in the recommended places.

  6. Click Ok to close the code snippet box and finish setting up the GTM manager and your first container.

Adding the ChatBot 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 tracking code inside it. To do so, follow these steps.

  1. Go to your chatbot flow and click on the integrations icon. Then click on the “Connect” button for the chat widget integration.

  2. Go to the Publish section in the chat widget integration screen.

  3. Click on the Copy minify code button.

  4. In the Google Tag Manager Home, click on the New Tag tile.

  5. Click on the Tag Configuration tile and select Custom HTML from the tags list.

  6. Paste the ChatBot tracking code to the HTML field.

  7. Click on the Triggering tile and select All pages from the tags list.

  8. After you add the trigger, hit the Save button on the right.

  9. Name your tag and click Save.

  10. Once you’re back in GTM’s home, click on the Publish button to apply the changes.

That’s all. The chatbot will now show up on your pages.

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.

Start a free ChatBot trial
and build your first chatbot today!

Free 14-day trial No credit card required

Discover our text| products