89µãÔõÃ´Íæ

Pricing
User Name
Help Center

Google Analytics: storing 89µãÔõÃ´Íæ data

Jacob Firuta
5 min read
updated: Mar 3, 2025

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 and learn more about your visitors browsing habits and make use of all the valuable data gathered.

Data usageLink icon

89µãÔõÃ´Íæ and Google Analytics integration is based on GA Events. When a visitor performs an action related to an interaction with 89µãÔõÃ´Íæ, the data is pushed to your Google Analytics account via the Analytics JavaScript.

Events are being passed with Category, Action and Label attribute – each corresponding to different information. This integration can collect the following information:

  • Automated greeting - every time a visitor is sent a greeting.
  • Rich greeting button clicked - when a visitor clicks a rich greeting button.
  • Pre-chat survey filled in - when the pre-chat form is submitted.
  • Chat - when the chat starts.
  • Ticket form filled in - when the ticket form is submitted.
  • Post-chat survey filled in - when the post-chat survey is submitted.

This integration doesn’t collect any personal data of the visitor.

Setting-upLink icon

Follow the instructions below to set-up the integration on your live chat:

  1. Go to the page and click on the Settings button.

  1. 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.

Please note - Google Analytics integration is paid after a free trial period.
Make sure you have both the 89µãÔõÃ´Íæ tracking code and Google Analytics tracking code installed on your sites in order to log all the information coming from 89µãÔõÃ´Íæ to your Google Analytics account.
Make sure you have both the 89µãÔõÃ´Íæ tracking code and Google Analytics tracking code installed on your sites in order to log all the information coming from 89µãÔõÃ´Íæ to your Google Analytics account.

Using Google Analytics with Google Tag ManagerLink icon

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 89µãÔõÃ´Íæ to properly record on-site events in Google Analytics versions 3 and 4.

Using several versions of the Google Analytics codeLink icon

If you are using several different versions of the Google Analytics code, you can let 89µãÔõÃ´Íæ know which version to use for the integration.

You can do that by adding the following parameter to your 89µãÔõÃ´Íæ tracking code:

window.__lc.ga_version

Depending on which instance of the code you want to track, you can use the following values for the parameter: "gtm | gtag". After selecting the values to track, place the additional piece of code in your 89µãÔõÃ´Íæ tracking code.

The parameters stand for:

gtm – Google Tag Manager
gtag – Global Site Tag (gtag.js)

The parameters stand for:

gtm – Google Tag Manager
gtag – Global Site Tag (gtag.js)

Here’s an example 89µãÔõÃ´Íæ tracking code with the additional parameter added:

<script type="text/javascript">
	window.__lc = window.__lc || {};
	window.__lc.license = XXXXXXX;
	window.__lc.ga_version = "gtag";

	(function() {
		var lc = document.createElement('script');
		lc.type = 'text/javascript';
		lc.async = true;
		lc.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'cdn.livechatinc.com/tracking.js';
		var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(lc, s);
	})();
</script>

Feel free to copy the example above and use it on your website – just remember to replace the XXXXXXX with your own license number!

Both your code and your license number can be found at Settings > Channel > section of your 89µãÔõÃ´Íæ.

Feel free to copy the example above and use it on your website – just remember to replace the XXXXXXX with your own license number!

Both your code and your license number can be found at Settings > Channel > section of your 89µãÔõÃ´Íæ.

How to update your universal analytics integration to GA 4Link icon

Google is replacing Universal Analytics with Google Analytics version 4. In order to keep the 89µãÔõÃ´Íæ and Google Analytics integration running, you need to make adjustments to your GA 4 settings.

First of all, please set up your Google Analytics integration with GTM. Once it’s done, proceed with the steps below:

1
Log into your Google Analytics 4 account.
2
Navigate to Admin.
3
Select Custom definitions.
4
Select Create custom dimensions.
5

Fill in the required fields respectively: Dimension name: eventAction, Event parameter: eventAction, Scope: Event, Description: Leave it empty.

6
Select Save to finish the setup.

Create two more dimensions. For the first one, replace eventAction with eventCategory:

For the second one, replace eventAction with eventLabel:

After up to 48 hours, Google Analytics integration will start displaying data correctly in your brand-new Google Analytics 4.

Was this article helpful?

Got it!

Thanks for your feedback.

Thank you!

We’re happy to help.

RELATED ARTICLES

Dropbox: sending files through chat

Live Chat for Dropbox - integrate Dropbox with Live Chat Software to create tickets from live chat. Use Dropbox Live Chat integration.

Read the article

Zendesk: SSO Login with 89µãÔõÃ´Íæ

Check the new login method for Zendesk and 89µãÔõÃ´Íæ users. This short guide will show you how to use our Zendesk integration if you are logging using SSO.

Read the article

Start using 89µãÔõÃ´ÍæÂ® now!

Free 14-day trial AI-driven features No credit card required

Still not convinced? Discover all 89µãÔõÃ´Íæ features

Discover products: