Skip to main content

Preparing for public launch. Book a personalized walkthrough

Integrations

How to add an AI chatbot with Google Tag Manager

Supportweave Team · June 25, 2026 · 3 min read

How to add an AI chatbot with Google Tag Manager

If your site already runs Google Tag Manager, you can deploy the AI agent without touching the site's code at all. Just add a Custom HTML tag and publish your container.

What you'll need

  • A Supportweave workspace (set up during your demo)
  • Your embed snippet from the Install tab
  • A GTM container already installed on your site

Step 1: Copy your embed snippet

In Supportweave, open your chatbot → Install tab and copy the script:

<script
  src="https://app.supportweave.com/widget.js"
  data-chatbot-id="YOUR_CHATBOT_ID"
  async
></script>

Step 2: Create a Custom HTML tag

  1. 1In Google Tag Manager, go to Tags → New.
  2. 2Under Tag Configuration, choose Custom HTML.
  3. 3Paste the snippet into the HTML box.
  4. 4Under Triggering, select All Pages (or the pages you want it on).
  5. 5Save the tag, then click Submit and Publish your container.

Step 3: Confirm it fires

Use GTM's Preview mode or just open your live site. The chat bubble should appear. GTM is ideal when marketing controls the tags and you'd rather not edit the theme directly.

No code changes required. See every other platform on our integrations page.

See this working in a personalized demo

Share your website, customer channels and support goals. We'll show how Supportweave answers questions, completes approved actions and escalates conversations for your business or clients.