Google Analytics
Setup UTM parameters and onsite events.
Overview
Integrating ON with your Google Analytics enables the Customer Success Team to enhance your AI chat experience. By utilizing UTM parameters and onsite event data, we can assess the chatbot's impact on user engagement and revenue.
Granting Access
To grant ON access to your Google Analytics, please use the following email: on-reports@onplatform.com.
This secure Google email will provide the ON Customer Success team with visibility into event tracking.
If you have any questions, please reach out to your Customer Success Manager.
UTM Paramater Configuration
Use UTM parameters to track URL click-throughs from the chatbot. This helps measure the revenue impact driven by your ON chatbot.
Urchin Tracking Module (UTM) parameters are text strings appended to URLs that allow marketers to track the effectiveness of online marketing campaigns across traffic sources and publishing media.
Examples
utm_source=chat
utm_medium=onplatform
Event Tracking Configuration
ON’s chatbot emits JavaScript events to track various user interactions within the chat. These events can also be used by your development team to pass event data into their analytics instance if your brand is not utilizing Google Tag Manager. See the below table for a detailed list of these events.
Note: all below events are beneficial to obtaining more in-depth analytics around your brand bot. However, the following core events are necessary and key for launch:
on-chat-widget-open
on-client-send-message
on-chat-message-quick-reply-click
on-chat-widget-close
on-chat-widget-open
null
Triggered when the chat widget is opened.
on-client-send-message
{
message: string
}
Dispatched when a message is sent to the bot and contains the utterance string of the message.
on-chat-message-quick-reply-click
{
value: string;
}
Triggered when a quick reply is selected. Followed by a message send event.
on-chat-card-link-click
{
cta: string;
href: string;
label: string;
}
Dispatched when the user clicks a link card within a carousel and includes the link card button CTA, the link target, and the label.
on-chat-input-change
{
value: string;
}
Fired with each keystroke in the input field.
on-chat-input-submit
{
value: string;
}
Dispatched when a message is submitted via input box.
on-chat-media-image-loaded
null
Dispatched when a chat image finishes loading.
on-chat-widget-close
null
Triggered when the chat widget is closed.
Google Tag Manager Implementation Examples
Included below are example implementations to get started.
Last updated