Google Analytics

Google Analytics

You can track your chatbot conversations via Google Analytics or GA4 easily in Collect.chat. This will help you understand how visitors are interacting with the chatbot. Here are the steps to push the data into Google Analytics.

Get the Tracking ID

Login to Google Analytics and choose Setup Assistant under Admin (Gear-shaped icon).

Click on the check mark next to Collect website and app data, then click on Manage data streams.

Choose your stream from the list.

Copy the Measurement ID.

Paste the Tracking ID

Go to your Dashboard > Integrate and then click Integrations to see all integration options. Choose Google Analytics. Paste the tracking ID there. It will be auto-saved.

Test Event Creation

Go to your Website. Start chatting with your chatbot a couple of times.

Real Time Events

Collect.chat creates three types of Events for every conversation. The Event Category for all three Events will be the unique ID of the chatbot.

The Event Action for these three are:

  1. CollectChatView This event is triggered whenever the chatbot is loaded on the page. This event is triggered without particular user action, and hence it will be recorded as a non interaction event.

  2. CollectChatStart - This event is triggered when the conversation begins.

  3. CollectChatComplete - This event is triggered when the conversation ends completely.

On your Google Analytics Dashboard, go to Reports Realtime to see these events live as you are testing.

Track the Events

The details of all the Events can be found under BEHAVIOUR > Events. You can use these Events to create Goals in Google Analytics. This can help you to track conversions. Read this guide from Google Analytics to learn how to set up Goals.



Still need help?

Contact us

Integration