Here is how you can track the AI Assistant events, such as widget loading, messages, searches, and clicks, using Google Analytics.
To see the Eddy AI Assistant events in your Google Analytics account you need to:
1. Have the Google Analytics tracking already installed on your website (installation guide).
2. Purchase the Premium plan or Support Automation plan.
3. Add an additional event tracking script into the <head> section of your website.
Testing the integration
To test if the integration is working correctly:
1. Open the “Realtime” dashboard in Google Analytics and select “Events” on the left side of the screen.
2. Open your website where you have the AI Assistant installed.
3. Open the chat widget and send a message to the AI Assistant.
4. Return to Google Analytics and check the “Realtime” dashboard again – you should see several events under the Eddy AI Assistant category.
We will send the following events to Google Analytics automatically:
|Eddy AI Assistant||Chat Widget Loaded||Chat Widget Loaded|
|Eddy AI Assistant||Chat Widget Opened||Chat Widget Opened|
|Eddy AI Assistant||Chat Widget Closed||Chat Widget Closed|
|Eddy AI Assistant||Clicked on Preview||Clicked on Preview|
|Eddy AI Assistant||Preview Closed||Preview Closed|
|Eddy AI Assistant||Sent Message||Sent Message | Text Message|
|Eddy AI Assistant||Sent Message||Sent Message | Quick Reply | label|
|Eddy AI Assistant||Clicked on Card||card_title | button_title|
|Eddy AI Assistant||Received Flight Offers||departure_location to destination_location | departure_date to return_date|
|Eddy AI Assistant||Clicked on Flight Offer||departure_location to destination_location | departure_date to return_date | Total Price: currency price | Passengers: adult_passengers | Class: cabin_class|
|Eddy AI Assistant||Received Accommodation Offers||location | check_in_date to check_out_date|
|Eddy AI Assistant||Clicked on Accommodation Offer||location | check_in_date to check_out_date | Total Price: currency total_price | Type: accommodation_type | Rooms: rooms | Stars: stars|
|Eddy AI Assistant||Received Activity Offers||location|
|Eddy AI Assistant||Clicked on Activity Offer||location | title | Total Price: currency price|
|Eddy AI Assistant||Received Car Rental Offers||pick_up_location to drop_off_location | pick_up_time to drop_off_time|
|Eddy AI Assistant||Clicked on Car Rental Offer||pick_up_location to drop_off_location | pick_up_time to drop_off_time | Total Price: currency total_price | Vehicle: vehicle|
|Eddy AI Assistant||Clicked on Message Link||URL|
I need more help
If you have any additional questions or comments, please send an email to firstname.lastname@example.org. We are happy to help!