Google Analytics: storing LiveChat data
Using our Google Analytics integration, you can easily collect live chat related data and log it in on your Google Analytics account.
Give it a go to learn more about your visitors browsing habits and make use of all the valuable data gathered.
Events are being passed with Category, Action and Label attributes – each corresponding to different information. This integration can collect the following information:
- the number of sent automated greetings
- the number of displayed pre-chat surveys
- the amount of chats you had
- how many post-chat surveys were displayed
- the number of ticket form views
This integration doesn’t collect any personal data of the visitor.
Follow the instructions below to set-up the integration on your live chat:
- Go to the Google Analytics integration page and click on the Install application button.
- Proceed by clicking on Install.
- You will get a notification that the app was installed successfully.
From now on, the aforementioned information will be tracked in your Google Analytics as events.
Using Google Analytics with Google Tag Manager
If you plan to use the Google Tag Manager integration, you need to configure a couple of additional settings to make sure that various events are recorded correctly.
Learn how to integrate your Google Tag Manager with LiveChat to properly record on-site events.
Using several versions of the Google Analytics code
If you are using several different versions of the Google Analytics code, you can let LiveChat know which version to use for the integration.
You can do that by adding the following parameter to your LiveChat tracking code:
Depending on which instance of the code you want to track, you can use the following values for the parameter:
"pageTracker | urchinTracker | gtm | gaq | ga". After selecting the values to track, place the additional piece of code in your LiveChat tracking code.
gtm – Google Tag Manager
gaq – ‘traditional’ asynchronous code for Google Analytics
ga – Universal Analytics
Here’s an example LiveChat tracking code with the additional parameter added: