Tracking Engagement with GA4 in Myma Web Widget
Myma allows you to connect your Google Analytics 4 (GA4) Measurement ID to the Web Widget, enabling you to track how users interact with your chatbot. This helps you understand engagement, optimise user journeys, and measure the impact of Myma on end to end guest journey on your website and booking engine.
What You Can Track
Once GA4 is enabled, Myma automatically sends key interaction events, i.e.:
Avatar Clicks
Track when users open the chatbot by clicking on the avatar icon on your website.
Menu Clicks
Measure interactions with menu items within the web widget.
Chat Engagement
Capture chat start when user sends a message to ask a question.
These insights help you understand how users engage with the widget.
How to Enable GA4 Tracking
Log in to https://app.myma.ai
Go to Settings → Channels → Connected Channels
Locate and open the Property or Group Web Widget that you want to track
Locate the Google Analytics (GA4) section
Toggle Google Analytics Tracking to enable
Enter your GA4 Measurement ID (e.g.
G-XXXXXXXXXX)Toggle the events you want to track and change event names if you prefer
Save your settings
Once enabled, events will start flowing into your GA4 property.
Where to View Data in GA4
You can access these events in:
Reports → Engagement → Events
Realtime Dashboard (for live interactions)
Look for events starting with chat_ such as:
chat_avatar_click(avatar clicks)chat_menu_events(menu item clicked)chat_started(user sends a message)
Tracking the Full User Journey (Website & Booking Engine)
With GA4 integration it enables you to track the complete user journey from chatbot interaction through to website activity and booking. When users engage with the Myma Web Widget, their actions (e.g. chat opens, menu clicks) are captured within the same session as their website and booking behaviour. This allows you to analyse how chatbot interactions influence navigation, identify drop-offs, and measure assisted conversions. For best results, ensure GA4 is implemented across both your website and booking engine, with consistent tracking parameters and conversion events configured.
Measuring URL Clicks
Any URL redirect from Myma to a property's website can be tracked with Google Analytics UTM tags.
What is a UTM code:
A UTM (Urchin Tracking Module) code is a snippet of text added to the end of a URL to track the metrics and performance of a specific digital marketing campaign. UTM codes can contain up to five parameters: Campaign, source, medium, content, and term. UTM codes are also known as UTM parameters — or tracking tags.
UTM tags help you with better tracking and more accurate attribution inside Google Analytics.
How Myma.ai Chatbot uses UTM code
During the Chatbot conversation, a number of links are presented to the customer e.g. to your restaurant booking page, or to a membership page, etc. Myma.ai and Google Analytics integration is based on UTM tags.
When a user clicks any link inside the Chatbot, the UTM tags are added to the link, allowing the analytics to be stored and tracked in Google Analytics.
Setup
Log in to https://app.myma.ai and follow these steps:
Go to Connect → Applications → Available Applications, and click on Google Analytics
Give any name for you to refer to, and add the UTM Source and UTM Medium that you want to be sent with every URL click from Myma.ai Chatbot.
UTM Source tells you where the traffic is coming from, so give a name like Myma.
UTM Medium is the general channel the traffic comes from, so give a name like Chatbot.
Click on Create New Integration
And that's it — you have custom tracking codes set up and running in no time!



