How to send chatbot events to your own Google Tag Manager: a complete guide

,
Reading time 10 min

Booosted’s dashboard already collects the chatbot data for you: you can see opens, conversations, leads and customer feedback at a glance, without any separate settings. For most people this is enough: the data is available straight away, and there is no need to touch any other tool. If you also want the same events in Google Analytics, this Google Tag Manager guide shows you step by step how to send them there with your own GTM.

Sometimes, though, you want to see the chatbot events specifically in Google Analytics as part of the metrics for your whole website and marketing. That works too: the Booosted widget sends its events to your own Google Tag Manager (GTM), from where you pass them on to GA4, Google Ads or Meta without any code changes. This is an entirely optional addition alongside the dashboard, not a replacement for it.

This guide explains what this means in practice, which events the widget sends and how to capture them with your own GTM in three steps. The instructions apply to all Booosted products: the chatbot, the sticky side button, the popup widget, the in-page chatbot and Widget Pro.

Is Booosted’s dashboard enough on its own?

For most people, yes. The dashboard collects the chatbot’s most important events automatically and shows them as ready-made reports, so you get your leads and conversations without GTM or Google Analytics. If you do not specifically need the data anywhere else, you can read the rest of this guide some other time.

Sending the events to GTM makes sense when you want to connect the chatbot with the rest of your analytics: see which channel your leads come from, mark them as conversions in GA4 or optimise your Google Ads and Meta advertising based on them. The dashboard and GA answer different questions, and you get the best overall picture when you use both.

What does it mean that the widget sends events to your own GTM?

The widget pushes every event to your page’s dataLayer object, which your own Google Tag Manager reads. Booosted does not install or manage GTM for you and does not store your GTM ID: you remain the owner of your data.

The events travel like this: the visitor does something in the widget → the widget sends a booosted_event event to the dataLayer → your GTM picks it up → you send it on to the tool of your choice (GA4, Google Ads, Meta). This is a “relay-only” model: we only provide the events, and you decide where they go.

  • If the page already has GTM, you can use the events straight away with the settings below.
  • If the page has no GTM, the events do no harm: nothing is sent over the network and nothing breaks.
  • Separate Google Analytics tracking (if you have given the widget a GA ID) keeps working as before alongside this.

Why send chatbot events to GTM?

Because the ready-made data in the dashboard is then complemented by the bigger picture: the chatbot becomes part of the metrics for all your digital marketing. When the events go through GTM, you can:

  1. Mark leads as conversions in GA4: every enquiry left through the chat shows up as a measurable conversion.
  2. See which channel produces leads: organic search, Google Ads, Meta advertising or a newsletter. This helps you put your budget in the right place.
  3. Optimise advertising based on conversions: when the conversions are in Google Ads, the algorithm learns to find more of the users who actually convert.
  4. Build remarketing audiences: reach, for example, the people who opened the chat but did not leave their contact details.
  5. Make the chat part of the whole buyer’s journey: you can see how conversations and leads relate to other events on the website.

So the dashboard gives you a quick, chatbot-specific view of leads and conversations, and when the same data is sent through GTM, it becomes part of the metrics for your whole website and marketing. You do not have to choose which one to look at: they work best together.

Which events does the Booosted widget send?

The widget sends five types of event, depending on what the visitor does. Each one arrives in the dataLayer in the bo_chat_event field:

  • Open: the visitor opens the widget or the chat.
  • Close: the visitor closes the widget.
  • autoOpen: the widget opens by itself on a timer or on exit intent (popup).
  • Discussion: the visitor starts a conversation (first message). Sent once per session.
  • Lead: the visitor successfully submits a lead or contact form.

Not every product supports every event. For example, the popup always opens automatically (autoOpen), and the in-page chatbot is always visible, so it mainly sends Discussion and Lead. You do not need separate settings for each product, though: when you listen for the booosted_event event, you automatically get all the events that widget supports.

What information does each event contain?

