Install · Google Tag Manager

How to add a booking chatbot with Google Tag Manager

Install AskBok's AI booking chat with Google Tag Manager: a Custom HTML tag on the All Pages trigger, then submit and publish. No website code changes needed.

What you'll add · Chat button on every page

<script src="https://askbok.com/widget.js" data-widget-key="wk_…" async></script>

You'll need

  • Google Tag Manager already installed on your website
  • Publish permission in the container
Try the chat first

Quick answer

In Google Tag Manager create a new tag, choose Custom HTML, paste your AskBok code, set the trigger to All Pages, save, then click Submit and Publish. If GTM is already on your site, the chat button appears on every page without touching the website's code.

Step by step: AskBok on Google Tag Manager

  1. 1

    Copy your AskBok code

    In your AskBok dashboard open AI Chatbot → Install on your website and click Copy code. You'll paste it into a GTM tag.

  2. 2

    Create a Custom HTML tag

    In your container go to Tags → New → Tag configuration and choose Custom HTML. Paste the AskBok code.

  3. 3

    Fire on All Pages

    Under Triggering choose All Pages. Name the tag “AskBok chat” and save.

  4. 4

    Preview, submit and publish

    Use Preview to check, then click Submit and Publish. Nothing goes live until the container is published.

Your own code (with your key) is in AskBok → AI Chatbot → Install on your website. No website, or your plan doesn't allow code? Use your booking link.

If the chat doesn't appear

  • Forgot to publish? GTM changes stay in draft until you Submit → Publish.
  • Make sure the GTM container snippet is on every page of the site.

AskBok on Google Tag Manager: FAQ

Is GTM better than pasting the code directly?

+

It's the same result. GTM is handy when you already manage scripts there or can't edit the site's code.

Will consent settings block the chat?

+

The chat isn't a tracking tag and doesn't set marketing cookies. If you use a consent tool that blocks all Custom HTML, allow this tag as functional.

Can I show it on some pages only?

+

Yes — use a Page View trigger with a Page Path condition instead of All Pages.

Steps checked against Google Tag Manager Help — custom tags on 14 November 2026. Menu names sometimes change — if yours look different, ask us in the chat.

What happens after you install

  • Visitors see a chat button (or the chat inside your page). The receptionist answers from your services, prices, opening hours and FAQs — it never invents prices or times.
  • When someone wants to book, it shows real free times from your availability and connected calendar, holds the slot and books it after they confirm.
  • You get the booking in your dashboard and calendar, the customer gets a confirmation email, and every conversation is saved in your inbox and leads list.
  • You can take over any chat yourself, and change the chat's colour, name and greeting any time without touching Google Tag Manager again.

Add an AI receptionist to your Google Tag Manager site

Answers questions, quotes real prices and books free times — 24/7. Set up in about 10 minutes.