AgentX Support - Integrate with Google Analytics

You can integrate the AgentX Support chat widget with Google Analytics 4 (GA4) to track user interactions and events within the AI agent. This allows you to use your existing GA4 property to monitor and analyze how users engage with the AI agent.

GOOGLE ANALYTICS 4 REQUIRED

This feature requires Google Analytics 4.

Complete the following steps to enable the integration:

1

Select your AI agent.

2

Go to Settings > Features and expand the Widget Settings section.

3

Fill in the Google Analytics Tracking ID field.

Enter the Google Analytics Tracking IDEnter the Google Analytics Tracking ID

4

Click Save.

Events tracked

The following events are automatically sent to your connected Google Analytics property:

Event nameEvent labelDescription
Open BotFired when the user clicks the chat bubble to open the agent.
Setting ClickedFired when the user clicks the settings icon.
Minimize BotFired when the user minimizes the AI agent.
Close BotFired when the user closes the AI agent.
Close PreviewFired when the user closes the bubble preview text.
User ClickedButton TextFired when the user clicks a quick reply button.
Enlarge ImageFired when the user clicks to enlarge an image.
Confirm End ChatFired when the user confirms ending the chat.
Continue ChatFired when the user clicks to continue the chat.
Download TranscriptFired when the user clicks Download Transcript.
Input SubmittedUser Input TextFired when the user submits a message in the chat.

View events in Google Analytics

After you add the Google Analytics Tracking ID to the AI agent configuration, these events appear in your Google Analytics reports. Use these events to filter and segment sessions or create custom dashboards and funnels.

AI agent events in GAExample of event tracking in GA4

Last updated: