Block Integrations
How to integrate your Agent with Google Analytics
Track Google Analytics events and conversions within your chatbot flow.
The Analytics integration block allows you to track Google Analytics events at specific moments in your flow.
How the Google Analytics Block Works
When you include a Google Analytics block in your flow, it performs the following actions:
- Initialize GA: Tracks a “Page view” event upon page load.
- Track Events: Executes the specified event when the block is triggered.
Example: Google Analytics Block Configuration
Property | Value |
---|---|
Tracking ID | G-12345 |
Event Category | Agent Dialog |
Event Action | User Lead |
Tracking Conversions with Google Ads
You can use the Google Analytics block to track conversion events for Google Ads. Configure the block with the following properties:
- Event action:
conversion
- Send to:
<YOUR_AW_ID>
- Value (optional): Specify a numerical value to quantify the conversion.
Note: Replace
<YOUR_AW_ID>
with your actual Google Ads conversion ID.
Troubleshooting
To debug and monitor your Google Analytics events:
- Install the Google Analytics Debugger extension in your browser.
- Use the extension to inspect the data being sent to Google Analytics.