Each booosted_event event comes with a set of variables that you can use to enrich your analytics and tell events apart:

  • bo_chat_event: the event type (Open, Close, autoOpen, Discussion, Lead).
  • bo_widget_type: the widget type (Chat, Sticky, Popup, WidgetPro, Inpage).
  • bo_bot_name: the name of the bot, for example “Customer service bot”.
  • bo_chat_discussion: the conversation ID (included only in Discussion and Lead events).
  • bo_widget_id: the widget’s technical ID, which lets you tell different widgets apart.

How to set up Booosted events in GTM

You need your own GTM container on the website and an embedded Booosted widget. After that, setup takes three steps, and none of them requires coding.

1. Create a trigger for the event

In GTM, go to Triggers → New → Custom Event and enter booosted_event as the Event name. Choose All Custom Events to get every event, or narrow it down with the Some Custom Events condition, for example bo_chat_event equals Lead, if you only want to track leads.

2. Create Data Layer variables

To include the event details, create the variables you need under Variables → User-Defined Variables → New → Data Layer Variable. Use exactly these names: bo_chat_event, bo_widget_type, bo_bot_name, bo_chat_discussion and bo_widget_id.

3. Create a tag that sends the event on

Create, for example, a GA4 Event tag (Tags → New → Google Analytics: GA4 Event), select your GA4 configuration and give the event a name, for example booosted_event. Add the parameters you want from the variables you created above and attach the trigger from step 1 to the tag. The same logic also works for Google Ads conversion tags and Meta Pixel tags.

Example: a lead as a GA4 conversion

Say you want to mark every lead left through the chatbot as a conversion in GA4. Create a Custom Event trigger with the condition bo_chat_event equals Lead, connect a GA4 Event tag named booosted_lead to it and add bo_widget_type as a parameter. When you publish the GTM container, every successful form submission is recorded in GA4, and you can mark it as a conversion and import it into Google Ads to optimise your advertising.

Once leads show up as conversions, it is easier to increase their number systematically. Our guides to lead conversion on your website and conversion optimisation for SMEs will help you get started.

If you also want the same leads in your sales tools, you can connect them to a CRM. Read how to do it with the Zapier integration or directly with a webhook integration.

How to test that the events work

  1. Open GTM’s Preview (Tag Assistant) and go to your website.
  2. Do something in the widget: open the chat, start a conversation or submit a form.
  3. The Tag Assistant event list should show booosted_event and, under it, the correct bo_chat_event value and the other bo_ variables.
  4. When everything looks right, click Submit → Publish.

You can also open your browser’s developer console and type dataLayer: you will see the pushed events even without publishing in GTM.

Frequently asked questions

Do I need my own GTM, or does Booosted handle it?

You need your own GTM container on your website. Booosted does not manage your GTM: we only provide the events in the dataLayer, and you decide in GTM where they are sent. We are happy to help with the setup.

Do I need to edit any code?

No. The events arrive in the dataLayer automatically, and triggers, variables and tags are set up in the GTM interface without coding.

I am already a customer: does the widget need updating?

In the chatbot and sticky side button widgets, the events are updated automatically. For the in-page chatbot, popup widget and Widget Pro, fetch the embed code again from the Booosted dashboard so that the events are included. Ask your contact person if you need help.

Does Google Analytics replace Booosted’s dashboard?

No. The dashboard gives you a detailed, chatbot-specific view, with your leads ready in one place and no settings needed. GA, on the other hand, gives you the overall picture of traffic across your whole website. Sending events to GTM is an optional addition that connects the two: it does not remove anything from the dashboard.

Does this affect my current analytics?

No. If you already use the widget’s own Google Analytics tracking, it keeps working as before. The GTM events are a separate, parallel pipeline.

Can the events also be sent to Google Ads or Meta?

Yes. Once the events are in GTM, you can send them to GA4 and also, for example, to Google Ads as conversions or to Meta Pixel for ad optimisation.

What if I only want to track leads?

Limit the trigger with the condition bo_chat_event equals Lead, so that the tag only fires on successful form submissions.

More articles

Let’s see together what a chatbot would do on your website

We process your data in accordance with our privacy policy.

Would you like to ask something first? Send a message or call the office.

Helsinki

Säterintie 16
00720 Helsinki
+358 400 551 089
info@booosted.com

Tampere

Itsenäisyydenkatu 17
33500 Tampere
+358 45 203 6078
info@booosted.com